How to use Retention Policies

19 views
Skip to first unread message

Athame Parnitha

unread,
Dec 8, 2025, 11:42:57 AM (12 days ago) Dec 8
to bareos-users
Greetings.                                                                                                                                                 
I am currently trying to understand how to implement retention policies in bareos.

I have some test cases for which i currently do not know how the intended way should look like regarding configuring the client/pool and/or storage.

One test case would be like:
 - One Backup each Day
 - One Backup each Week
 - One Backup each Month
For each one (day/week/month) there should always exists 3 Backups.

Another test case could look like this:
 - One Backup every Wednesday, Saturday and Sunday
I want to keep the last 3 Backups (Wednesday, Saturday and Sunday) as well as the last 3 Sunday Backups before that.

And the last case may be as simple as:
 - One Backup each Day
I want to keep the last 7 Backups. Like the first case but with more backups and only the last week as the overall target.

What would be the recommended approach here?
For example:
 - create for each case a separate Storage
 - create for each day a separate Pool
 - create 100 volumes in a single Pool and use this magical parameter instead
 - use this X approach instead

Any tips or recommendations are welcomed.
Reply all
Reply to author
Forward
0 new messages