On Tuesday 2017-01-10 08:51:15 Lloyd Brown wrote: > On 01/09/2017 01:11 PM, Josip Deanovic wrote: > > I have never needed it but I have tested few minutes ago and I can > > confirm that it works as expected. > > In my test I have configured a restore job and added a line such as > > this: ClientRunAfterJob = "/etc/bacula/scripts/bla" > > > > It will run on the client after the restore job. > > Josip, > > Just to be clear, are you defining this in the bacula-dir.conf file, or > as a parameter to the "restore" command in the CLI? > > Lloyd
I have added the line to the restore job resource definition in the bacula-dir.conf file. ClientRunAfterJob will execute the defined shell script on the client while RunAfterJob would execute the defined script on the backup server. -- Josip Deanovic ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users