Hi, I'm using Bacula 9.0.7 and try to delete volumes that were created but where the backup job did not complete.
E.g. 2020-01-11 11:04:45heZZZ-dir JobId 10826: Start Backup JobId 10826, Job=Job_XXX02.2020-01-11_11.04.43_09 2020-01-11 11:04:46heZZZ-dir JobId 10826: Created new Volume="IncBackup__XXX02-fd__10826__2020-01-11T11.04.45", Pool="Pool_IncBackup", MediaType="MT-heZZZ-sd-AC-IncBackup" in catalog. 2020-01-11 11:04:46heZZZ-dir JobId 10826: Using Device "AC-IncBackup-Dev01" to write. 2020-01-11 11:05:02heZZZ-dir JobId 10826: Warning: bsock.c:153 Could not connect to Client: heXXX02-fd on heXXX02:9102. ERR=No route to host so: 1) Volume is created 2) Client connect failed 3) Volume is created but empty. I thought I could catch this with a runscript in the JobDefs: ------------------------------------------------------------ JobDefs { Name = "JD_heDefault" Type = "Backup" [...] RunScript { #Console ="delete yes volume=%v" Command = "echo delete yes volume=%v | bconsole" RunsWhen = After RunsOnFailure = yes RunsOnClient = no RunsOnSuccess = no } } ------------------------------------------------------------ I tried with command= as stated above and also with Console="delete yes volume=%v". Both does not work. It seems as if %v does not get substituted. eMail notifcation shows: 2020-01-11 11:07:58heZZZ-dir JobId 10826: console command: run AfterJob "delete yes volume=" Can someone give me a hint about what I'm doing wrong here? Thanks in advance, Thorsten _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users