Restoring specific files from multiple backups from a specific server
We are running NetBackup 7.5.0.3 on Windows Enterprise Server 2008 R2. I have multiple files that I need restored that are all from a specific server, but are all in different folders from different days. All of the files will be of the same filename, with a date vairable. In other words, all the file names will follow this format;
YYYY-MM-DD_188785-1274242.pdf.gzip
The fles are all from the same server, but are in different folders. Here is an example of what it may look like
/BACKUP/2005-06-03/2005-06-03_188785-1274242.pdf.gzip
/BACKUP/2005-07-05/2005-07-05_188785-1274242.pdf.gzip
If the file was created on the same day every month, it would not be that big an issue, I could hunt and peck for the 100 or so files I need, but it can vary by +/- four days every month.
What I would like to know is if it is possible to write some sort of script that could go out and find all backup images of the specific server and restore all files that fit this variable 2005-??-??_188785-1274242.pdf.gzip
If you'd rather use the GUI, you could always *try* to use the search functionality within the BAR GUI.
- Highlight the required backups within the "NetBackup History" window.
- 'Contract' the "All Folders" window so only the client name is showing.
- Click on the 'Binoculars' to open the "Search Backups" window.
- Replace 'Search Folder:' entry with 2005-*_188785-1274242.pdf.gzip (or similar wildcard entry)
- The "All Folders" window *should* now expand to show the folders that contain any matches