RESTIC-REPAIR(1)
π restic-repair(1) β like, the glow-up era for your broken repo
okay bestie so this is restic-repair, straight out of the restic manual (section 1, the big leagues π). If your repository is going through it, this is the page you want.
β¨ SYNOPSIS β¨
restic repair [flags]
π οΈ DESCRIPTION π οΈ
The repair command is literally the ER for damaged repositories π©Ήβ¨ It's not doing the fixing itself, bestie β it hands you a whole lil' squad of subcommands:
- rebuild the index
- salvage damaged pack files
- repair broken snapshots
no cap, it's giving "trauma surgeon but for your backups" π«Ά
π OPTIONS π
-h,--help[=false]β shows help forrepair. classic. iconic. the girl who tells you where everything is πββοΈ
π OPTIONS INHERITED FROM PARENT COMMANDS π
these come down from the parent command, like family recipes but for flags π
--cacert=[]β file to load root certificates from. (default: use system certificates or$RESTIC_CACERT) π--cache-dir=""β set the cache directory. (default: use system default cache directory) π§--cleanup-cache[=false]β auto remove old cache directories. declutter queen π--compression=autoβ compression mode (only available for repository format version 2, okay?), one ofauto|off|fastest|better|max(default:$RESTIC_COMPRESSION) β¨--http-user-agent=""β set a http user agent for outgoing http requests π¦--insecure-no-password[=false]β use an empty password for the repository, must be passed to every restic command (insecure). yeah soβ¦ that's a yikes, she's insecure, we said what we said π--insecure-tls[=false]β skip TLS certificate verification when connecting to the repository (insecure). bestie NO π--json[=false]β set output mode to JSON for commands that support it. machine-readable slay π€--key-hint=""β key ID of key to try decrypting first (default:$RESTIC_KEY_HINT) π--limit-download=0β limits downloads to a maximum rate in KiB/s. (default: unlimited) π’--limit-upload=0β limits uploads to a maximum rate in KiB/s. (default: unlimited) π--no-cache[=false]β do not use a local cache π«--no-extra-verify[=false]β skip additional verification of data before upload (see documentation) π--no-lock[=false]β do not lock the repository, this allows some operations on read-only repositories π-o,--option=[]β set extended option (key=value, can be specified multiple times) π--pack-size=0β set target pack size in MiB, created pack files may be larger (default:$RESTIC_PACK_SIZE) π¦--password-command=""β shell command to obtain the repository password from (default:$RESTIC_PASSWORD_COMMAND) π€«-p,--password-file=""β file to read the repository password from (default:$RESTIC_PASSWORD_FILE) ποΈ-q,--quiet[=false]β do not output comprehensive progress report. shhh, she's being mysterious π€-r,--repo=""β repository to backup to or restore from (default:$RESTIC_REPOSITORY) π--repository-file=""β file to read the repository location from (default:$RESTIC_REPOSITORY_FILE) π--retry-lock=0sβ retry to lock the repository if it is already locked, takes a value like5mor2h(default: no retries) β°--stuck-request-timeout=5m0sβ duration after which to retry stuck requests β--tls-client-cert=""β path to a file containing PEM encoded TLS client certificate and private key (default:$RESTIC_TLS_CLIENT_CERT) πͺͺ-v,--verbose[=0]β be verbose (specify multiple times or a level using--verbose=n, max level/times is 2) π£οΈ
fr fr, those two insecure flags are named that for a reason. don't come crying to me later π
πΈ SEE ALSO πΈ
the rest of the friend group, go say hi:
and that's the whole page, bestie π«Ά this one was generated by restic generate, dated all the way back to Jan 2017 β vintage, lowkey a classic, and she still ate πβ¨π
π¦ where this page comes from
- arch rolling: restic 0.19.1-1 Β· BSD
- epel 10: restic 0.19.1-1.el10_3 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- epel 9: restic 0.19.1-1.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- fedora 43: restic 0.19.1-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- fedora 44: restic 0.19.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
- nixpkgs unstable: restic 0.19.1
- ubuntu stonking: restic 0.19.1-1ubuntu1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms