RESTIC-REPAIR(1)

πŸ“¦
version 0.19.1 Β· 4 versions
, in arch rolling, epel 10, epel 9, fedora 43, fedora 44, nixpkgs unstable, ubuntu stonking

πŸ’… 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 for repair. 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 of auto|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 like 5m or 2h (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