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 Exit status is 0 if the command was successful, and non-zero if there
28 was any error.
29
30
31
33 --check-unused[=false]
34 find unused blobs
35
36
37 -h, --help[=false]
38 help for check
39
40
41 --read-data[=false]
42 read all data blobs
43
44
45 --read-data-subset=""
46 read a subset of data packs, specified as 'n/t' for specific subset
47 or either 'x%' or 'x.y%' for random subset
48
49
50 --with-cache[=false]
51 use the cache
52
53
54
56 --cacert=[]
57 file to load root certificates from (default: use system
58 certificates)
59
60
61 --cache-dir=""
62 set the cache directory. (default: use system default cache
63 directory)
64
65
66 --cleanup-cache[=false]
67 auto remove old cache directories
68
69
70 --json[=false]
71 set output mode to JSON for commands that support it
72
73
74 --key-hint=""
75 key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
76
77
78 --limit-download=0
79 limits downloads to a maximum rate in KiB/s. (default: unlimited)
80
81
82 --limit-upload=0
83 limits uploads to a maximum rate in KiB/s. (default: unlimited)
84
85
86 --no-cache[=false]
87 do not use a local cache
88
89
90 --no-lock[=false]
91 do not lock the repository, this allows some operations on
92 read-only repositories
93
94
95 -o, --option=[]
96 set extended option (key=value, can be specified multiple times)
97
98
99 --password-command=""
100 shell command to obtain the repository password from (default:
101 $RESTIC_PASSWORD_COMMAND)
102
103
104 -p, --password-file=""
105 file to read the repository password from (default:
106 $RESTIC_PASSWORD_FILE)
107
108
109 -q, --quiet[=false]
110 do not output comprehensive progress report
111
112
113 -r, --repo=""
114 repository to backup to or restore from (default:
115 $RESTIC_REPOSITORY)
116
117
118 --repository-file=""
119 file to read the repository location from (default:
120 $RESTIC_REPOSITORY_FILE)
121
122
123 --tls-client-cert=""
124 path to a file containing PEM encoded TLS client certificate and
125 private key
126
127
128 -v, --verbose[=0]
129 be verbose (specify multiple times or a level using --verbose=n,
130 max level/times is 3)
131
132
133
135 restic(1)
136
137
138
139generated by `restic generate` Jan 2017 restic backup(1)