Varma_Chiluvuri
13 years agoLevel 5
bprestore command for restoring archive files
I need to restore 2 archive files on client from master server using bprestore command.
For Example, consider the following
Client Server Name: Client1
Master Server NAme : Master1
Files : x1, x2.
Can someone help me to restore x1 and x2 files on client1 from the master server.
** Credit to Marianne for pointing out I missed the -A ... **
bprestore -A -C <client name> </path/filename>
Example
root@womble testdata $ lsfile2 file3 file4 incre_backup /testdata2root@womble testdata $ bprestore -C womble /netbackup/testdata/file1root@womble testdata $ lsfile1 file2 file3 file4 incre_backup testdata2This will restore the last version of these files backed up. If you want one from an earlier backup add ...
-s date, -e dateSpecifies the start and the end date range for thelisting. The bprestore command restores only files frombackups or the archives that occurred within thespecified start and end date range.-s specifies a start date and time for the restorewindow. bprestore restores files only from the backupsor the archives that occurred at or after the specifieddate and time.The valid range of dates is from 01/01/1970 00:00:00 to01/19/2038 03:14:07. The default start date is01/01/1970 00:00:00so -s 06/25/2012 00:00:00 -e 06/25/2012 23:59:59 would restore from a backup taken between these two times
martin