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       -h, --help[=false]      help for init
32
33
34       --key-hint2=""       key  ID  of  key  to  try decrypting the secondary
35       repository first (default: $RESTIC_KEY_HINT2)
36
37
38       --password-command2=""       shell  command  to  obtain  the  secondary
39       repository password from (default: $RESTIC_PASSWORD_COMMAND2)
40
41
42       --password-file2=""      file to read the secondary repository password
43       from (default: $RESTIC_PASSWORD_FILE2)
44
45
46       --repo2=""      secondary repository to copy  chunker  parameters  from
47       (default: $RESTIC_REPOSITORY2)
48
49
50       --repository-file2=""      file from which to read the secondary repos‐
51       itory location to copy chunker parameters from (default: $RESTIC_REPOS‐
52       ITORY_FILE2)
53
54
55

OPTIONS INHERITED FROM PARENT COMMANDS

57       --cacert=[]      file to load root certificates from (default: use sys‐
58       tem certificates)
59
60
61       --cache-dir=""      set the cache directory. (default: use  system  de‐
62       fault cache directory)
63
64
65       --cleanup-cache[=false]      auto remove old cache directories
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       --password-command=""      shell command to obtain the repository pass‐
96       word from (default: $RESTIC_PASSWORD_COMMAND)
97
98
99       -p, --password-file=""      file to read the repository  password  from
100       (default: $RESTIC_PASSWORD_FILE)
101
102
103       -q, --quiet[=false]      do not output comprehensive progress report
104
105
106       -r,  --repo=""       repository  to backup to or restore from (default:
107       $RESTIC_REPOSITORY)
108
109
110       --repository-file=""      file to read  the  repository  location  from
111       (default: $RESTIC_REPOSITORY_FILE)
112
113
114       --tls-client-cert=""       path  to  a  file containing PEM encoded TLS
115       client certificate and private key
116
117
118       -v, --verbose[=0]      be verbose (specify multiple times  or  a  level
119       using --verbose=n, max level/times is 3)
120
121
122

SEE ALSO

124       restic(1)
125
126
127
128generated by restic generate       Jan 2017                   restic backup(1)
Impressum