View Issue Details

IDProjectCategoryView StatusLast Update
0001135bareos-coredirectorpublic2023-07-27 15:34
Reporterembareossed Assigned Tobruno-at-bareos  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionwon't fix 
PlatformLinuxOSDebianOS Version9
Product Version17.2.4 
Summary0001135: Means to limit the total size of a backup
DescriptionIf a backup suddenly grows due to an explosion in file growth in one or more of the directories in a fileset it can use up a lot of resources including time and storage. It may be the case that the additional data is due to a bug or some other circumstance that needs to be corrected at some point, or any other reason that some data might not be needed or wanted for long-term storage in a backup.

An example of this could be when a developer is testing their work in the same directory with their source files, perhaps creating a lot of, or large, log files or other output during normal work. There are other scenarios. Developers and administrators should always take care to avoid accumulation of files, but sometimes they are required for some time or may be overlooked. Whatever the case, there is always a chance that a backup could grow by large amounts.

Currently, I have a before run script that calls estimate and decides whether to run the backup based on the result. It would be more efficient if bareos had a built-in feature to limit the size of a backup, either by its total projected size or perhaps by the total number of media volumes it is expected to use. My script has worked well for years, but it is a clumsy approach better served by built-in faculties in bareos. I hope you will consider adding this as a feature in the future.
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-07-27 15:34

manager   ~0005262

This will not be implemented without a community code effort proposing a PR or paying development.
You can use a conjunction of all Maximum * parameter to limit the number of files, jobs, volumes already.

Issue History

Date Modified Username Field Change
2019-11-11 02:38 embareossed New Issue
2023-07-27 15:34 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-27 15:34 bruno-at-bareos Status new => closed
2023-07-27 15:34 bruno-at-bareos Resolution open => won't fix
2023-07-27 15:34 bruno-at-bareos Note Added: 0005262