Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We're trying to make heads or tails out of our Bacula setup. We have a SD (storage daemon) server with a few LVM logical volumes and we're trying to do full/diff/incr backups to it in a sensible manner. The problems is that Bacula constantly complains of "Cannot find any appendable volumes" even though we've setup volume limits, told it to recycle the oldest, etc.

First off, we have (3) devices defined on the SD server. One for "Full", one for "Incremental" and one for "Differential". Ideally, we'd like (2) full monthlies, with differentials on the intervening weeks and incrementals for each day.

I won't cover the SD configuration as the main question here is about schedule and pools.

Schedule {
  Name = SVNSchedule
  Run = Level=Full 1st sun at 21:05
  Run = Level=Differential 2nd-5th sun at 21:05
  Run = Level=Incremental mon-sat at 21:05
}


Pool {
  Name = SVNFullPool
  Storage = svn-full
  Pool Type = Backup
  Recycle = yes; AutoPrune = yes; Recycle Oldest Volume = yes
  Volume Retention = 45 days
  Maximum Volume Jobs = 1
  Label Format = "$Pool-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}"
  Maximum Volumes = 2
}

Pool {
  Name = SVNDiffPool
  Storage = svn-diff
  Pool Type = Backup
  Recycle = yes; AutoPrune = yes; Recycle Oldest Volume = yes
  Volume Retention = 40 days
  Maximum Volume Jobs = 1
  Label Format = "$Pool-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}"
  Maximum Volumes = 10
}

Pool {
  Name = SVNIncrPool
  Storage = svn-incr
  Pool Type = Backup
  Recycle = yes; AutoPrune = yes; Recycle Oldest Volume = yes
  Volume Retention = 20 days
  Maximum Volume Jobs = 1
  Label Format = "$Pool-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}"
  Maximum Volumes = 7
}

It almost feels like we should be using the "Volume Use Duration = 1w" option on the "full" pool. But the main issue we're having is that Bacula won't automatically recycle the file volumes. At least, not during testing where we're kicking off a full backup, then kicking off another one a few hours later.

The other minor issue that I'm not happy with is how to get Bacula to create backup files with predictable names, because the current setup causes havoc with trying to rsync the files offsite.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.