Bacula-users

Re: [Bacula-users] Restoring on Windows How to Specify restore path

2014-08-24 08:47:39
Subject: Re: [Bacula-users] Restoring on Windows How to Specify restore path
From: Heitor Faria <heitor AT bacula.com DOT br>
To: dweimer AT dweimer DOT net
Date: Sun, 24 Aug 2014 09:41:17 -0300
Hi Dean,

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 :

 Strip Prefix = c:
 Add Prefix = d:





--
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
============================================
Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at Udemy: bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria
Gtalk: heitorfaria AT gmail DOT com
============================================
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>