On Thursday 24 August 2006 02:12, Nick Barkas wrote: > Hello > I'm trying to have Bacula automatically restore the backups from one > client to another after the first client's backup has completed. I can > do the restores by using the run command with bconsole on the job that > does the restore, but for some reason the restores aren't running on > their own every night, while my backup jobs are. > > Can anyone provide some insight into how I might make automatic restore > jobs work? Here is a snippet from my director's configuration for a job > that I want to use for the restores. The Bootstrap file it uses is > written out by the job that does the backups prior to when this job > should run. > > Job { > Name = "report-db1a.earth.threerings.net-ooouser" > Type = Restore > Client = report-db1a.earth.threerings.net > FileSet = "MySQLDatabase" > Storage = File > Pool = Default > Messages = Standard > Where = /export/bacula_restore/ooo-db1b > Priority = 11 # Backup jobs have priority 10. We want this after that. > Bootstrap = "/export/backup/bootstrap/ooo-db1b.luna.threerings.net-db.bsr" > } > > Please let me know if any other configuration info from my director > would be useful.
Scheduled restores are not supported. You need to run an Admin job that with a RunBeforeJob script that uses bconsole to do the restore. bconsole can fully script restored. If you don't know how to do this, ask the list, they can help you. > > Thanks > Nick > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users