--- John Drescher <[EMAIL PROTECTED]> wrote: > On 10/4/07, Foo Bar <[EMAIL PROTECTED]> wrote: > > I have not been able to find this in the manual: specifying the where > > directive, or using the mod option during manual restore and changing > the > > path will always restore to the client machine and then the path > specified. > > > > I would like to restore to a different machine (e.g. a network mount > > relative to the director). How do you specify this? > > > > You specify the old client when you start the restore command from > bconsole. This will then have you mark the files you want to restore. > After this you issue the mod command and then change the client to the > new client.
Aha, I somehow missed the option to change the restore client. However, after trying that: it fails with either complaints about the path (trying to restore a file backed up from a Windows client to a Linux client) "Error: Cannot create directory /mnt/bacula/restores/c:: ERR=No such file or directory") or "Error: Missing private key required to decrypt encrypted backup data." The former can probably be worked around by using a Windows client to restore to, which I have not tried yet. I did run into a problem using pathnames restoring from/to the same client though: The way it's described in the manual doesn't work properly (only allows restore of single files), need to use forward slashes and lower case drive letters, so instead of File = "C:\\Documents and Settings\\Administrator\\My Documents\\Bacula", File = "c:/Documents and Settings/Administrator/My Documents/Bacula" To fix the encryption thing I tried copying the client's .pem, .key and .cert files to /etc/bacula/ on the director (which also runs the storage daemon) but to no avail, same error message. The subdirs and file are created, but the file has size 0. It also complains about not being able to set permissions for all the subdirs and files it tries to create although all daemons have as group bacula (restoring to a Samba mount, but /mnt/bacula also has group bacula). All permissions are correct as far as I can see (writable by group etc.). Also, lsmark doesn't show files unless you are in the directory the files were marked in. Lastly, is there an option not to restore the full path, just the file? ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users