08-05-2013 08:39 PM
Hi,
Is there a way of easily show all files that has been backed up onto a defined tape?
I've search but can't find a good way of doing this.
Is ther a log file that will show all files? or is there an option to turn that on?
This is for "validation" purposes only and we could disable this log when done.
-Roland
Solved! Go to Solution.
08-05-2013 09:44 PM
now the only option that you left is with the bplist commnad..
you might need to use or mix different commands to get the required output. or you can use them in script..
bpimagelist or bpimmedia to get the image info from the media and bplist to get the file list.
08-05-2013 08:56 PM
yes its possible...
/usr/openv/netbackup/bin/admincmd/bpmedialist -U -mcontents -ev <media id>
you can also get this form GUI---> Reports--Media contents
08-05-2013 09:08 PM
you can also get this form GUI---> Reports--Media contents
I don't see Media contents !!
I got a Tape Contents which I ran for 2 hours!! but that only listed all the filenumber and backup id's, no files.
I give the bpmedialist a try.
08-05-2013 09:38 PM
Hi,
It seems that the bpmedialist does the same as the "Tape Contents" report, no files.
media id = DLT003, allocated 07/31/2013 01:14, retention level = 10
File number 1
Backup id = papp01-lh_1375197242
Creation date = 07/31/2013 01:14
Expiration date = 08/28/2013 01:14
Retention level = 10
Copy number = 1
Fragment number = 9
Block size (in bytes) = 65536
- Roland
08-05-2013 09:44 PM
now the only option that you left is with the bplist commnad..
you might need to use or mix different commands to get the required output. or you can use them in script..
bpimagelist or bpimmedia to get the image info from the media and bplist to get the file list.
08-05-2013 11:46 PM
Unless I am blind (quite possible) I don't see an option in bplist to specify a media id.
As Nagalla explains, you can get the image ids on a tape via say bpimmedia, and then bplist to get the files in this image. However, if the image spans across multiple tapes, you cannot see if an individual file is on tape1, or tape2 ....
Martin
08-06-2013 12:25 AM
I think you can do what you want if combine bpmedialist with bpflist
How to list files backed up using the bplist or bpflist command
http://www.symantec.com/docs/TECH145113
However bpflist is a little triggy to use - so here are some examples of mine
http://www.mass.dk/netbackup/quick-hints/64-bpflist.html
08-06-2013 05:08 PM
Hi,
Thanks all,
bplist did the trick after some trial and error.
root@master:/usr/openv/netbackup/bin# ./bplist -C oracle-lh -l -s 08/05/2013 00:00:00 -e 08/05/2013 23:00:00 -R 99 /backup/oracle/*
Now I got another question after my findings.
I create a new thread for that.
"Incremental backup misses some files."
https://www-secure.symantec.com/connect/forums/incremental-backup-misses-some-files
- Roland
08-06-2013 05:14 PM
Hi,
Actually I needed the backups from a specific date/time rather than tape ID.
In my case they are the same anyway, I only use 1 tape/day.
I used bpdbjobs to see wich tape a particluar policy is written to.
- Roland