Hi, 24.06.2007 09:49,, Bradley Schatz wrote:: > Hi, > > I have a set of pools for full daily backups - Monday to Friday. Each > pool has exacly one tape in it, and is intended to be recycled and > used the next weekday. I am using a 6 day volume retention, with > recycle=yes and recycle current volume = yes to try to achieve this, > to no avail. > > The volume, for example Friday, shows up before the friday backup run > in append state, at which point the director tries to append a full > backup to it, rather than to purge it and recycle. The tape fills up, > and then the director starts complaining that it cant find any > appendable volumes. > > Relevant configs below. Any suggestions on how to recycle in this > manner? Bacula version 2.1.18.
The problem would be that your volumes are not in state "Used" when the backup starts. In addition to the volume retention, you'll also need to set the volume use time. This could probably set to 23 hours (ensuring the volume is marked as "used" when the next jobs start). Don't forget to update the settings for the existing volumes after you modified the pool configuration! Arno > thanks, > > Bradley > > 23-Jun 00:52 foundry-sd: Job NightlySaveFoundry.2007-06-22_23.30.00 > waiting. Cannot find any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: "VXA-2" (/dev/nst0) > Pool: Friday > Media type: VXA-2 > > > Pool { > Name = Friday > Pool Type = Backup > AutoPrune = yes > Volume Retention = 6d > Maximum Volumes = 1 > Recycle = yes > Recycle Current Volume = yes > } > > +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ > | MediaId | VolumeName | VolStatus | Enabled | VolBytes | > VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | > LastWritten | > +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ > | 5 | Friday | Full | 1 | 30,671,972,352 | > 33 | 518,400 | 1 | 0 | 1 | VXA-2 | > 2007-06-22 23:50:54 | > +---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ > > ------------------------------------------------------------------------- > 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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- 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