github.com/advanderveer/restic@v0.8.1-0.20171209104529-42a8c19aaea6/doc/man/restic-check.1 (about) 1 .TH "restic backup" "1" "Jan 2017" "generated by `restic generate`" "" 2 .nh 3 .ad l 4 5 6 .SH NAME 7 .PP 8 restic\-check \- Check the repository for errors 9 10 11 .SH SYNOPSIS 12 .PP 13 \fBrestic check [flags]\fP 14 15 16 .SH DESCRIPTION 17 .PP 18 The "check" command tests the repository for errors and reports any errors it 19 finds. It can also be used to read all data and therefore simulate a restore. 20 21 .PP 22 By default, the "check" command will always load all data directly from the 23 repository and not use a local cache. 24 25 26 .SH OPTIONS 27 .PP 28 \fB\-\-check\-unused\fP[=false] 29 find unused blobs 30 31 .PP 32 \fB\-h\fP, \fB\-\-help\fP[=false] 33 help for check 34 35 .PP 36 \fB\-\-read\-data\fP[=false] 37 read all data blobs 38 39 .PP 40 \fB\-\-with\-cache\fP[=false] 41 use the cache 42 43 44 .SH OPTIONS INHERITED FROM PARENT COMMANDS 45 .PP 46 \fB\-\-cacert\fP=[] 47 path to load root certificates from (default: use system certificates) 48 49 .PP 50 \fB\-\-cache\-dir\fP="" 51 set the cache directory 52 53 .PP 54 \fB\-\-json\fP[=false] 55 set output mode to JSON for commands that support it 56 57 .PP 58 \fB\-\-limit\-download\fP=0 59 limits downloads to a maximum rate in KiB/s. (default: unlimited) 60 61 .PP 62 \fB\-\-limit\-upload\fP=0 63 limits uploads to a maximum rate in KiB/s. (default: unlimited) 64 65 .PP 66 \fB\-\-no\-cache\fP[=false] 67 do not use a local cache 68 69 .PP 70 \fB\-\-no\-lock\fP[=false] 71 do not lock the repo, this allows some operations on read\-only repos 72 73 .PP 74 \fB\-o\fP, \fB\-\-option\fP=[] 75 set extended option (\fB\fCkey=value\fR, can be specified multiple times) 76 77 .PP 78 \fB\-p\fP, \fB\-\-password\-file\fP="" 79 read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) 80 81 .PP 82 \fB\-q\fP, \fB\-\-quiet\fP[=false] 83 do not output comprehensive progress report 84 85 .PP 86 \fB\-r\fP, \fB\-\-repo\fP="" 87 repository to backup to or restore from (default: $RESTIC\_REPOSITORY) 88 89 90 .SH SEE ALSO 91 .PP 92 \fBrestic(1)\fP