1restic backup(1) restic backup(1)
2
3
4
6 restic-generate - Generate manual pages and auto-completion files
7 (bash, fish, zsh)
8
9
10
12 restic generate [flags]
13
14
15
17 The "generate" command writes automatically generated files (like the
18 man pages and the auto-completion files for bash, fish and zsh).
19
20
21
23 Exit status is 0 if the command was successful, and non-zero if there
24 was any error.
25
26
27
29 --bash-completion="" write bash completion file
30
31
32 --fish-completion="" write fish completion file
33
34
35 -h, --help[=false] help for generate
36
37
38 --man="" write man pages to directory
39
40
41 --zsh-completion="" write zsh completion file
42
43
44
46 --cacert=[] file to load root certificates from (default: use sys‐
47 tem certificates)
48
49
50 --cache-dir="" set the cache directory. (default: use system de‐
51 fault cache directory)
52
53
54 --cleanup-cache[=false] auto remove old cache directories
55
56
57 --json[=false] set output mode to JSON for commands that support
58 it
59
60
61 --key-hint="" key ID of key to try decrypting first (default:
62 $RESTIC_KEY_HINT)
63
64
65 --limit-download=0 limits downloads to a maximum rate in KiB/s.
66 (default: unlimited)
67
68
69 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
70 fault: unlimited)
71
72
73 --no-cache[=false] do not use a local cache
74
75
76 --no-lock[=false] do not lock the repository, this allows some op‐
77 erations on read-only repositories
78
79
80 -o, --option=[] set extended option (key=value, can be specified
81 multiple times)
82
83
84 --password-command="" shell command to obtain the repository pass‐
85 word from (default: $RESTIC_PASSWORD_COMMAND)
86
87
88 -p, --password-file="" file to read the repository password from
89 (default: $RESTIC_PASSWORD_FILE)
90
91
92 -q, --quiet[=false] do not output comprehensive progress report
93
94
95 -r, --repo="" repository to backup to or restore from (default:
96 $RESTIC_REPOSITORY)
97
98
99 --repository-file="" file to read the repository location from
100 (default: $RESTIC_REPOSITORY_FILE)
101
102
103 --tls-client-cert="" path to a file containing PEM encoded TLS
104 client certificate and private key
105
106
107 -v, --verbose[=0] be verbose (specify multiple times or a level
108 using --verbose=n, max level/times is 3)
109
110
111
113 restic(1)
114
115
116
117generated by restic generate Jan 2017 restic backup(1)