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