bareos-sd JobId 82: User defined maximum volume capacity 107,374,182,400 exceeded on device "FileStorage" (/var/lib/bareos/storage).
bareos-sd JobId 82: Job Backup-peter.supertux.lan.2019-09-07_21.00.00_35 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "FileStorage" (/var/lib/bareos/storage)
Pool: Full
Media type: File

Pool {
Name = Full
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # How long should the Full Backups be kept? (#06)
Maximum Volume Bytes = 100 G
Maximum Volumes = 1
Label Format = "Full-" # Volumes will be labeled "Full-<volume-id>"
}
Pool {
Name = Differential
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 90 days # How long should the Differential Backups be kept? (#09)
Maximum Volume Bytes = 10 G
Maximum Volumes = 1
Label Format = "Differential-" # Volumes will be labeled "Differential-<volume-id>"
}
Pool {
Name = Incremental
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days # How long should the Incremental Backups be kept? (#12)
Maximum Volume Bytes = 1 G
Maximum Volumes = 1
Label Format = "Incremental-" # Volumes will be labeled "Incremental-<volume-id>"
}
/dev/sdb1 435G 139G 275G 34% /var/lib/bareos/storageYou've set Maximum Volumes for each of the pools to just one volume. So the SD won't automaticaly create more volumes than that. If the volume is filled to the brim, your system won't be able to allocate any more files because you prohibited it yourself.
Usually for File devices you also set Label Media options so the SD can automaticaly create more files if needed.
For convenience it's also quite custom to set Maximum Volume Jobs to 1 so each backup is stored on separate file (or set of files) and is easily identifiable for i.e. off-site export.
So you should either raise your Maximum Volume Bytes settings or let SD create new files as needed by raising/removing Maximum Volumes Settings.
Both approaches have its pros and cons. If you set a strict limit for total file size (i.e. by setting single file size limit to 10G and file count limit to 20), you might run out of space "within bareos" if your backed up data exceeds said limit. If, on the other hand, you let SD allocate files on the fly without limits, it will do so as long as it can so if you exceed the total size of your disk you'll run into "out of disk space" errors.
It's up to you which approach you choose.
If you have a removable disk you might also go for a vchanger
setup emulating a tape changer in a disk directory but that's way
more tricky to set up (and I wouldn't advise it unless you have a
strong understanding of Bareos inner working).
If something's not clear, don't hesitate to ask :-)
Best Regards,
MK
--
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 bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/e0268e30-4fbd-4803-b00f-21c7a4e46da9%40googlegroups.com.