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