cancel
Showing results for 
Search instead for 
Did you mean: 

Nothing in /opt/bmc is being backed up

DoubleP
Level 5

An interesting mystery. We're backing up a few different linux servers that are hosting bmc's atrium orchestrator.

When we attempt to backup /opt/bmc, we end up backing up only 32 KB (constantly); but if we go to restore from the backup, it shows / , but nothing is backed up. No errors:

Jun 26, 2019 9:00:05 AM - started process bpbrm (pid=318762)

Jun 26, 2019 9:00:06 AM - Info bpbrm (pid=318762).com is the host to backup data from

Jun 26, 2019 9:00:06 AM - Info bpbrm (pid=318762) reading file list for client

Jun 26, 2019 9:00:06 AM - connecting

Jun 26, 2019 9:00:07 AM - Info bpbrm (pid=318762) starting bpbkar on client

Jun 26, 2019 9:00:07 AM - Info bpbkar (pid=38345) Backup started

Jun 26, 2019 9:00:07 AM - Info bpbrm (pid=318762) bptm pid: 318826

Jun 26, 2019 9:00:07 AM - connected; connect time: 0:00:00

Jun 26, 2019 9:00:07 AM - Info bptm (pid=318826) start

Jun 26, 2019 9:00:08 AM - Info bptm (pid=318826) using 262144 data buffer size

Jun 26, 2019 9:00:08 AM - Info bptm (pid=318826) using 30 data buffers

Jun 26, 2019 9:00:11 AM - Info bptm (pid=318826) start backup

Jun 26, 2019 9:00:13 AM - Info bptm (pid=318826) backup child process is pid 318868

Jun 26, 2019 9:00:13 AM - Info bptm (pid=318826) waited for full buffer 0 times, delayed 0 times

Jun 26, 2019 9:00:13 AM - begin writing

Jun 26, 2019 9:00:17 AM - Info bptm (pid=318826) EXITING with status 0 <----------

Jun 26, 2019 9:00:17 AM - Info  (pid=318826) StorageServer=PureDisk:; Report=PDDO Stats for (b:scanned: 44 KB, CR sent: 1 KB, CR sent over FC: 0 KB, dedup: 97.7%, cache disabled

Jun 26, 2019 9:00:17 AM - Info bpbrm (pid=318762) validating image for client .com

Jun 26, 2019 9:00:18 AM - Info bpbkar (pid=38345) done. status: 0: the requested operation was successfully completed

Jun 26, 2019 9:00:18 AM - end writing; write time: 0:00:05

the requested operation was successfully completed  (0)

 

So, I tried just backing up /opt; this time we get over 2,000,000 kb.

 

Jun 26, 2019 9:00:06 AM - Info bpbrm (pid=318762).com is the host to backup data fromJun 26, 2019 9:00:06 AM - Info bpbrm (pid=318762) reading file list for clientJun 26, 2019 9:00:06 AM - connectingJun 26, 2019 9:00:07 AM - Info bpbrm (pid=318762) starting bpbkar on clientJun 26, 2019 9:00:07 AM - Info bpbkar (pid=38345) Backup startedJun 26, 2019 9:00:07 AM - Info bpbrm (pid=318762) bptm pid: 318826Jun 26, 2019 9:00:07 AM - connected; connect time: 0:00:00Jun 26, 2019 9:00:07 AM - Info bptm (pid=318826) startJun 26, 2019 9:00:08 AM - Info bptm (pid=318826) using 262144 data buffer sizeJun 26, 2019 9:00:08 AM - Info bptm (pid=318826) using 30 data buffersJun 26, 2019 9:00:11 AM - Info bptm (pid=318826) start backupJun 26, 2019 9:00:13 AM - Info bptm (pid=318826) backup child process is pid 318868Jun 26, 2019 9:00:13 AM - Info bptm (pid=318826) waited for full buffer 0 times, delayed 0 timesJun 26, 2019 9:00:13 AM - begin writingJun 26, 2019 9:00:17 AM - Info bptm (pid=318826) EXITING with status 0 <---------- -; Report=PDDO Stats for (): scanned: 44 KB, CR sent: 1 KB, CR sent over FC: 0 KB, dedup: 97.7%, cache disabledJun 26, 2019 9:00:17 AM - Info bpbrm (pid=318762) validating image for client baoapprw1t.paychex.comJun 26, 2019 9:00:18 AM - Info bpbkar (pid=38345) done. status: 0: the requested operation was successfully completedJun 26, 2019 9:00:18 AM - end writing; write time: 0:00:05the requested operation was successfully completed  (0)

After the backup completes, I'll set up to restore /opt/bmc. Sub-dirs other than /bmc in /opt have data. /bmc is blank. The owner of the app sees many files in in /bmc. We asked him about permissions: 

"The only thing that stands out is that /opt/bmc is owned by itopauto and the rest of /opt is mostly owned by root. However, the group for both is root, and permissions are set to give everyone full access to /opt/bmc itself. Going down a level to the contents of /opt/bmc, the owner is still itopauto (save one that is root/root), but the group is users. However, everyone should still have read access to the contents. Subdirectories below this level appear to be pretty much the same as well. The only exception is /opt/bmc/AtriumSSO, which has more restrictive permissions (full access to itopauto, no access to group or other). Based on this, I would expect NetBackup to at least be able to see one more level inside of /opt/bmc."

Any ideas? I did a search, but didn't find anything that appeared similar.

 

1 ACCEPTED SOLUTION

Accepted Solutions

DoubleP
Level 5

Foreman/puppet was  excluding /opt/bmc in the backups for all clients. An exclusion (for the exclusions) had to be added to the source coding in puppet so that these particular clients would have that path backed up.

View solution in original post

7 REPLIES 7

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Have you checked if there is exclude_list on the client?

Do you have bpbkar log folder on the client? 

Please ensure that bpbkar log folder exists, increase logging level on client to 1, then try another backup of /opt/bmc.

Please copy the log in bpbkar folder to bpbkar.txt and upload here. 
If you want to mask customer info, please replace hostnames with generic names, e.g. client1, media1, etc. 
Replace IP addresses with 10.1.1.1, etc.

bpbkar log will tell us why contents is getting skipped. 

Marriane

It appears that on the client, the bpbkar folder doesn't exist. Since we don't have access to most linux clients, I'll see if the owner can run the usr/openv/netbackup/logs/mklogdir command to create the folders and the take care of the logging.

Two suggestions:

1. Is /opt/bmc a symbolic link to somewhere else?
2. Is /opt/bmc a separate mounted file system? (this is less likely based on your OP that you are backing up /opt/bmc, but worth checking). 

Cheers

Nicolai
Moderator
Moderator
Partner    VIP   

I am with David

please do a ls -l /opt/bmc and df -h /opt/bmc and show us the output from the commands.

Also run the bpmount command, and show the output from the command. If /opt/bmc is a seperate file system, bpmount will show. 

DoubleP
Level 5

Foreman/puppet was  excluding /opt/bmc in the backups for all clients. An exclusion (for the exclusions) had to be added to the source coding in puppet so that these particular clients would have that path backed up.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
@DoubleP
Looking back at your reply of ‎06-26-2019, I have only one word....
Really?

@Marianne , sort of an anti-climatic solution.