I never tried it without a file with the data inside of it to restore, I
think you need that, it should look something like this.
/usr/openv/netbackup/bin/bprestore -B \
-K \
-L /local/tmp/restore.log \
-R /client_name/original.rename \
-C client_name.hostname.in.netbackup \
-D destination_client_name \
-t 13 \
-s 02/19/2008 00:00:00 \
-f /client_name/original
echo "/I/Public/" > /client_name/original
echo "change /D/MyData/ to /C/MyData/ > /client_name/original.rename
This has been tested and does work.
So retry your command line but put /E/NBU6.5.1 in restore_myfiles.txt and
add -f restore_myfiles.txt to the end of the command line.
Justin.
On Tue, 15 Apr 2008, Michael Graff Andersen wrote:
> Get:
> WRN - can't create directory: E:\NBU6.5.1
> which is correct as E: does not exist on the destination client (it
> has only a c: drive)
>
> Regards
> Michael
>
> 2008/4/15, Justin Piszcz <jpiszcz AT lucidpixels DOT com>:
>>
>>
>> On Tue, 15 Apr 2008, Michael Graff Andersen wrote:
>>
>>>
>>> Hi
>>>
>>> I'm trying to use bprestore to do a alternate client & path restore
>>> from the master
>>>
>>> I've trouble with alternate path part, bprestore dosn't seem to
>>> pickup my rename file or I've misunderstood the documentation
>>>
>>> My command:
>>> C:\>bprestore -B -C dk01sn026 -D dk01sv197 -L
>>> c:\temp\bprestoretest.log -R /C/temp/rename_file /E/NBU6.5.1
>>>
>>> rename_file:
>>> change /E/NBU6.5.1 to /C/temp/NBU6.5.1
>>>
>>> Hope somebody can see what I'm doing wrong
>>>
>>> Regards
>>> Michael
>>> _______________________________________________
>>> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
>>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>>>
>>>
>>
>> What does the log file say?
>>
>>
>
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|