Hello, 12.08.2009 11:31, M. Sébastien LELIEVRE wrote: > Greetings, > > We are now running Bacula-3.0.2 compiled from sources on an Ubuntu 8.04 > LTS server distribution. > > Our aim is to restore very specific files of a backup on another client > every week. > > In order to do this, we use a shell script that specifies every options, > files and directories we need to mark and pipe them in the bconsole. > > Our main problem here is that we cannot run an "After Job" script.
I'll trust you on this - I never tried it :-) > We have understood from the Bacula Documentation that we cannot schedule > a Bacula Restoration without restoring all the data from the Backup > specified. That is why we turn ourselves to the scripting solution. > > Can we specify a "Client Run After Job" option from the bconsole during > a "manual" restoration? No, but... > Can we schedule a restoration job in Bacula that will only restore > specified files? > > Here is the script we are currently using : http://pastebin.com/m3c126467 ... you could either use an admin script with two run scripts - one to initiate the actual restore (which could simply be the script you already have) and the other one the script you want to add, or just add your new Run after Job script to the script you use now. Cheers, Arno > Best Regards from France, -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users