Public bug reported: Binary package hint: bacula
I use "$Client-$Year-$Month-$Day" as my LabelFormat. Recently I tried to backup a server called ralph (this was a scheduled job). The Volume was created with the correct name but the job failed as the FileDaemon was not running, as below: 24-Oct 08:17 floyd-dir JobId 65: Created new Volume "ralph-fd-2009-10-24" in catalog. 24-Oct 08:17 floyd-dir JobId 65: Using Device "FileStorage" 24-Oct 08:17 floyd-dir JobId 65: Warning: bsock.c:123 Could not connect to Client: ralph-fd on 192.168.1.254:9102. ERR=Connection refused The job eventually terminated itself. Subsequently I tried to run a job manually to backup a different server (benson) and got the following output: 24-Oct 13:43 floyd-dir JobId 66: No prior Full backup Job record found. 24-Oct 13:43 floyd-dir JobId 66: No prior or suitable Full backup found in catalog. Doing FULL backup. 24-Oct 13:43 floyd-dir JobId 66: Start Backup JobId 66, Job=benson.2009-10-24_13.43.03 24-Oct 13:43 floyd-dir JobId 66: Using Device "FileStorage" 24-Oct 13:43 floyd-sd JobId 66: Labeled new Volume "ralph-fd-2009-10-24" on device "FileStorage" (/bacula-volumes). 24-Oct 13:43 floyd-sd JobId 66: Wrote label to prelabeled Volume "ralph-fd-2009-10-24" on device "FileStorage" (/bacula-volumes) 24-Oct 13:43 floyd-dir JobId 66: Volume used once. Marking Volume "ralph-fd-2009-10-24" as Used. Note that the Volume name is again "ralph-fd-2009-10-24". It should have been "benson-fd-2009-10-24". It looks like the variable expansion has retained the client name "ralph-fd" from the failed job. Either that or bacula is not trying to create a new volume at all, but instead reusing the volume created previously but not labelled or written to. r...@floyd:~# lsb_release -rd Description: Ubuntu 8.04.3 LTS Release: 8.04 r...@floyd:~# apt-cache policy bacula bacula: Installed: (none) Candidate: 2.2.8-5ubuntu7.2 Version table: 2.2.8-5ubuntu7.2 0 500 http://mirror.internode.on.net hardy-updates/main Packages 2.2.8-5ubuntu7 0 500 http://mirror.internode.on.net hardy/main Packages ** Affects: bacula (Ubuntu) Importance: Undecided Status: New -- variable expansion uses outdated data https://bugs.launchpad.net/bugs/459573 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs