1restic backup(1) restic backup(1)
2
3
4
6 restic-recover - Recover data from the repository
7
8
9
11 restic recover [flags]
12
13
14
16 The "recover" command builds a new snapshot from all directories it can
17 find in the raw data of the repository. It can be used if, for example,
18 a snapshot has been removed by accident with "forget".
19
20
21
23 Exit status is 0 if the command was successful, and non-zero if there
24 was any error.
25
26
27
29 -h, --help[=false]
30 help for recover
31
32
33
35 --cacert=[]
36 file to load root certificates from (default: use system
37 certificates)
38
39
40 --cache-dir=""
41 set the cache directory. (default: use system default cache
42 directory)
43
44
45 --cleanup-cache[=false]
46 auto remove old cache directories
47
48
49 --json[=false]
50 set output mode to JSON for commands that support it
51
52
53 --key-hint=""
54 key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
55
56
57 --limit-download=0
58 limits downloads to a maximum rate in KiB/s. (default: unlimited)
59
60
61 --limit-upload=0
62 limits uploads to a maximum rate in KiB/s. (default: unlimited)
63
64
65 --no-cache[=false]
66 do not use a local cache
67
68
69 --no-lock[=false]
70 do not lock the repository, this allows some operations on
71 read-only repositories
72
73
74 -o, --option=[]
75 set extended option (key=value, can be specified multiple times)
76
77
78 --password-command=""
79 shell command to obtain the repository password from (default:
80 $RESTIC_PASSWORD_COMMAND)
81
82
83 -p, --password-file=""
84 file to read the repository password from (default:
85 $RESTIC_PASSWORD_FILE)
86
87
88 -q, --quiet[=false]
89 do not output comprehensive progress report
90
91
92 -r, --repo=""
93 repository to backup to or restore from (default:
94 $RESTIC_REPOSITORY)
95
96
97 --repository-file=""
98 file to read the repository location from (default:
99 $RESTIC_REPOSITORY_FILE)
100
101
102 --tls-client-cert=""
103 path to a file containing PEM encoded TLS client certificate and
104 private key
105
106
107 -v, --verbose[=0]
108 be verbose (specify multiple times or a level using --verbose=n,
109 max level/times is 3)
110
111
112
114 restic(1)
115
116
117
118generated by `restic generate` Jan 2017 restic backup(1)