03-05-2009 09:29 AM
Hi
I have an owner of 2 servers who would like a log of all the files backed up by a backup of an area of 2 of his servers. These backups have their own backup policies. He needs this for his own internal audit process. It can be in the form of an e-mail on completion of the backup or as a flat file somewhere on the server.
My Netbackup master is v6.5.2a on Solaris 10.
The clients are Solaris 9 running the 6.5.2 client and an older DEC UNIX box running the 4.5 version of the client.
The standard e-mail function in host properties does not give enough information. Idealy I need a list of every file and folder that would appear in the restore GUI.
Many thanks in advance
John
03-05-2009 10:05 AM
Configure the client to do verbose logging (5) and create the /usr/openv/netbackup/log/bpbkar log directory. When you run the backup, the details of the files should be logged in the bpbkar log.
You will have to write a script to post process the file to clean up the file paths, but it should provide more detail then what you are currently getting.
Regards,
Benjamin Schmaus
03-05-2009 09:37 PM
You can use bplist command to get the list of files backedup, this will give all details of files backedup same as BAR Window.
Just use this command to filter one based on the date and save that information to anywhere locally on the master server itself.
Make Blat to trigger mails with that output file attached and schedule the same daily !
This mail will give the details of files backedup.
Hope this will be helpful !
03-06-2009 02:58 AM
Hi, this looks helpful, thanks!
03-06-2009 06:27 AM
bperror -jobid <jobid> -hoursago 24 -columns 300 | grep "handling path"
03-08-2009 03:13 AM
But My Solution not yet accepted. :(
03-13-2009 12:37 PM
bpflist -backupid <backupid> -rl 999
If you know the backup id, which is in the job output you can run the above command and email it out to the client as often as needed.
A backupid is the concatenation of the the name of the backup client as found in the activity monitor or output from bpdbjobs an "_" and the start time of the job as a unix time stamp. It would look like "clientname_1236966503".
Good luck