Difference between revisions of "Restic forget"
Jump to navigation
Jump to search
(Created page with "{{lc}} restic prune {{restic}}") |
|||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | --keep-last n keep the n last (most recent) snapshots. | ||
+ | |||
+ | --keep-hourly n for the last n hours which have one or more snapshots, keep only the most recent one for each hour. | ||
+ | |||
+ | --keep-daily n for the last n days which have one or more snapshots, keep only the most recent one for each day. | ||
+ | |||
+ | --keep-weekly n for the last n weeks which have one or more snapshots, keep only the most recent one for each week. | ||
+ | |||
+ | --keep-monthly n for the last n months which have one or more snapshots, keep only the most recent one for each month. | ||
+ | |||
+ | --keep-yearly n for the last n years which have one or more snapshots, keep only the most recent one for each year. | ||
+ | |||
+ | --keep-tag keep all snapsh | ||
+ | == Related == | ||
[[restic prune]] | [[restic prune]] | ||
{{restic}} | {{restic}} |
Latest revision as of 11:31, 12 December 2023
--keep-last n keep the n last (most recent) snapshots. --keep-hourly n for the last n hours which have one or more snapshots, keep only the most recent one for each hour. --keep-daily n for the last n days which have one or more snapshots, keep only the most recent one for each day. --keep-weekly n for the last n weeks which have one or more snapshots, keep only the most recent one for each week. --keep-monthly n for the last n months which have one or more snapshots, keep only the most recent one for each month. --keep-yearly n for the last n years which have one or more snapshots, keep only the most recent one for each year. --keep-tag keep all snapsh
Related[edit]
restic prune
Advertising: