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

OPTIONS

21       -h, --help[=false]
22           help for init
23
24
25

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

100       restic(1)
101
102
103
104generated by `restic generate`     Jan 2017                   restic backup(1)
Impressum