1restic backup(1) restic backup(1)
2
3
4
6 restic-unlock - Remove locks other processes created
7
8
9
11 restic unlock [flags]
12
13
14
16 The "unlock" command removes stale locks that have been created by
17 other restic processes.
18
19
20
22 Exit status is 0 if the command was successful, and non-zero if there
23 was any error.
24
25
26
28 -h, --help[=false] help for unlock
29
30
31 --remove-all[=false] remove all locks, even non-stale ones
32
33
34
36 --cacert=[] file to load root certificates from (default: use sys‐
37 tem certificates or $RESTIC_CACERT)
38
39
40 --cache-dir="" set the cache directory. (default: use system de‐
41 fault cache directory)
42
43
44 --cleanup-cache[=false] auto remove old cache directories
45
46
47 --compression=auto compression mode (only available for repository
48 format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
49
50
51 --insecure-tls[=false] skip TLS certificate verification when con‐
52 necting to the repository (insecure)
53
54
55 --json[=false] set output mode to JSON for commands that support
56 it
57
58
59 --key-hint="" key ID of key to try decrypting first (default:
60 $RESTIC_KEY_HINT)
61
62
63 --limit-download=0 limits downloads to a maximum rate in KiB/s.
64 (default: unlimited)
65
66
67 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
68 fault: unlimited)
69
70
71 --no-cache[=false] do not use a local cache
72
73
74 --no-lock[=false] do not lock the repository, this allows some op‐
75 erations on read-only repositories
76
77
78 -o, --option=[] set extended option (key=value, can be specified
79 multiple times)
80
81
82 --pack-size=0 set target pack size in MiB, created pack files may
83 be larger (default: $RESTIC_PACK_SIZE)
84
85
86 --password-command="" shell command to obtain the repository pass‐
87 word from (default: $RESTIC_PASSWORD_COMMAND)
88
89
90 -p, --password-file="" file to read the repository password from
91 (default: $RESTIC_PASSWORD_FILE)
92
93
94 -q, --quiet[=false] do not output comprehensive progress report
95
96
97 -r, --repo="" repository to backup to or restore from (default:
98 $RESTIC_REPOSITORY)
99
100
101 --repository-file="" file to read the repository location from
102 (default: $RESTIC_REPOSITORY_FILE)
103
104
105 --retry-lock=0s retry to lock the repository if it is already
106 locked, takes a value like 5m or 2h (default: no retries)
107
108
109 --tls-client-cert="" path to a file containing PEM encoded TLS
110 client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
111
112
113 -v, --verbose[=0] be verbose (specify multiple times or a level
114 using --verbose=n``, max level/times is 2)
115
116
117
119 restic(1)
120
121
122
123generated by restic generate Jan 2017 restic backup(1)