Skip to content

Commit 1159ec1

Browse files
author
Ryan
committed
docs: clarify forget.keep- value 0 doesn't remove snapshots (#526)
1 parent a761a7b commit 1159ec1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

restic/commands.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@
819819
"Name": "keep-daily",
820820
"Alias": "d",
821821
"Default": "0",
822-
"Description": "keep the last n daily snapshots (use 'unlimited' to keep all daily snapshots)",
822+
"Description": "keep the last n daily snapshots (use 'unlimited' to keep all daily snapshots). The default value of 0 removes no snapshots. See https://restic.readthedocs.io/en/latest/060_forget.html#removing-all-snapshots",
823823
"Once": true,
824824
"FromVersion": "",
825825
"RemovedInVersion": ""
@@ -828,7 +828,7 @@
828828
"Name": "keep-hourly",
829829
"Alias": "H",
830830
"Default": "0",
831-
"Description": "keep the last n hourly snapshots (use 'unlimited' to keep all hourly snapshots)",
831+
"Description": "keep the last n hourly snapshots (use 'unlimited' to keep all hourly snapshots). The default value of 0 removes no snapshots. See https://restic.readthedocs.io/en/latest/060_forget.html#removing-all-snapshots",
832832
"Once": true,
833833
"FromVersion": "",
834834
"RemovedInVersion": ""
@@ -837,7 +837,7 @@
837837
"Name": "keep-last",
838838
"Alias": "l",
839839
"Default": "0",
840-
"Description": "keep the last n snapshots (use 'unlimited' to keep all snapshots)",
840+
"Description": "keep the last n snapshots (use 'unlimited' to keep all snapshots). The default value of 0 removes no snapshots. See https://restic.readthedocs.io/en/latest/060_forget.html#removing-all-snapshots",
841841
"Once": true,
842842
"FromVersion": "",
843843
"RemovedInVersion": ""
@@ -846,7 +846,7 @@
846846
"Name": "keep-monthly",
847847
"Alias": "m",
848848
"Default": "0",
849-
"Description": "keep the last n monthly snapshots (use 'unlimited' to keep all monthly snapshots)",
849+
"Description": "keep the last n monthly snapshots (use 'unlimited' to keep all monthly snapshots). The default value of 0 removes no snapshots. See https://restic.readthedocs.io/en/latest/060_forget.html#removing-all-snapshots",
850850
"Once": true,
851851
"FromVersion": "",
852852
"RemovedInVersion": ""
@@ -864,7 +864,7 @@
864864
"Name": "keep-weekly",
865865
"Alias": "w",
866866
"Default": "0",
867-
"Description": "keep the last n weekly snapshots (use 'unlimited' to keep all weekly snapshots)",
867+
"Description": "keep the last n weekly snapshots (use 'unlimited' to keep all weekly snapshots). The default value of 0 removes no snapshots. See https://restic.readthedocs.io/en/latest/060_forget.html#removing-all-snapshots",
868868
"Once": true,
869869
"FromVersion": "",
870870
"RemovedInVersion": ""
@@ -927,7 +927,7 @@
927927
"Name": "keep-yearly",
928928
"Alias": "y",
929929
"Default": "0",
930-
"Description": "keep the last n yearly snapshots (use 'unlimited' to keep all yearly snapshots)",
930+
"Description": "keep the last n yearly snapshots (use 'unlimited' to keep all yearly snapshots). The default value of 0 removes no snapshots. See https://restic.readthedocs.io/en/latest/060_forget.html#removing-all-snapshots",
931931
"Once": true,
932932
"FromVersion": "",
933933
"RemovedInVersion": ""

0 commit comments

Comments
 (0)