Forum Discussion

nbuno's avatar
nbuno
Level 6
12 years ago
Solved

Bprestore Problem

Hi Guys,

 

/usr/openv/netbackup/bin/bprestore -B -C clientx -D clientx -L /tmp/testdir/file1 -t 0 -s 01/01/2013 00:00:00 -e 09/01/2013 00:00:00 -f /tmp/testdir/filelist1.txt  -R /tmp/testdir/rename1.txt

[user@clientx]$ more /tmp/testdir/filelist1.txt
/tmp/snapvault.sh
/tmp/uptime.csv

[user@clientx]$ more /tmp/testdir/rename1.txt
change /tmp to /tmp/testdir/

i am runnning this from master server CLI but couldn't get it work.Here is the error iam getting :

Invalid line length in line:
EXIT STATUS 144: invalid command usage

 

I cross checked the restore from GUI and it is working like charm but from CLI it is failing..Any clues where i am mistaken ?

 


 

 

  • Try switching around the the file list and rename file options:
     
    /usr/openv/netbackup/bin/bprestore -B -C clientx -D clientx -L /tmp/testdir/file1 -t 0 -s 01/01/2013 00:00:00 -e 09/01/2013 00:00:00  -R /tmp/testdir/rename1.txt -f /tmp/testdir/filelist1.txt 
     
    Sometimes the order of qualifiers have a impact

2 Replies

  • 1) check if the files /tmp/testdir/filelist1.txt & /tmp/testdir/rename1.txt have the blank lines.. they should not have the blank lines, if you find any remove the blank lines

     

     

  • Try switching around the the file list and rename file options:
     
    /usr/openv/netbackup/bin/bprestore -B -C clientx -D clientx -L /tmp/testdir/file1 -t 0 -s 01/01/2013 00:00:00 -e 09/01/2013 00:00:00  -R /tmp/testdir/rename1.txt -f /tmp/testdir/filelist1.txt 
     
    Sometimes the order of qualifiers have a impact