man: add note about append-only mode to restic-unlock.1

Since restic unlock _removes_ locks, a user might wonder
whether this works in append-only mode, which prevents deletion of
data.  This change explicitly mentions in the man page that the deletion
of locks is an allowed exception.
This commit is contained in:
Martin Castillo
2026-01-24 19:43:30 +01:00
parent 9e2d60e28c
commit 2269ec82e1

View File

@@ -19,6 +19,8 @@ func newUnlockCommand(globalOptions *global.Options) *cobra.Command {
Long: ` Long: `
The "unlock" command removes stale locks that have been created by other restic processes. The "unlock" command removes stale locks that have been created by other restic processes.
Removing locks works even with repositories served in append-only mode from restic's rest-server.
EXIT STATUS EXIT STATUS
=========== ===========