[Bacula-users] Automatic restore to another client

2007-04-26 Thread Jonas Björklund
Hello,

Is it possible to do automatic restores to another client?
If so, how do I specify the other client?

/Jonas

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic restore to another client

2007-04-26 Thread Arno Lehmann
Hi,

On 4/26/2007 11:00 AM, Jonas Björklund wrote:
 Hello,
 
 Is it possible to do automatic restores to another client?

I would do this feeding the necessary comands to bconslole.

 If so, how do I specify the other client?

Just as always, at the end of the job setup, chose 'mod' and change the 
client.

The simplest way to get where you want would be to start such a job 
manually, and note the commands (and return keysrokes!). Then, put all 
these into a script like this:

#!/bin/bash
catEOF | bconsole -f /etc/bacula/bconsole.conf
restore
whatever you do
done
mod
whatever you do
yes
EOF

All untested :-)

Arno

 /Jonas
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users