Am Mittwoch, 4. Februar 2009 schrieb Maxime: > Hello, > > It seems that %n character substitution changed from version 2.4.3 to > 2.4.4 (%n = Job name). > > There are 2 directors in production which both have these lines in > bacula-dir.conf (in a JobDefs resource): > RunAfterJob = "/usr/local/bin/bacula_job_status.sh %c %i %e %n %l" > > bacula_job_status.sh is simple, it only does (on both server) : > echo $(date +%F) $@ >> /var/bacula/working/backup_status > > If I take a look at the backup_status files, they differ : > 2.4.3: > 2009-02-04 backup02c-fd 132 OK job_backup02c Incremental > 2.4.4: > 2009-02-04 backup01c-fd 142 OK job_backup01c.2009-02-04_00 > Incremental > > So %n is not substituted the same way. Date is appended in 2.4.4 to > the job name. As I also use it for bootstrap file name, it changes > everyday and bootstrap files are not usable.
same problem here, i'm using jobdefs with client scripts where the name (%n) was used for backup of xen-images (name of the xen machine). Now i must workaround this (remove date with sed). Please change back to 2.4.3 behaviour and provide a new replacement variable with current-date... -- Markus Schulz ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users