Please enter search query.
Search <product_name> all support & community content...
Article: 100016507
Last Published: 2020-03-23
Ratings: 0 4
Product(s): NetBackup & Alta Data Protection
Problem
How to use the bprestore command to redirect a restore to an alternate path on the clientSolution
To restore data to an alternate path on the same client, you must create a rename file and then use the rename file in the
1. Create a rename file.
Use the following form for the entries in the rename file:
The file paths must start with / (slash).
For example, the following entry in the rename file named /home/admin/rename will restore /usr/Dir1 to /usr/Dir2.
bprestore
command.
1. Create a rename file.
Use the following form for the entries in the rename file:
change backup_filepath to restore_filepath
The file paths must start with / (slash).
For example, the following entry in the rename file named /home/admin/rename will restore /usr/Dir1 to /usr/Dir2.
change /usr/Dir1 to /usr/Dir2
After the line add a carriage return. If a carriage return is not added after the change line, the line is ignored.
2. The syntax for the
bprestore
command.
/usr/openv/netbackup/bin/bprestore -l -R rename_file filenames
For example, the following command will restore directories and files under /usr/Dir1 to /usr/Dir2.
/usr/openv/netbackup/bin/bprestore -l -R /home/admin/rename /usr/Dir1
The
-l
specifies that all UNIX hard and soft links be changed.