Video Screencast Help

Bprestore Problem

Created: 08 Sep 2013 • Updated: 25 May 2014 | 2 comments
This issue has been solved. See solution.

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

[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 ?

Operating Systems:

Comments 2 CommentsJump to latest comment

RamNagalla's picture

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

Nicolai's picture
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

Assumption is the mother of all mess ups.

If this post answered your'e qustion -  Please mark as a soloution.