Last active
August 16, 2019 11:07
-
-
Save jralvarezc/7442e05a4583422099bc7d33258c6496 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ restic forget --keep-last 1 --keep-within 24h --keep-daily 7 --keep-weekly 12 --keep-monthly 36 --keep-yearly 15 | |
repository 0ac9b387 opened successfully, password is correct | |
Applying Policy: keep the last 1 snapshots, 7 daily, 12 weekly, 36 monthly, 15 yearly snapshots and all snapshots within 24h of the newest | |
keep 9 snapshots: | |
ID Time Host Tags Reasons Paths | |
--------------------------------------------------------------------------------------- | |
27807352 2019-08-08 23:02:58 auto daily snapshot /home/ralvarez | |
5f50a4df 2019-08-09 00:36:38 auto daily snapshot /home/ralvarez | |
210739ff 2019-08-11 22:24:50 auto daily snapshot /home/ralvarez | |
weekly snapshot | |
e13bb856 2019-08-12 23:26:28 auto daily snapshot /home/ralvarez | |
19441248 2019-08-13 23:14:18 auto daily snapshot /home/ralvarez | |
91070168 2019-08-14 22:50:52 auto daily snapshot /home/ralvarez | |
493ef466 2019-08-15 13:31:16 auto within 24h /home/ralvarez | |
fd9b4a80 2019-08-15 18:40:56 auto within 24h /home/ralvarez | |
249bddf1 2019-08-15 23:27:16 auto within 24h /home/ralvarez | |
last snapshot | |
daily snapshot | |
weekly snapshot | |
monthly snapshot | |
yearly snapshot | |
--------------------------------------------------------------------------------------- | |
9 snapshots | |
$ restic prune | |
repository 0ac9b387 opened successfully, password is correct | |
counting files in repo | |
building new index for repo | |
[1:12:34] 100.00% 22118 / 22118 packs | |
repository contains 22118 packs (467846 blobs) with 101.864 GiB | |
processed 467846 blobs: 38 duplicate blobs, 28.386 MiB duplicate | |
load all snapshots | |
find data that is still in use for 9 snapshots | |
[0:10] 100.00% 9 / 9 snapshots | |
found 406791 of 467846 data blobs still in use, removing 61055 blobs | |
will remove 0 invalid files | |
will delete 734 packs and rewrite 845 packs, this frees 5.341 GiB | |
[1:01:59] 100.00% 845 / 845 packs rewritten | |
counting files in repo | |
[1:03:42] 100.00% 20814 / 20814 packs | |
finding old index files | |
saved new indexes as [3986ab2c 3d1e11a3 d4fd4eb0 3ef83f1b 746d9b54 37d30cf8 5b01d83d] | |
remove 160 old index files | |
[32:33] 100.00% 1579 / 1579 packs deleted | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment