Hi,

I'am using bacula since last month, and ir runs smoothly.
But my strategy is to use a volume for 1 month and then prune it, and create a new volume.
It works, but it is not autoLabeling a new volume for this storage.
And it seems strange cause it autolabeled the volume last month when I start to use bacula.

Some parts of my confs:

bacula-dir:
Job {
  Name = "colchesterBackup"
  Type = Backup
  Level = Incremental
  client = colchester-fd
  FileSet="colchester"
  Schedule = "direct"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/usr/local/share/bacula/make_catalog_backup bacula bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/usr/local/share/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/db/bacula/BackupCatalog.bsr"
  Priority = 11                   # run after main backup
  Pool = colchester
  Storage = colchester
  Messages = Standard
}

Storage {
  Name = colchester
  Address = backup.lps.ufrj.br                # N.B. Use a fully qualified name
 here
  SDPort = 9103
  Password = "password"
  Device = colchester
  Media Type = FileColchester
}
Pool {
  Name = colchester
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volume
s
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 2 months         # one year
  Maximum Volumes = 2
  Recycle Oldest Volume = yes
  Volume Use Duration = 1 month
  Label Format = "colchester-${Year}-${Month}-${Day}"
}

bacula-sd:

Device {
  Name = colchester
  Media Type = FileColchester
  Archive Device = /mirror/disk0/colchester
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  LabelMedia = yes
}


Thanks,
Pedro Mazzoni

Reply via email to