On Wed, 2005-04-13 at 11:59 +0200, Alexander Bergolth wrote: > Hi! > > The manual says that the Pool directive "Volume Use Duration" is only > checked at the end of a job that writes to a volume. > Is there a way to manually trigger this check? (E.g. to mark all > "Appendable" daily volumes as Used when doing a full backup?) > > I could set the Volume Use Duration so that it will fire at the end of > the last differential backup before a weekly full backup but the problem > is that the last scheduled differential backup runs two days before the > next full backup, because there are no scheduled jobs during the > weekend. So I'd have to set the "Volume Use Duration" to 4 days. The > problem with this setup is that I'd like to allow manual (differential) > backups to this volume during the weekend, so I'd like to mark the > volume as Used just before the Full backup is started. > > Is there a way to configure this behavior? >
You could use a Run After Job script that marks volumes as being used. Run After Job = "mysql -u blablah --password='blahblah' -c \"UPDATE Media SET VolumeStatus='Used' WHERE VolumeName='%v'\" bacula" You could just set up a low priority job (meaning it gets run last) scheduled to run on friday, that backs up /dev/null or something with the sole purpose being to mark a particular volume as used. -davidc -- I used to work in a fire hydrant factory. You couldn't park anywhere near the place. -Steven Wright ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users