1restic backup(1) restic backup(1)
2
3
4
6 restic-key - Manage keys (passwords)
7
8
9
11 restic key [flags] [list|add|remove|passwd] [ID]
12
13
14
16 The "key" command manages keys (passwords) for accessing the
17 repository.
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]
29 help for key
30
31
32 --host=""
33 the hostname for new keys
34
35
36 --new-password-file=""
37 file from which to read the new password
38
39
40 --user=""
41 the username for new keys
42
43
44
46 --cacert=[]
47 file to load root certificates from (default: use system
48 certificates)
49
50
51 --cache-dir=""
52 set the cache directory. (default: use system default cache
53 directory)
54
55
56 --cleanup-cache[=false]
57 auto remove old cache directories
58
59
60 --json[=false]
61 set output mode to JSON for commands that support it
62
63
64 --key-hint=""
65 key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
66
67
68 --limit-download=0
69 limits downloads to a maximum rate in KiB/s. (default: unlimited)
70
71
72 --limit-upload=0
73 limits uploads to a maximum rate in KiB/s. (default: unlimited)
74
75
76 --no-cache[=false]
77 do not use a local cache
78
79
80 --no-lock[=false]
81 do not lock the repository, this allows some operations on
82 read-only repositories
83
84
85 -o, --option=[]
86 set extended option (key=value, can be specified multiple times)
87
88
89 --password-command=""
90 shell command to obtain the repository password from (default:
91 $RESTIC_PASSWORD_COMMAND)
92
93
94 -p, --password-file=""
95 file to read the repository password from (default:
96 $RESTIC_PASSWORD_FILE)
97
98
99 -q, --quiet[=false]
100 do not output comprehensive progress report
101
102
103 -r, --repo=""
104 repository to backup to or restore from (default:
105 $RESTIC_REPOSITORY)
106
107
108 --repository-file=""
109 file to read the repository location from (default:
110 $RESTIC_REPOSITORY_FILE)
111
112
113 --tls-client-cert=""
114 path to a file containing PEM encoded TLS client certificate and
115 private key
116
117
118 -v, --verbose[=0]
119 be verbose (specify multiple times or a level using --verbose=n,
120 max level/times is 3)
121
122
123
125 restic(1)
126
127
128
129generated by `restic generate` Jan 2017 restic backup(1)