Per-client consolidation job (always incremental backup)

78 views
Skip to first unread message

Sasa Tekovic

unread,
Jan 10, 2022, 4:40:50 AM1/10/22
to bareos-users
Hello,

is it possible to configure consolidation job that will consolidate always incremental jobs belonging only to the specified client?

I'd like to have individual consolidation jobs (one for each client), that are scheduled on specific days/time.

I have the following consolidation job configuration for one of the clients, however when the consolidate job runs, the logs show that it's considering other client's jobs for consolidation as well. According to the documentation, this is expected behavior, but I couldn't find any information if it's possible to configure consolidate jobs per-client.

/etc/bareos/bareos-dir.d/jobdefs/MyConsolidate.conf
JobDefs {
  Name = "MyConsolidate"
  Type = Consolidate
  Accurate = yes
  Schedule = "MyConsolidateSchedule"
  Messages = Standard
  FileSet = "LinuxAll"
  Storage = File
  Priority = 15
  Maximum Concurrent Jobs = 4
  Allow Mixed Priority = yes
}


/etc/bareos/bareos-dir.d/client1.conf
Job {
  Name = "client1"
  JobDefs = "MyConsolidate"
  Schedule = "client1-schedule"
  Client = "client1"
  Pool = "client1-incremental"
}
Reply all
Reply to author
Forward
0 new messages