noazara
12 years agoLevel 6
bprestore
]$ sudo ./bprestore -R /tmp/rename -C duster1 -D duster1 -s 06/25/2013 00:00:00 -e 06/27/2013 23:00:00 -f /tmp/filelist
[]$ cat /tmp/rename
change /usr/openv/netbackup/vault/sessions/Eject_Monday/sid90 to /tmp/restore.txt
[]$ cat /tmp/filelist
/usr/openv/netbackup/vault/sessions/Eject_Monday/sid90/preview.list
I ran the above command and the restore in GUI completed with status 0.
But I am unable to find the file on the destination path.
[]$ cat /tmp/restore.txt
Amazing - I gave you the answer days ago but you (and Martin?!) still haven't figured this out.
Here's what you originally had:
cat /tmp/rename change /usr/openv/netbackup/vault/sessions/Eject_Monday/sid90 to /tmp/restore.txt
Way up there, I told you - and I thought I was pretty explicit in describing it, but I see now that I have failed - I told you that you CAN'T use the syntax of "change <directory_path> to <file_path>" in your rename file and you would have to change it. I even gave you two choices - you could have changed it to "change <directory_path> to <directory_path>" OR "change <file_path> to <file_path>" - but instead, you somehow decided to go in ANOTHER direction and...cat /tmp/rename change /usr/openv/netbackup/vault/sessions/Eject_Monday/sid90/preview.list to /tmp
...change BOTH paths, so now you have "change <file_path> to <directory_path>", which ALSO will not work!Here are some capital letters.FIX YOUR RENAME FILE TO SOMETHING THAT WILL WORK IF YOU WANT IT TO WORK. CHANGE *ONE* PATH TO MATCH THE OTHER. DO NOT CHANGE BOTH PATHS.Because you can only understand when someone actually spells it out for you rather than follow a simple instruction, I will go against all my better judgment and actually spell it out for you rather than just use generalities:Your rename file should be changed to one (AND ONLY ONE) of these two choices:change /usr/openv/netbackup/vault/sessions/Eject_Monday/sid90/preview.list to /tmp/restore.txt
ORchange /usr/openv/netbackup/vault/sessions/Eject_Monday/sid90 to /tmp
Please tell me you understand this now. There is absolutely no way I can be any more clear than this and I may have to just quit my job if you still don't get it after this reply.If you had read any of the links I provided, you should have been able to figure this out, like, four days ago. Really, it's hard for me to express how disappointed I am.