Thank you a lot! :)
I think i unserstand your setup. But just to make sure, let me try to wrap it
up in my own words.
Your jobs are basically all running with "incremental" job defs, using the
"always-incr" pool for incrementals and "consolidated" for the full backups.
Then you consolidate every day a new full to the "consolidated" pool.
Saturdays, you will run a virtual full, from "consolidated" and "always-incr"
pool, and store it in the "offsite" pool, which does mean it will be written to
tapes.
So, if i am not mistaken in my explanation above, i just need to configure a
jobdef for my tapejob, so it will be doing a virtual full, using the "full" and
"incremental" pool (since i sticked to the defaults), and store it in my tape
pool, where my tapes will belong to.
However, i am wondering why you have 15 storage devices configured, but at the
same time you only allow 10 concurrent jobs.
Is it just performance tweaking, or is this actually recommended?
My goal is to have one large full backup file/volume every monday, and one big
incremental for each day the rest of the week.
I will always keep two full chains and as soon as the third is complete, i will
automatically prune the oldest, based on "maximum volumes" and "volume
retention".
Any thoughts (for tweaking) and warning for my plans are much appreciated. :)
Were you able to run multiple storage devices in earlier versions, too?
Maybe using 16.2.4 is the issue here for me.
Thanks again Doug, for sharing your experience with such a newbie :)
I also attached all (imo) important configuration files, just in case you want
to have a look aswell.
--
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.
FileSet {
Name = "WindowsAllDrives"
Enable VSS = yes
Include {
Options {
compression = GZIP
Signature = MD5
Drive Type = fixed
IgnoreCase = yes
WildFile = "[A-Z]:/pagefile.sys"
WildDir = "[A-Z]:/RECYCLER"
WildDir = "[A-Z]:/$RECYCLE.BIN"
WildDir = "[A-Z]:/System Volume Information"
Exclude = yes
}
File = /
}
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
FileSet = "SelfTest"
Schedule = "WeeklyCycle"
Storage = Synnefo124
Messages = Standard
Pool = Incremental
Priority = 10
Write Bootstrap = "/var/lib/bareos/%c.bsr"
Full Backup Pool = Full
Differential Backup Pool = Differential
Incremental Backup Pool = Incremental
}
Storage {
Name = Synnefo124
Address = 10.0.x.x # N.B. Use a fully qualified name here (do
not use "localhost" here).
Password = "********"
Device = FileStorage
Media Type = File
Maximum Concurrent Jobs = 30
}
FileSet {
Name = "LinuxAll"
Description = "Backup all regular filesystems, determined by filesystem type."
Include {
Options {
compression = GZIP
Signature = MD5 # calculate md5 checksum per file
One FS = No # change into other filessytems
FS Type = btrfs
FS Type = ext2 # filesystems of given types will be backed up
FS Type = ext3 # others will be ignored
FS Type = ext4
FS Type = reiserfs
FS Type = jfs
FS Type = xfs
FS Type = zfs
}
File = /
}
# Things that usually have to be excluded
# You have to exclude /var/lib/bareos/storage
# on your bareos server
Exclude {
File = /var/lib/bareos
File = /var/lib/bareos/storage
File = /proc
File = /tmp
File = /var/tmp
File = /.journal
File = /.fsck
}
}
Pool {
Name = Tape
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 70 days # How long should the Full Backups be
kept? (#06)
Maximum Volume Bytes = 1500G # Limit Volume size to something
reasonable
Maximum Volumes = 200 # Limit number of Volumes in Pool
}
Pool {
Name = Incremental
Pool Type = Backup
Recycle = no # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 20 days # How long should the Incremental Backups
be kept? (#12)
# Maximum Volume Bytes = 25000G # Limit Volume size to something
reasonable
Maximum Volumes = 18 # Limit number of Volumes in Pool
Label Format = "$Day-$Month-$Year_Incremental" # Volumes will be
labeled "Incremental-<volume-id>"
Volume Use Duration = 23 hours
# Purge Oldest Volume = yes
}
Pool {
Name = Full
Pool Type = Backup
Recycle = no # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 21 days # How long should the Full Backups be
kept? (#06)
# Maximum Volume Bytes = 25000G # Limit Volume size to something
reasonable
Maximum Volumes = 3 # Limit number of Volumes in Pool
Label Format = "$Day-$Month-$Year_Full" # Volumes will be labeled
"Full-<volume-id>"
Volume Use Duration = 3 days
}