Borgbackup: Difference between revisions

469 bytes added ,  30 December 2020
Line 49: Line 49:
borg prune --keep-daily 1 --keep-weekly 1 --keep-monthly 1 remote:~/my_backup
borg prune --keep-daily 1 --keep-weekly 1 --keep-monthly 1 remote:~/my_backup
</pre>
</pre>
===Extract===
See [https://borgbackup.readthedocs.io/en/stable/usage/extract.html extract]
<pre>
borg extract archive --progress
</pre>
* Note that borgbackup <code>1.1.11</code> included in Ubuntu 20.04 has a memory leak when using <code>--progress</code> [https://github.com/borgbackup/borg/issues/5162 documented here]. Download a newer version of borgbackup.
* You should extract to an empty folder since borg does not delete existing files in the target folder.


==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]