More extended backup retention plans? #279

Closed
opened 2026-04-05 16:16:06 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jicho on 1/5/2026

Hi,

Are there any plans to implement a backup retention plan, or something like it?
No Databasus backups for x-weeks/months/etc, that's great, but something like a retention schema would be nice to have.
In that way you can store your data for a longer period without having to keep all the version in between.

From my point of view it can be as simple as implemented in, for example, https://github.com/prodrigestivill/docker-postgres-backup-local:

Key Value
DAYS Number of daily backups to keep before removal. Defaults to 7.
WEEKS Number of weekly backups to keep before removal. Defaults to 4.
MONTHS Number of monthly backups to keep before removal. Defaults to 6.

More complex can be done, but something like this is easy readable.

Just wondering how to store less and keep more db versions :)

*Originally created by @jicho on 1/5/2026* Hi, Are there any plans to implement a backup retention plan, or something like it? No Databasus backups for x-weeks/months/etc, that's great, but something like a retention schema would be nice to have. In that way you can store your data for a longer period without having to keep all the version in between. From my point of view it can be as simple as implemented in, for example, https://github.com/prodrigestivill/docker-postgres-backup-local: | Key | Value | |--------|------------------------------------------------------------------| | DAYS | Number of daily backups to keep before removal. Defaults to 7. | | WEEKS | Number of weekly backups to keep before removal. Defaults to 4. | | MONTHS | Number of monthly backups to keep before removal. Defaults to 6. | More complex can be done, but something like this is easy readable. Just wondering how to store less and keep more db versions :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#279