cancel
Showing results for 
Search instead for 
Did you mean: 

Command line restore with bprestore

bkup_sp
Level 2
Partner Accredited

 

 

Master server : solaris with nbu 7.5.0.4

Client : solaris with nbu 7.5.0.4

I am trying to restore numerous files in the root of each directory but to exclude subfolders of these folders to a different location on the same client and using the command below

/usr/openv/netbackup/bin/bprestore -C <client_name> -t <policy_type> /dir !/dir/dir1/dir2

The restore will then be displayed on the GUI as queued and will remain in that state while the resources (drives and tapes) are available. If i use the same command without exclusion, the restore will complete successfully.

Any help will be appreciated
 

2 REPLIES 2

Will_Restore
Level 6

try listfile method, for example:  bprestore  -f /tmp/listfile


(contents of /tmp/listfile)

4 /etc

12 !/etc/passwd


 

(the number is count of characters in the path)

Will_Restore
Level 6

any luck with this, bkup_sp ?