gimmegimmenothi
11 years agoLevel 2
run bprestore command line specify different restore path or folder
I cannot seem to figure out how to restore a folder that is getting backed up, to a different path
other than the original.
netbackup is making backups of /home/dir1/
this command works fine, rest...
- 11 years ago
You create a text file that we call a 'rename-file' that contains the source and destination folder, then add the filename to bprestore command with -R option.
See example in this TN: http://www.symantec.com/docs/HOWTO43687
On UNIX and Linux systems: For example, the following entry renames
/usr/fred
to/usr/fred2
:change /usr/fred to /usr/fred2
So, if you create text file in /tmp called rename, and add the following in the file:
change /home/dir1 to /home/tmp
your command will look like this:
/usr/openv/netbackup/bin/bprestore -L /tmp/restore.log -R /tmp/rename /home/dir1