Steve Barnes wrote: > Hi > > My daily backup is using one and a half tapes. Next week, when the same > backup runs (I use a pool for each day of the week), bacula will ask me > for the non-full tape. > > How can I configure bacula to always use the first of the two tapes? > > Max Volume Jobs = 1 > > doesn't (seem to) help since I run a DailyBackup and then a > CatalogBackup job; once the DailyBackup is complete, the CatalogBackup > refuses to run because the tape has been marked as used... > > My pool definitions are typically: > > Pool { > Name = MonWk1Pool > Pool Type = Backup > Recycle = yes > AutoPrune = yes > Volume Retention = 6d > Maximum Volume Jobs = 1 > } > > Thank you > > Steve. > There's a couple of ways to deal with this. The most elegant is to put "Volume Use Duration = 23h" (check the manual for the exact syntax) in the pool (make sure you update your media from the pool definition after you change it using the update command).
Another way would be to put "Max Volume Jobs = 2", since you have exactly 2 jobs each day. It probably would have been best to not have separate pools for each day, but I suppose that does make it easier to know which tapes have which days backups on them. A third way would be to use a script launched from a run after job on the last job each day to invoke bconsole and mark the tape as used--this is the most complicated and possibly least desirable way. -se > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users