05-14-2014 11:07 PM
hi all:
I was backup some file from my file server a long times ago.now,my tape library slots full,so i want check out some media volume,and keep some other in the tape library,but i don't know how to find that volume.
For example ,i backup a file ,it's name /home/abc.txt,i forget when i was backuped it.how to find which volume contains this file?
Solved! Go to Solution.
05-16-2014 09:13 PM
You need to know more or less when this backup was taken.
You can use the BAR GUI to select the client name, policy type and date range.
Browse the folders in the backup results until you find the file name.
Use the 'Preview Media' button to see the media id.
From cmd, you can use this command:
bpimagelist -client <client-name> -d <start-date> -e <end-date> -media -U
You can add more parameters to narrow it down, such as:
-pt <policy_type>
-policy <policy_name>
Format for start and end-date is mm/dd/yyyy
PS:
Please always select or tell us which OS. It helps us to provide the path to commands and to have an idea of which GUI you may be using.
05-16-2014 09:13 PM
You need to know more or less when this backup was taken.
You can use the BAR GUI to select the client name, policy type and date range.
Browse the folders in the backup results until you find the file name.
Use the 'Preview Media' button to see the media id.
From cmd, you can use this command:
bpimagelist -client <client-name> -d <start-date> -e <end-date> -media -U
You can add more parameters to narrow it down, such as:
-pt <policy_type>
-policy <policy_name>
Format for start and end-date is mm/dd/yyyy
PS:
Please always select or tell us which OS. It helps us to provide the path to commands and to have an idea of which GUI you may be using.
05-17-2014 05:34 AM
Marianne,thank you for your help ~!
but i want know ,how to find media id from filename ? If i forget when i was backuped this file,how to find it in command?
bpimagelist print a lot of media,i don't know which volume contains the file.
05-22-2014 04:23 AM
The way that NBU indexes images is firstly by Client name, then by date.
So, you really need a client name and some sort of time frame. Monthly or Weekly Full backups are normally good candidates.
Use the GUI to browse.
Once you have found the file you are looking for, have a look at the date that the backup was taken.
Then use the bpimagelist command above with start and end date as the same date of the backup.
If the file is on a large fileserver and the backup spanned a couple of tapes, you will receive a list of all tapes that were used for that particular backup.
You will need to put all tapes in the robot.
Only when NBU needs to skip to the specific image fragment will you see the actual tape number containing that file, and NBU will request the tape mount.
Also see if this helps to find a file name: https://www-secure.symantec.com/connect/forums/searching-file-catalog