Hi, On 4/5/2007 5:16 PM, Luca Ferrari wrote: > Hi all, > in my bacula-dir.conf I've got a pool as follows: > > Pool { > Name = Default > Pool Type = Backup > Recycle = yes > AutoPrune = yes > Volume Retention = 365 days > Accept Any Volume = yes > Label Format = "${Job}-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}" > } > > > and I've got several jobs, for example: > > Job { > Name = prod_dataflex_job > Enabled = yes > Type = Backup > Level = Incremental > Client = prod-fd > FileSet = prod_FlxFrm_fileset > Storage = prod-sd > Messages = Daemon > > Pool = Default > } > > but when I start the job in the console I got the volume labeled as another > job: > > *run > Using default Catalog name=MyCatalog DB=bacula > A job name must be specified. > The defined Job resources are: > 1: backup_mySelf > 2: restore_mySelf > 3: prod_coge_job > 4: prod_samba_job > 5: prod_config_job > 6: prod_dataflex_job > 7: prod_log_job > Select Job resource (1-7): 6 > Run Backup job > JobName: prod_dataflex_job > FileSet: prod_FlxFrm_fileset > Level: Incremental > Client: prod-fd > Storage: prod-sd > Pool: Default > When: 2007-04-05 17:06:47 > Priority: 10 > OK to run? (yes/mod/no): yes > Job started. JobId=30 > > > Running Jobs: > Writing: Full Backup job prod_samba_job JobId=29 > Volume="prod_config_job-2007-04-05" > pool="Default" device=""prod_storage" (/backup/prod/)" > Files=1,561 Bytes=82,161,418 Bytes/sec=196,089 > FDReadSeqNo=16,283 in_msg=11663 out_msg=5 fd=6 > > > Why this running job has the volume prod_config_job while it should be > prod_dataflex_job?
Because it is using the volume which was created because the Job prod_config_job needed a volume. You have to limit the volumes to one job each if you really want to have one volume with the name of the job for each job. Note that this makes concurrent jobs more difficult, as each job needs its own storage device. Note also that recycling these volumes is more or less pointelss, you'll have to delete them. These are two reasons why I don't recommend such a setup. (I could have suggested to use tar and hand-written tape labels, because that's about the same backup scenario. You don't need a catalog or volume-handling capabilities likeBacula's then.) Arno > What am I missing? > > Thanks, > Luca > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users