1restic backup(1) restic backup(1)
2
3
4
6 restic-repair - Repair the repository
7
8
9
11 restic repair [flags]
12
13
14
16 Repair the repository
17
18
19
21 -h, --help[=false] help for repair
22
23
24
26 --cacert=[] file to load root certificates from (default: use sys‐
27 tem certificates or $RESTIC_CACERT)
28
29
30 --cache-dir="" set the cache directory. (default: use system de‐
31 fault cache directory)
32
33
34 --cleanup-cache[=false] auto remove old cache directories
35
36
37 --compression=auto compression mode (only available for repository
38 format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
39
40
41 --insecure-tls[=false] skip TLS certificate verification when con‐
42 necting to the repository (insecure)
43
44
45 --json[=false] set output mode to JSON for commands that support
46 it
47
48
49 --key-hint="" key ID of key to try decrypting first (default:
50 $RESTIC_KEY_HINT)
51
52
53 --limit-download=0 limits downloads to a maximum rate in KiB/s.
54 (default: unlimited)
55
56
57 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
58 fault: unlimited)
59
60
61 --no-cache[=false] do not use a local cache
62
63
64 --no-lock[=false] do not lock the repository, this allows some op‐
65 erations on read-only repositories
66
67
68 -o, --option=[] set extended option (key=value, can be specified
69 multiple times)
70
71
72 --pack-size=0 set target pack size in MiB, created pack files may
73 be larger (default: $RESTIC_PACK_SIZE)
74
75
76 --password-command="" shell command to obtain the repository pass‐
77 word from (default: $RESTIC_PASSWORD_COMMAND)
78
79
80 -p, --password-file="" file to read the repository password from
81 (default: $RESTIC_PASSWORD_FILE)
82
83
84 -q, --quiet[=false] do not output comprehensive progress report
85
86
87 -r, --repo="" repository to backup to or restore from (default:
88 $RESTIC_REPOSITORY)
89
90
91 --repository-file="" file to read the repository location from
92 (default: $RESTIC_REPOSITORY_FILE)
93
94
95 --retry-lock=0s retry to lock the repository if it is already
96 locked, takes a value like 5m or 2h (default: no retries)
97
98
99 --tls-client-cert="" path to a file containing PEM encoded TLS
100 client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
101
102
103 -v, --verbose[=0] be verbose (specify multiple times or a level
104 using --verbose=n``, max level/times is 2)
105
106
107
109 restic(1), restic-repair-index(1), restic-repair-packs(1), restic-re‐
110 pair-snapshots(1)
111
112
113
114generated by restic generate Jan 2017 restic backup(1)