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

NAME

6       restic-generate  -  Generate  manual  pages  and  auto-completion files
7       (bash, fish, zsh, powershell)
8
9
10

SYNOPSIS

12       restic generate [flags]
13
14
15

DESCRIPTION

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

EXIT STATUS

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

OPTIONS

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       --powershell-completion=""      write powershell completion file
42
43
44       --zsh-completion=""      write zsh completion file
45
46
47

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

132       restic(1)
133
134
135
136generated by restic generate       Jan 2017                   restic backup(1)
Impressum