Below are excerpts from my configs.  My /u1 is a 1.4T filesystem.  I backup
to disk daily and then migrate weekly to tape.  If you jump down to the
sd.conf excerpt at the bottom I added a wrinkle of keeping each pool of
volumes for each client system in a separate directory.  I then have
multiple entries that are nearly identical in the sd.conf so multiple
systems and simultaneously backup.

This approach is clearly different than creating a collection of fixed size
volumes.  The retention time ends up being lower (7 days) than what it is
once it's written to tape.

peter

===================================
######################
# HOST
######################
Job {
  Name = "HOST"
  Client = HOST-fd
  Write Bootstrap = "/u1/bacula/working/HOST.bsr"
  Type = Backup
  FileSet = "HOST Set"
  Schedule = "WeeklyCycle0805"
  Client Run Before Job = /var/lib/mysql/hotcopy.bash
  Messages = Standard
  Pool = HOST
  Priority = 10
}

Job {
  Name = "HOST-migrate"
  Type = Migrate
  Level = Full
  Client = volga-fd
  Write Bootstrap = "/u1/bacula/working/HOST-migrate.bsr"
  FileSet = "HOST Set"
  Schedule = "MigrateCycle"
  Messages = Standard
  Pool = HOST
  Maximum Concurrent Jobs = 4
  Selection Type = Volume
  Selection Pattern = ".*"
  Priority = 12
}

Client {
  Name = HOST-fd
  Address = 10.1.102.1
  FDPort = 9102
  Catalog = VolgaCatalog
  Password = "FD-PASSWORD"
  File Retention = 7 days
  Job Retention = 1 months
  AutoPrune = yes
}

Storage {
  Name = HOSTFiles
  Address = 10.1.102.11
  SDPort = 9103
  Password = "SD-PASSWORD"
  Device = HOSTDev
  Media Type = File
}

Pool {
  Name = HOST
  Use Volume Once = yes
  Pool Type = Backup
  Auto Prune = yes
  Volume Retention = 13 days
  Label Format = HOST-
  Maximum Volumes = 15
  Recycle = yes
  Storage = HOSTFiles
  Next Pool = TAPE
}

===================================
 then in the sd.conf, an excerpt:
===================================
Device {
  Name = HOSTDev
  Media Type = File
  Archive Device = /u1/bacula/HOST
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}
===================================


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to