Hi all,

Thanks to Bill i set this configuration in my clients to have 2
different file retentions:

Client {
  Name = webphp01-bis-uat
  Address = 10.210.120.111
  FDPort = 9102
  Catalog = MyCatalog
  Password = "Njdh6AW9odE3Sjdfj2940KMsqDdw3W"          # password for
FileDaemon
  #File Retention = 365 days            # 60 days
  #Job Retention = 12 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Job {
   Name = "webphp01-bis-uat"
   Enabled = yes
   Type = Backup
   Level = Incremental
   Client = webphp01-bis-uat
   FileSet = "webphp01-bis-uat_Fileset"
   Schedule = "WeeklyCycle"
   Storage = Cloud
   Messages = Standard
   Pool = Default
}

FileSet {
  Name = "webphp01-bis-uat_Fileset"
  Include {
     Options {
        signature=SHA1
        compression=GZIP
     }
     File = "/etc"
     File = "/usr"
     File = "/home"
  }
}

Job {
   Name = "webphp01-bis-uat-logs"
   Enabled = yes
   Type = Backup
   Level = Incremental
   Client = webphp01-bis-uat
   FileSet = "webphp01-bis-uat_Fileset-logs"
   Schedule = "WeeklyCycle"
   Storage = Cloud
   Messages = Standard
   Pool = Logs
}

FileSet {
  Name = "webphp01-bis-uat_Fileset-logs"
  Include {
     Options {
        signature=SHA1
        compression=GZIP
     }
     File = "/var"
  }
}

and pools:
========

# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Label Format = vol-mad03-
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 90 days          # one year
  Maximum Volume Bytes = 50G          # Limit Volume size to something
reasonable
  Maximum Volumes = 100               # Limit number of Volumes in Pool
}

Pool {
  Name = Logs
  Pool Type = Backup
  Label Format = vol-mad03-logs
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 1830 days         # one year
  Maximum Volume Bytes = 50G          # Limit Volume size to something
reasonable
  Maximum Volumes = 1000              # Limit number of Volumes in Pool
}

# File Pool definition
Pool {
  Name = Cloud
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
# Volume Retention = 90 days          # one year
  Maximum Volume Bytes = 50G          # Limit Volume size to something
reasonable
  Maximum Volumes = 100               # Limit number of Volumes in Pool
  Label Format = "vol-mad03-"               # Auto label
}

# Scratch pool definition
Pool {
  Name = Scratch
  Pool Type = Backup
}

I have the doubt if I have configured the pools correctly so that the
retention is correct in each of the jobs, I do not see errors when I do
debugging, from the community can you confirm that it is correct?
A cordial greeting
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to