From 1159ec1dcb3f0331ea14db42cb434be10673b0c2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 6 Sep 2025 14:24:06 -0700 Subject: [PATCH] docs: clarify forget.keep- value 0 doesn't remove snapshots (#526) --- restic/commands.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/restic/commands.json b/restic/commands.json index 9b6a7e4a6..09495a1b7 100644 --- a/restic/commands.json +++ b/restic/commands.json @@ -819,7 +819,7 @@ "Name": "keep-daily", "Alias": "d", "Default": "0", - "Description": "keep the last n daily snapshots (use 'unlimited' to keep all daily snapshots)", + "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", "Once": true, "FromVersion": "", "RemovedInVersion": "" @@ -828,7 +828,7 @@ "Name": "keep-hourly", "Alias": "H", "Default": "0", - "Description": "keep the last n hourly snapshots (use 'unlimited' to keep all hourly snapshots)", + "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", "Once": true, "FromVersion": "", "RemovedInVersion": "" @@ -837,7 +837,7 @@ "Name": "keep-last", "Alias": "l", "Default": "0", - "Description": "keep the last n snapshots (use 'unlimited' to keep all snapshots)", + "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", "Once": true, "FromVersion": "", "RemovedInVersion": "" @@ -846,7 +846,7 @@ "Name": "keep-monthly", "Alias": "m", "Default": "0", - "Description": "keep the last n monthly snapshots (use 'unlimited' to keep all monthly snapshots)", + "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", "Once": true, "FromVersion": "", "RemovedInVersion": "" @@ -864,7 +864,7 @@ "Name": "keep-weekly", "Alias": "w", "Default": "0", - "Description": "keep the last n weekly snapshots (use 'unlimited' to keep all weekly snapshots)", + "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", "Once": true, "FromVersion": "", "RemovedInVersion": "" @@ -927,7 +927,7 @@ "Name": "keep-yearly", "Alias": "y", "Default": "0", - "Description": "keep the last n yearly snapshots (use 'unlimited' to keep all yearly snapshots)", + "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", "Once": true, "FromVersion": "", "RemovedInVersion": ""