On Tuesday 14 March 2006 11:29, Moritz Bunkus wrote: > Hey, > > On Tuesday 14 March 2006 10:38, Patrick Van der Veken wrote: > > Pruning the volume manually beforehand would be cumbersome > > solution. How do you determine the volume name which needs to be > > pruned (the $1 variable)? > > I'm not really promoting pruning volumes manually ("manually" meaning > "using bconsole's prune command", most likely from cron). I'm just > saying that I've noticed this behaviour and that I've had to work around > it. > > That being said: > > Our backup setup allows us to know the tape names prior to the actual > backup. We do full backups on mondays to two tapes called "monday1" and > "monday2" (surprise, surprise). We do incremental backups on Tuesday > through Thursday to tapes named similarly. > > We also do full backups on Friday. For Friday we have four sets of two > tapes which are used every four weeks. Unfortunately Bacula doesn't > allow "every Xth week / day" in its schedules, so we have a pool > containing all weekly tapes.
For every fourth week, why can't you use w01,w05,w09,... ? It may take a bit of typing if you want something done every other week, but that doesn't seem to me very hard, and using such a description avoids the complication of the fact that every fourth week has absolutely no meaning unless you introduce the concept of a start date. > Simply doing some math with the current > date yields the names for the tapes that are due this week. > > Like I said, we have a very predictable rotation. This might be totally > unusable in your situation. > > Regards, > Mosu ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users