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

NAME

6       restic-init - Initialize a new repository
7
8
9

SYNOPSIS

11       restic init [flags]
12
13
14

DESCRIPTION

16       The "init" command initializes a new repository.
17
18
19

EXIT STATUS

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

OPTIONS

27       --copy-chunker-params[=false]
28           copy chunker parameters from the secondary repository (useful with
29       the copy command)
30
31
32       -h, --help[=false]
33           help for init
34
35
36       --key-hint2=""
37           key ID of key to try decrypting the secondary repository first
38       (default: $RESTIC_KEY_HINT2)
39
40
41       --password-command2=""
42           shell command to obtain the secondary repository password from
43       (default: $RESTIC_PASSWORD_COMMAND2)
44
45
46       --password-file2=""
47           file to read the secondary repository password from (default:
48       $RESTIC_PASSWORD_FILE2)
49
50
51       --repo2=""
52           secondary repository to copy chunker parameters from (default:
53       $RESTIC_REPOSITORY2)
54
55
56

OPTIONS INHERITED FROM PARENT COMMANDS

58       --cacert=[]
59           file to load root certificates from (default: use system
60       certificates)
61
62
63       --cache-dir=""
64           set the cache directory. (default: use system default cache
65       directory)
66
67
68       --cleanup-cache[=false]
69           auto remove old cache directories
70
71
72       --json[=false]
73           set output mode to JSON for commands that support it
74
75
76       --key-hint=""
77           key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
78
79
80       --limit-download=0
81           limits downloads to a maximum rate in KiB/s. (default: unlimited)
82
83
84       --limit-upload=0
85           limits uploads to a maximum rate in KiB/s. (default: unlimited)
86
87
88       --no-cache[=false]
89           do not use a local cache
90
91
92       --no-lock[=false]
93           do not lock the repository, this allows some operations on
94       read-only repositories
95
96
97       -o, --option=[]
98           set extended option (key=value, can be specified multiple times)
99
100
101       --password-command=""
102           shell command to obtain the repository password from (default:
103       $RESTIC_PASSWORD_COMMAND)
104
105
106       -p, --password-file=""
107           file to read the repository password from (default:
108       $RESTIC_PASSWORD_FILE)
109
110
111       -q, --quiet[=false]
112           do not output comprehensive progress report
113
114
115       -r, --repo=""
116           repository to backup to or restore from (default:
117       $RESTIC_REPOSITORY)
118
119
120       --repository-file=""
121           file to read the repository location from (default:
122       $RESTIC_REPOSITORY_FILE)
123
124
125       --tls-client-cert=""
126           path to a file containing PEM encoded TLS client certificate and
127       private key
128
129
130       -v, --verbose[=0]
131           be verbose (specify multiple times or a level using --verbose=n,
132       max level/times is 3)
133
134
135

SEE ALSO

137       restic(1)
138
139
140
141generated by `restic generate`     Jan 2017                   restic backup(1)
Impressum