How to perform an alternate path restore to a Network Data Management Protocol server using command line

Article: 100016087
Last Published: 2013-10-23
Ratings: 0 1
Product(s): NetBackup

Problem

How to perform an alternate path restore to a Network Data Management Protocol server using command line

Solution

Use the bprestore command as follows:
/openv/netbackup/bin/bprestore  -l -R <changefile>  -L <restore log> -C <source client> -D <destination client> -t <policy type> -s <start date>  -e <end date> <listfile>

Example:
bprestore  -l -R /tmp/changefile  -L /tmp/restore.log  -C filer -D filer -t 19 -s 08/19/2016 06:00:00 -e 3/20/2016 13:00:00 /vol/vol0/test/

1. The contents of the changefile are at <change /vol/vol0/test to /vol/vol1/new>.
2. The destination directory " /new" will be created if it does not exist.
3. Individual file restores work as well.
 
 

 

Was this content helpful?