Bacula-users

[Bacula-users] Character substitution changed?

2009-02-04 08:03:05
Subject: [Bacula-users] Character substitution changed?
From: Maxime <maxime.charpenne AT univ-avignon DOT fr>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 04 Feb 2009 14:00:02 +0100
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.

Of course, in Job resources, there is:
Name = "job_backup01c"
Name = "job_backup02c"


Anyone else noticed this?
May I have forgotten other configuration parts that change the behaviour?
If not, should I open a bug report?

Thanks
-- 
Maxime CHARPENNE
Université d'Avignon et des Pays de Vaucluse - CRI
Tél. : +33 4 90 16 26 05

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Character substitution changed?, Maxime <=