You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using borg prune to reduce the disk space used by my backups.
I would like to be able to mark some backups as "not prunable" so that they are excluded from the daily/weekly/monthly retention policy that I defined.
My use case for this new feature is to keep a last backup of my system before a major OS upgrade. Those upgrades are done at a point in time that is unrelated to weeks and months.
Thank you for considering this suggested addition!
The text was updated successfully, but these errors were encountered:
You can already do that by using --prefix with prune. Then simply rename the archives you do NOT want to get deleted so that they do NOT match the prefix any more.
E.g.
borg prune --dry-run --list --prefix server-backup- ...
To keep, rename archives to keep-server-backup-* .
When experimenting with prune, always use --dry-run --list for test runs before running it without --dry-run to avoid unintended data loss.
Hi,
I am using
borg prune
to reduce the disk space used by my backups.I would like to be able to mark some backups as "not prunable" so that they are excluded from the daily/weekly/monthly retention policy that I defined.
My use case for this new feature is to keep a last backup of my system before a major OS upgrade. Those upgrades are done at a point in time that is unrelated to weeks and months.
Thank you for considering this suggested addition!
The text was updated successfully, but these errors were encountered: