Hello,

05.10.2007 17:13,, Viktor Radnai wrote::
> Hi all,
> 
> I was thinking about the best way to keep a backup of my director
> configuration ready on a client machine, and decided that it would be
> the easiest if I scheduled a nightly restore job for the catalog and
> the config files, bootstraps, etc. onto that client. In other words,
> the files would be backed up on the director machine and then restored
> straight away on another machine, automatically, every night.

You could also simply rsync / scp / tar or whatever the files needed 
to the other machine.

> So far I was unable to figure out how to do this. I tried adding a Job
> resource with a Schedule, but all I got was an error. Googling around
> for this topic didn't help. Has anyone gotten something like this
> working? Would you be kind enough to send me a working example, or
> point me in the right direction?

External scheduling, or a run after job script:
Just feed the necessary commands to bconsole, like in
bconsole -f ... <<EOF
restore
blah blah blah
yes
EOF
and use the exact commands you would use to restore the latest backup 
to the machine and location in question. Much of the setup can also be 
done as arguments to the restore command, btw.

Personally, I'd prefer solution one, as it doesn't load your backup 
system twice.

Arno

> Thanks for your help in advance. If my question isn't specific enough
> or you need more details, please let me know.
> 
> Regards,
> Viktor Radnai

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
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

Reply via email to