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]      copy  chunker  parameters  from  the
28       secondary repository (useful with the copy command)
29
30
31       --from-key-hint=""       key  ID  of  key  to try decrypting the source
32       repository first (default: $RESTIC_FROM_KEY_HINT)
33
34
35       --from-password-command=""      shell  command  to  obtain  the  source
36       repository password from (default: $RESTIC_FROM_PASSWORD_COMMAND)
37
38
39       --from-password-file=""       file  to read the source repository pass‐
40       word from (default: $RESTIC_FROM_PASSWORD_FILE)
41
42
43       --from-repo=""      source repository to copy chunker  parameters  from
44       (default: $RESTIC_FROM_REPOSITORY)
45
46
47       --from-repository-file=""       file  from  which  to  read  the source
48       repository  location  to  copy  chunker   parameters   from   (default:
49       $RESTIC_FROM_REPOSITORY_FILE)
50
51
52       -h, --help[=false]      help for init
53
54
55       --repository-version="stable"       repository  format  version to use,
56       allowed values are a format version, 'latest' and 'stable'
57
58
59

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

140       restic(1)
141
142
143
144generated by restic generate       Jan 2017                   restic backup(1)
Impressum