Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Command line restore with bprestore

Created: 12 Sep 2013 | 2 comments

 

 

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
 

Operating Systems:

Comments 2 CommentsJump to latest comment

Will Restore's picture

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 -- where there is a Will there is a way

Will Restore's picture

any luck with this, bkup_sp ?

Will Restore -- where there is a Will there is a way