5,337
edits
(Created page with "[https://borgbackup.readthedocs.io/en/stable/ borgbackup] is a deduplicating backup software ==Installation== [https://borgbackup.readthedocs.io/en/stable/installation.html I...") |
|||
Line 42: | Line 42: | ||
===Pruning backups=== | ===Pruning backups=== | ||
If you're scripting daily, weekly, or monthly backups, you'll probably want to prune old backups. | [https://borgbackup.readthedocs.io/en/stable/usage/prune.html borg prune] | ||
If you're scripting daily, weekly, or monthly backups, you'll probably want to prune old backups. | |||
The command below will keep one backup from today, one backup from last week, and one backup from one month. | |||
<pre> | |||
borg prune --keep-daily 1 --keep-weekly 1 --keep-monthly 1 remote:~/my_backup | |||
</pre> | |||
==Resources== | ==Resources== | ||
* [https://practical-admin.com/blog/backups-using-borg/ practical-admin backups using borg] | * [https://practical-admin.com/blog/backups-using-borg/ practical-admin backups using borg] |