Difference between revisions of "Backups"
From Briki
(→Listing previous snapshots) |
|||
Line 3: | Line 3: | ||
. /etc/restic-init | . /etc/restic-init | ||
restic snapshots | restic snapshots | ||
+ | |||
+ | == Pruning old history == | ||
+ | Note: This will also trim the size of the /root/.cache/restic directory | ||
+ | sudo -i | ||
+ | . /etc/restic-init | ||
+ | restic prune |
Revision as of 15:56, 31 December 2021
Listing previous snapshots
sudo -i . /etc/restic-init restic snapshots
Pruning old history
Note: This will also trim the size of the /root/.cache/restic directory
sudo -i . /etc/restic-init restic prune