Hello, good afternoon.

today after a meeting with my manager we have made the decision to change
the retention of the clients that we have in bacula,
for configuration files 3 months, for logs 1 year.

How can I set 2 different withholdings within the same client?
this is the configuration i want to backup, thanks a lot for the help.


Client {
  Name = SRV-crontab
  Address = 172.30.1.49
  FDPort = 9102
  Catalog = MyCatalog
  Password = "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"          # password for
FileDaemon
  File Retention = 365 days            # 60 days
  Job Retention = 12 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Job {
   Name = "SRV-crontab"
   Enabled = yes
   Type = Backup
   Level = Incremental
   Client = SRV-crontab
   FileSet = "SRV-crontab_FileSet"
   Schedule = "WeeklyCycle"
   Storage = Cloud
   Messages = Standard
   Pool = Default
}

FileSet {
  Name = "SRV-crontab_FileSet"
  Include {
     Options {
        signature=MD5
        compression=GZIP
     }
     File = "/etc"
     File = "/home/tareas"
     File = "/usr/lib64/nagios"
     File = "/var/spool/cron"
     }
}


Job {
   Name = "SRV-crontab-logs"
   Enabled = yes
   Type = Backup
   Level = Incremental
   Client = SRV-crontab
   FileSet = "SRV-crontab_FileSet"
   Schedule = "WeeklyCycle"
   Storage = Cloud
   Messages = Standard
   Pool = Default

   FileSet {
  Name = "SRV-crontab_FileSet"
  Include {
     Options {
        signature=MD5
        compression=GZIP
     }
     File = "/var/log/"
     }
}
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to