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

NAME

6       restic-restore - Extract the data from a snapshot
7
8
9

SYNOPSIS

11       restic restore [flags] snapshotID
12
13
14

DESCRIPTION

16       The "restore" command extracts the data from a snapshot from the
17       repository to a directory.
18
19
20       The special snapshot "latest" can be used to restore the latest
21       snapshot in the repository.
22
23
24

OPTIONS

26       -e, --exclude=[]
27           exclude a pattern (can be specified multiple times)
28
29
30       -h, --help[=false]
31           help for restore
32
33
34       -H, --host=""
35           only consider snapshots for this host when the snapshot ID is
36       "latest"
37
38
39       --iexclude=[]
40           same as --exclude but ignores the casing of filenames
41
42
43       --iinclude=[]
44           same as --include but ignores the casing of filenames
45
46
47       -i, --include=[]
48           include a pattern, exclude everything else (can be specified
49       multiple times)
50
51
52       --path=[]
53           only consider snapshots which include this (absolute) path for
54       snapshot ID "latest"
55
56
57       --tag=[]
58           only consider snapshots which include this taglist for snapshot ID
59       "latest"
60
61
62       -t, --target=""
63           directory to extract data to
64
65
66       --verify[=false]
67           verify restored files content
68
69
70

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

145       restic(1)
146
147
148
149generated by `restic generate`     Jan 2017                   restic backup(1)
Impressum