Подскажите как настроить конфиг для бэкап Always Incremental. Пока не до конца понимаю схему работы always incremental и consolidate.Заказчик хочет, чтоб изменения хранилились инкрементные 365 дней.
- backup-nc-fd.conf
Job { Name = "NC-fd" Type = Backup Level = Incremental Client = NC-fd FileSet = "NCFile" Schedule = "WeeklyCycleNC" Storage = S3_Object Messages = Standard Pool = AI-Incremental Priority = 10 Accurate = yes Always Incremental = yes Always Incremental Job Retention = 365 days Always Incremental Keep Number = 365 Write Bootstrap = "/var/lib/bareos/%c.bsr" Full Backup Pool = AI-Consolidated # write Full Backups into "Full" Pool (#05) Incremental Backup Pool = AI-Incremental # write Incr Backups into "Incremental" Pool (#11) }
- backup-consolidate.conf
Job { Name = "Consolidate" Type = "Consolidate" Accurate = "yes" JobDefs = "DefaultJob" }
- AI-Incremental.conf
Pool { Name = AI-Incremental Storage = S3_Object Pool Type = Backup Recycle = yes # Bareos can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # How long should the Incremental Backups be kept? Maximum Volume Bytes = 1000G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool Label Format = "AI-Incremental-" # Volumes will be labeled "Incremental-<volume-id>" Next Pool = AI-Consolidated # consolidated jobs go to this pool }
- AI-Consolidated.conf
Pool { Name = AI-Consolidated Storage = S3_Object Pool Type = Backup Recycle = yes # Bareos can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # How long should the Incremental Backups be kept? Maximum Volume Bytes = 1000G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool Label Format = "AI-Consolidated-" # Volumes will be labeled "Incremental-<volume-id>" }