RESTIC(1)
π NAME π
restic β backup and restore files, bestie. that's it. that's the whole vibe.
this page lives in the restic manual, section 1 (general commands), and yeah we're doing this whole thing together, no skimming.
β¨ SYNOPSIS β¨
restic [flags]
πΈ DESCRIPTION πΈ
okay so picture this: restic is a backup program, and the way it works is iconic β it saves multiple revisions of your files and directories inside an encrypted repository, and that repository can live on different backends. different. backends. the versatility?? unmatched.
The full documentation can be found at https://restic.readthedocs.io/ . go read it, i'm literally begging, it's so good.
π OPTIONS π
--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. she cleans up after herself, queen behavior.--compression=autoβ compression mode (only available for repository format version 2), one of (auto|off|fastest|better|max) (default:$RESTIC_COMPRESSION)-h,--help[=false]β help forrestic. when in doubt, ask the girl herself.--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)--insecure-tls[=false]β skip TLS certificate verification when connecting to the repository (insecure)--json[=false]β set output mode to JSON for commands that support it. for the girlies who pipe intojq.--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. silent but deadly (in a good way).-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). two is the limit bestie, don't push it.
π«Ά heads up:--insecure-no-passwordand--insecure-tlsboth say insecure in their own names. that is not a drill. they are genuinely insecure, so know what you're doing before you touch them, okay?
π¦ SEE ALSO π¦
restic-backup(1), restic-cache(1), restic-cat(1), restic-check(1), restic-copy(1), restic-diff(1), restic-dump(1), restic-features(1), restic-find(1), restic-forget(1), restic-generate(1), restic-init(1), restic-key(1), restic-list(1), restic-ls(1), restic-migrate(1), restic-mount(1), restic-options(1), restic-prune(1), restic-recover(1), restic-repair(1), restic-restore(1), restic-rewrite(1), restic-self-update(1), restic-snapshots(1), restic-stats(1), restic-tag(1), restic-unlock(1), restic-version(1)
the whole friend group fr fr π
and that's the page!! this beauty was generated by restic generate, and she's been serving since Jan 2017 πβ¨ no cap, an icon, a legend, the moment. now go back up your stuff. periodt. π
πΈ
π¦ 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms