mirror of
https://github.com/restic/restic.git
synced 2025-08-15 08:47:30 +00:00
Do not use singleton counter.
Revert change for running the numbered tests as subtests.
This commit is contained in:
@@ -789,7 +789,7 @@ hours/days/weeks/months/years which have a snapshot, so those without a
|
||||
snapshot are ignored.
|
||||
|
||||
All snapshots are evaluated counted against all matching keep-* counts. A
|
||||
single snapshot on 30-09-2017 (Sun) will count as a daily, weekly and monthly.
|
||||
single snapshot on 2017-09-30 (Sun) will count as a daily, weekly and monthly.
|
||||
|
||||
Let's explain this with an example: Suppose you have only made a backup
|
||||
on each Sunday for 12 weeks. Then ``forget --keep-daily 4`` will keep
|
||||
@@ -803,8 +803,8 @@ Another example: Suppose you make daily backups for 100 years. Then
|
||||
``forget --keep-daily 7 --keep-weekly 5 --keep-monthly 12 --keep-yearly 75``
|
||||
will keep the most recent 7 daily snapshots, then 4 (remember, 7 dailies
|
||||
already include a week!) last-day-of-the-weeks and 11 or 12
|
||||
last-day-of-the-months. (11 or 12 depends if the 5 weeklies cross a month).
|
||||
And ofcourse 75 last-day-of-the-year snapshots. All other snapshots are
|
||||
last-day-of-the-months (11 or 12 depends if the 5 weeklies cross a month).
|
||||
And finally 75 last-day-of-the-year snapshots. All other snapshots are
|
||||
removed.
|
||||
|
||||
Autocompletion
|
||||
|
Reference in New Issue
Block a user