cancel
Showing results for 
Search instead for 
Did you mean: 

bprestore script to restore many files in different paths

santave
Level 4

Hi,

My Master/Media/Client : Redhat Linux 6.1, 64bit, NBU 7.5.0.6
I use bprestore script as listed at http://www.symantec.com/connect/forums/need-help-nbrestore-command-line-ms-windows

The example files to be restore have path structure as below :
/test/prod/abc/14/01/00983062_14.0_REG.dat
/test/prod/abc/14/02/00981068_14.0_REG.dat
/test/prod/abc/14/05/00986061_14.0_REG.dat
/test/prod/abc/15/07/00989066_14.0_REG.dat
/test/prod/abc/15/08/00981063_14.0_REG.dat
Note: in each path above, there are others files which i dont want to restore (I Just pick 1 file on each path)
 

Question:
1. FILELIST=/tmp/res/filelist
in Filelist, Shoula I listed all files name with full path? How can I put filename pattern only like this,
*0098306*
*0098106*
*0098606*
*0098906*
*0098106*

2. RENAMEFILE=/tmp/res/alt_restore
I want to restore to diff path at /new/restore
What would be the script alt_restore file?

Thanks,

Ifan
 

 

1 REPLY 1

Nicolai
Moderator
Moderator
Partner    VIP   

1: All files should have the full path - you can't use regular expressions like * and ?

2: see : http://www.symantec.com/docs/TECH34216