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       --check-unused[=false]      find unused blobs
34
35
36       -h, --help[=false]      help for check
37
38
39       --read-data[=false]      read all data blobs
40
41
42       --read-data-subset=""       read  a  subset of data packs, specified as
43       'n/t' for specific subset or either 'x%' or 'x.y%' for random subset
44
45
46       --with-cache[=false]      use the cache
47
48
49

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

118       restic(1)
119
120
121
122generated by restic generate       Jan 2017                   restic backup(1)
Impressum