mirror of
https://github.com/restic/restic.git
synced 2026-02-17 06:23:56 +00:00
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:
@@ -19,6 +19,8 @@ func newUnlockCommand(globalOptions *global.Options) *cobra.Command {
|
||||
Long: `
|
||||
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
|
||||
===========
|
||||
|
||||
|
||||
Reference in New Issue
Block a user