07-12-2011 11:28 PM
Dear experts,
Suddenly there is a requirment that i need to restore a specific file from a backup in commendline.If is there any single command to meet the requirment?
waiting for valuable rply.
thanking you
samik
07-12-2011 11:50 PM
Various options depending on your exact requirements. From the man page:
SYNOPSIS
/usr/openv/netbackup/bin/bprestore [-A | -B] [-drs] [-F
file_options] [-K] [-l | -H | -y] [-r] [-T] [-L
progress_log [-en]] [-R rename_file] [-C client] [-D
client] [-S master_server] [-t policy_type] [-p policy]
[-s date] [-e date] [-w [hh:mm:ss]] [-k
"keyword_phrase"] -f listfile | filenames [-cm] [-drs]
[-md] [-td temp_dir] [-spsredir_server hostname] [-BR
portal_name | teamsite_name] [copy -x]
A couple of examples of what you can achieve:
How to restore files from the command line using the bprestore command
http://www.symantec.com/business/support/index?page=content&id=TECH143238
How to run bprestore from the command line to restore information to an alternate path and/or client
http://www.symantec.com/business/support/index?page=content&id=TECH21196
07-13-2011 01:06 AM
Hi Budy,
You can restor from Master server by using "BP" command..
NetBackup 6.5
Master Server: Master.com
Client: client.com
Main Menu
---- ----
b) Backup...
r) Restore...
h) Help
q) Quit
ENTER CHOICE:
By using above command line menu, you can restore required files..
07-13-2011 01:08 AM
Updating the path now.
pwd
/usr/openv/netbackup/bin/bp
07-13-2011 03:40 AM
Interesting, does is works in Windows master? because i didnt notice the directory "bp" in the install path.
07-13-2011 04:18 AM
Same with bpadm .....