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 --compression=auto compression mode (only available for repository
58 format version 2), one of (auto|off|max)
59
60
61 --insecure-tls[=false] skip TLS certificate verification when con‐
62 necting to the repository (insecure)
63
64
65 --json[=false] set output mode to JSON for commands that support
66 it
67
68
69 --key-hint="" key ID of key to try decrypting first (default:
70 $RESTIC_KEY_HINT)
71
72
73 --limit-download=0 limits downloads to a maximum rate in KiB/s.
74 (default: unlimited)
75
76
77 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
78 fault: unlimited)
79
80
81 --no-cache[=false] do not use a local cache
82
83
84 --no-lock[=false] do not lock the repository, this allows some op‐
85 erations on read-only repositories
86
87
88 -o, --option=[] set extended option (key=value, can be specified
89 multiple times)
90
91
92 --pack-size=0 set target pack size in MiB, created pack files may
93 be larger (default: $RESTIC_PACK_SIZE)
94
95
96 --password-command="" shell command to obtain the repository pass‐
97 word from (default: $RESTIC_PASSWORD_COMMAND)
98
99
100 -p, --password-file="" file to read the repository password from
101 (default: $RESTIC_PASSWORD_FILE)
102
103
104 -q, --quiet[=false] do not output comprehensive progress report
105
106
107 -r, --repo="" repository to backup to or restore from (default:
108 $RESTIC_REPOSITORY)
109
110
111 --repository-file="" file to read the repository location from
112 (default: $RESTIC_REPOSITORY_FILE)
113
114
115 --tls-client-cert="" path to a file containing PEM encoded TLS
116 client certificate and private key
117
118
119 -v, --verbose[=0] be verbose (specify multiple times or a level
120 using --verbose=n, max level/times is 3)
121
122
123
125 restic(1)
126
127
128
129generated by restic generate Jan 2017 restic backup(1)