1restic backup(1)                                              restic backup(1)
2
3
4

NAME

6       restic-key - Manage keys (passwords)
7
8
9

SYNOPSIS

11       restic key [flags] [list|add|remove|passwd] [ID]
12
13
14

DESCRIPTION

16       The  "key"  command  manages keys (passwords) for accessing the reposi‐
17       tory.
18
19
20

EXIT STATUS

22       Exit status is 0 if the command was successful, and non-zero  if  there
23       was any error.
24
25
26

OPTIONS

28       -h, --help[=false]      help for key
29
30
31       --host=""      the hostname for new keys
32
33
34       --new-password-file=""      file from which to read the new password
35
36
37       --user=""      the username for new keys
38
39
40

OPTIONS INHERITED FROM PARENT COMMANDS

42       --cacert=[]      file to load root certificates from (default: use sys‐
43       tem certificates)
44
45
46       --cache-dir=""      set the cache directory. (default: use  system  de‐
47       fault cache directory)
48
49
50       --cleanup-cache[=false]      auto remove old cache directories
51
52
53       --json[=false]       set  output mode to JSON for commands that support
54       it
55
56
57       --key-hint=""      key ID of key  to  try  decrypting  first  (default:
58       $RESTIC_KEY_HINT)
59
60
61       --limit-download=0       limits  downloads  to a maximum rate in KiB/s.
62       (default: unlimited)
63
64
65       --limit-upload=0      limits uploads to a maximum rate in  KiB/s.  (de‐
66       fault: unlimited)
67
68
69       --no-cache[=false]      do not use a local cache
70
71
72       --no-lock[=false]      do not lock the repository, this allows some op‐
73       erations on read-only repositories
74
75
76       -o, --option=[]      set extended option (key=value, can  be  specified
77       multiple times)
78
79
80       --password-command=""      shell command to obtain the repository pass‐
81       word from (default: $RESTIC_PASSWORD_COMMAND)
82
83
84       -p, --password-file=""      file to read the repository  password  from
85       (default: $RESTIC_PASSWORD_FILE)
86
87
88       -q, --quiet[=false]      do not output comprehensive progress report
89
90
91       -r,  --repo=""       repository  to backup to or restore from (default:
92       $RESTIC_REPOSITORY)
93
94
95       --repository-file=""      file to read  the  repository  location  from
96       (default: $RESTIC_REPOSITORY_FILE)
97
98
99       --tls-client-cert=""       path  to  a  file containing PEM encoded TLS
100       client certificate and private key
101
102
103       -v, --verbose[=0]      be verbose (specify multiple times  or  a  level
104       using --verbose=n, max level/times is 3)
105
106
107

SEE ALSO

109       restic(1)
110
111
112
113generated by restic generate       Jan 2017                   restic backup(1)
Impressum