1restic backup(1)                                              restic backup(1)
2
3
4

NAME

6       restic-check - Check the repository for errors
7
8
9

SYNOPSIS

11       restic check [flags]
12
13
14

DESCRIPTION

16       The "check" command tests the repository for errors and reports any er‐
17       rors it finds. It can also be used to read all data and therefore simu‐
18       late 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

EXIT STATUS

27       Exit status is 0 if the command was successful, and non-zero  if  there
28       was any error.
29
30
31

OPTIONS

33       -h, --help[=false]      help for check
34
35
36       --read-data[=false]      read all data blobs
37
38
39       --read-data-subset=""       read  a  subset of data packs, specified as
40       'n/t' for specific part, or either 'x%' or 'x.y%' or a  size  in  bytes
41       with suffixes k/K, m/M, g/G, t/T for a random subset
42
43
44       --with-cache[=false]      use the cache
45
46
47

OPTIONS INHERITED FROM PARENT COMMANDS

49       --cacert=[]      file to load root certificates from (default: use sys‐
50       tem certificates)
51
52
53       --cache-dir=""      set the cache directory. (default: use  system  de‐
54       fault cache directory)
55
56
57       --cleanup-cache[=false]      auto remove old cache directories
58
59
60       --compression=auto      compression mode (only available for repository
61       format version 2), one of (auto|off|max)
62
63
64       --insecure-tls[=false]      skip TLS certificate verification when con‐
65       necting to the repository (insecure)
66
67
68       --json[=false]       set  output mode to JSON for commands that support
69       it
70
71
72       --key-hint=""      key ID of key  to  try  decrypting  first  (default:
73       $RESTIC_KEY_HINT)
74
75
76       --limit-download=0       limits  downloads  to a maximum rate in KiB/s.
77       (default: unlimited)
78
79
80       --limit-upload=0      limits uploads to a maximum rate in  KiB/s.  (de‐
81       fault: unlimited)
82
83
84       --no-cache[=false]      do not use a local cache
85
86
87       --no-lock[=false]      do not lock the repository, this allows some op‐
88       erations on read-only repositories
89
90
91       -o, --option=[]      set extended option (key=value, can  be  specified
92       multiple times)
93
94
95       --pack-size=0       set target pack size in MiB, created pack files may
96       be larger (default: $RESTIC_PACK_SIZE)
97
98
99       --password-command=""      shell command to obtain the repository pass‐
100       word from (default: $RESTIC_PASSWORD_COMMAND)
101
102
103       -p,  --password-file=""       file to read the repository password from
104       (default: $RESTIC_PASSWORD_FILE)
105
106
107       -q, --quiet[=false]      do not output comprehensive progress report
108
109
110       -r, --repo=""      repository to backup to or  restore  from  (default:
111       $RESTIC_REPOSITORY)
112
113
114       --repository-file=""       file  to  read  the repository location from
115       (default: $RESTIC_REPOSITORY_FILE)
116
117
118       --tls-client-cert=""      path to a file  containing  PEM  encoded  TLS
119       client certificate and private key
120
121
122       -v,  --verbose[=0]       be  verbose (specify multiple times or a level
123       using --verbose=n, max level/times is 3)
124
125
126

SEE ALSO

128       restic(1)
129
130
131
132generated by restic generate       Jan 2017                   restic backup(1)
Impressum