I'm having a tough time trying to get Bacula to recycle volumes
properly.  I'm trying to backup a Windows server with a full backup on
Sunday and incrementals Monday to Saturday.  Backup is to a removable
USB disk and I want the filenames to be automatically created in the
format ProductionVol001, ProductionVol002 etc through to
ProductionVol007, after which it will go back to 001 again.

My relevant config entries are:

Pool {
  Name = Production
  Use Volume Once = yes
  Pool Type = Backup
  LabelFormat = "ProductionVol"
  AutoPrune = yes
  Volume Retention = 7 days
  Maximum Volumes = 7
  Recycle = yes
}

Client {
  Name = production-fd
  Address = production
  FDPort = 9102
  Catalog = MyCatalog
  Password = "password"          # password for FileDaemon
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Job {
  Name = "ProductionFiles"
  JobDefs = "DefaultJob"
  Client = production-fd
  Write Bootstrap = "/var/bacula/ProductionFiles.bsr"
  FileSet = "ProductionFiles"
  Pool = Production
}

The problem is that every time the schedule runs I'm getting the
all-too-familiar error (below).  All other backup jobs then stop
completely.

25-May 08:43 backup-sd: Job ProductionFiles.2005-05-25_08.43.07 waiting.
Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      FileStorage
    Media type:   File
    Pool:         Production


If I use label (which in my reckoning I should never need to do as
Bacula should automatically create the label for me) then it works for
that time, but next time it'll halt again with the same error.

Can anyone throw me any pointers?

Thanks,

MattB





-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to