I'm new to bareos and I'm trying to implement the "Always Incremental" backup
strategy.
I have about 250gb of data I'm backing up onto a NAS (mounted via CIFS).
I can't find any other documentation or examples about Always Incremental
except for what it mentions in the docs. I think I have configured it as to
what it says but I'm not sure. Does this look correct?
My assumption is that this configuration will:
* Do a full backup initially
* Do incremental backups every weekday at 21:00
* Consolidate (every weekday) the incrementals older than 7 days
* Always keep at least 7 incrementals
* Consolidate job only consolidates with the Full backup every 14 days,
otherwise it consolidates just the incrementals (not sure if this is the
correct assumption of how "Always Incremental Max Full Age" works.)
* Only consolidates 1 per consolidate job (if multiple clients).
* Creates a virtual full backup on the 1st saturday of every month.
-------------------------------------------------
On my Storage Daemon I have two devices configured:
Device {
Name = AI-Consolidated
Media Type = File
Archive Device = /mnt/nas/bareos/consolidated
LabelMedia = yes;
Random Access = yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
Description = "Used for AI consolidated backups"
}
Device {
Name = AI-File
Media Type = File
Archive Device = /mnt/nas/bareos/file
LabelMedia = yes;
Random Access = yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
Description = "Used for AI regular"
}
-------------------------------------------------
On my Director I have the following three pools:
Pool {
Name = AI-Incremental
Pool Type = Backup
Recycle = yes
AutoPrune = no
Maximum Volume Bytes = 50G
Label Format = "AI-Incremental-"
Volume Use Duration = 23h
Storage = MyStorage-AI-File
}
Pool {
Name = AI-Consolidated
Pool Type = Backup
Recycle = yes
AutoPrune = no
Maximum Volume Bytes = 50G
Label Format = "AI-Consolidated-"
Volume Use Duration = 23h
Storage = Steinbach-AI-Consolidated
Next Pool = AI-Longterm
}
Pool {
Name = AI-Longterm
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 10 years
Maximum Volume Bytes = 50G
Label Format = "AI-Longterm-"
Volume Use Duration = 23h
Storage = MyStorage-AI-File
}
-------------------------------------------------
I also have the following two Schedules defined:
Schedule {
Name = AI-Cycle
Run = Incremental mon-fri at 21:00
}
Schedule {
Name = AI-Longterm
Run = Full 1st sat at 21:00
}
-------------------------------------------------
And finally I have the following three Jobs defined:
Job {
Name = Backup-data
Client = myclient
FileSet = MyFileSetData
Always Incremental = yes
Always Incremental Job Retention = 7 days # older than this will be
merged into new Virtual backup
Always Incremental Keep Number = 7 # will always keep this many
incrementals
Always Incremental Max Full Age = 14 days
Accurate = yes
Pool = AI-Incremental
Full Backup Pool = AI-Consolidated
Type = Backup
Level = Incremental
Schedule = AI-Cycle
Messages = Standard
Priority = 10
Write Bootstrap = "/var/lib/bareos/%c.bsr"
}
Job {
Name = Consolidate-data
Type = Consolidate
Accurate = yes
JobDefs = DefaultJob
Max Full Consolidations = 1
}
Job {
Name = VirtualLongtermFull
Client = bareos-fd
FileSet = SelfTest
Schedule = AI-Longterm
Type = Backup
Level = VirtualFull
Pool = AI-Consolidated
Messages = Standard
Priority = 13
Run Script {
console = "update jobid=%i jobtype=A"
Runs When = After
Runs On Client = No
Runs On Failure = No
}
}
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.