I am stuck with a problem, I have a corrupted Vmware Virtual machine
disk volume. I have multiple copies on backup, but the only disk volume
large enough to hold the restored disk file is my windows machine's
drive D:. but no matter what I try to specify as the restore path I
either get an error, or it tries to restore to the C: drive and fills it
up then dies.
If I try D: I get this:
workstation-fd JobId 2297: Error: findlib/mkpath.c:138 Cannot create
directory "D:: ERR=Invalid argument
I tried D\:/ which is what works with the cd command when selecting the
file under the restore command on the console I get
workstation-fd JobId 2298: Error: findlib/mkpath.c:138 Cannot create
directory D\:: ERR=Invalid argument
If I try D/, It restores to C:\windows\syste32\d\d\...
Does anyone have any ideas on how to properly specify the where option
on windows to restore to a drive other than drive C?
Have you tried the same format as the FileSet shoukd be?, e. g.: "D:/"
If it doesn't work you can try this workaround I found in the manual:
Strip Prefix = directory
This directive applies only to a Restore job and specifies a prefix to remove from the directory name of all files being restored. This will use the File Relocationfilerelocation feature implemented in Bacula 2.1.8 or later.
Using Strip Prefix=/etc, /etc/passwd will be restored to /passwd
Under Windows, if you want to restore c:/files to d:/files, you can use :
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/