I have created a new admin job which is defined as follows: Job { Name = "Archive Full Backups" Type = Admin Enabled = Yes Pool = Scratch Fileset = Dummy Storage = asgard-file Client = asgard Level = Full ClientRunBeforeJob = "/etc/bacula/archive_backup" Messages = Daemon Priority = 20 Rerun Failed Levels = yes Allow Duplicate Jobs = no Cancel Queued Duplicates = yes Schedule = "Full Backup Archive" }
Note the Level resource is present and set to Full. I've just restarted the Director. When I try to run this job manually from BAT, the Level field in the RUN JOB dialog is empty and contains no selectable values. It gets launched as follows: run job="Archive Full Backups" fileset="Dummy" level="" client="asgard" pool="Full-Disk" storage="asgard-file" priority="10" when="2019-11-01 15:52:49" yes And this causes it to fail because the level is empty. A different admin job that runs against the same server, defined as follows, has been working perfectly for years: Job { Name = "Clean Expired Volumes" Type = Admin Enabled = Yes Pool = Scratch FileSet = Dummy Storage = asgard-file Client = asgard Level = Full RunBeforeJob = "/etc/bacula/clean_volumes -v" Messages = Daemon Priority = 20 Rerun Failed Levels = yes Allow Duplicate Jobs = no Cancel Queued Duplicates = yes Schedule = "Volume Cleanup" } The only differences between the two jobs are the schedule they run on, the script they execute, and where they execute it. Does anyone have any guesses at why the first job is being run with an empty Level? When run from bconsole, the job runs without errors but does nothing: *messages 01-Nov 16:13 minbar-dir JobId 23242: Start Admin JobId 23242, Job=Archive_Full_Backups.2019-11-01_16.13.51_08 01-Nov 16:13 minbar-dir JobId 23242: Bacula 9.4.4 (28May19): 01-Nov-2019 16:13:53 JobId: 23242 Job: Archive_Full_Backups.2019-11-01_16.13.51_08 Scheduled time: 01-Nov-2019 16:13:48 Start time: 01-Nov-2019 16:13:53 End time: 01-Nov-2019 16:13:53 Termination: Admin OK I seem to recall having run into this problem before, of ClientRun... not working. Can anyone shed any light? (The objective is to have an Admin job that runs after monthly Full backups have completed which simply copies the just-created Full backup volume file to a set of removable disks. Once I have that much working, I'll have it *also* delete the previous month's FULL Volume to free up space, which I will be able to copy back from the previous set of removable disks if needed.) -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users