volume size of file based backups

22 views
Skip to first unread message

Jon Schewe

unread,
Dec 12, 2024, 2:27:21 PM12/12/24
to bareos-users
When using file based backups what are the reasons for setting "Maximum Volume Bytes"?
If the filesystem supports files larger than any single backup would it make sense to leave this unset and to set "Volume Use Duration" to something really small and then each volume has a single job in it?

Brock Palen

unread,
Dec 12, 2024, 10:07:23 PM12/12/24
to Jon Schewe, bareos-users
I find it to be manageability.
The on disk volumes sitll act like tape, so while things prune, they are effectively append only immutable. So you can only recycle them once everything on the volume ages out.

Setting size much like setting max age etc, is a way of capping unbouned appending and never recovering space.

I guess you could run into maximum filesize but I have really ran into that on enterprise NAS like Isilon having 8TB max file size. Most filesystems you would use on a direct attached system have no effective limit.


Brock Palen
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting



> On Dec 12, 2024, at 2:27 PM, Jon Schewe <jon.schew...@gmail.com> wrote:
>
> When using file based backups what are the reasons for setting "Maximum Volume Bytes"?
> If the filesystem supports files larger than any single backup would it make sense to leave this unset and to set "Volume Use Duration" to something really small and then each volume has a single job in it?
>
>
> --
> 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 visit https://groups.google.com/d/msgid/bareos-users/46bdcbc8-d1d4-4615-8a4f-107cdcbc3659n%40googlegroups.com.

Jon Schewe

unread,
Dec 13, 2024, 9:30:11 AM12/13/24
to bareos-users
Wouldn't setting "Volume Use Duration" to 1 minute ensure that the volumes stop unbounded appending?

Sebastian Sura

unread,
Dec 16, 2024, 12:39:31 AM12/16/24
to bareos...@googlegroups.com

Hi Jon

what are you trying to achieve ? If you want to have one job per volume, then you should look into the option "MaximumVolumeJobs" (Dir->Pool).
See here: https://docs.bareos.org/Configuration/Director.html#config-Dir_Pool_MaximumVolumeJobs

Kind Regards
Sebastian Sura

Am 13.12.24 um 15:30 schrieb Jon Schewe:
To view this discussion visit https://groups.google.com/d/msgid/bareos-users/ad1c50a6-c64b-4ff9-8e05-ea863b85543cn%40googlegroups.com.
-- 
 Sebastian Sura                  sebasti...@bareos.com
 Bareos GmbH & Co. KG            Phone: +49 221 630693-0
 https://www.bareos.com
 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz

Jon Schewe

unread,
Dec 16, 2024, 9:06:59 AM12/16/24
to bareos-users
Sebastian,

Excellent question. Yes, I think I'd like to have a single job per volume. I forgot about MaximumVolumeJobs, that's likely what I want.
Reply all
Reply to author
Forward
0 new messages