RESTIC-CACHE(1)

πŸ’– restic-cache(1) πŸ’–

okay bestie, welcome to restic-cache β€” this is the restic backup(1) manual, and today we're hyperfixating on the cache page specifically. grab a strawberry πŸ“ and let's go.


✨ NAME ✨

restic-cache β€” operate on local cache directories πŸ—‚οΈβœ¨


🌸 SYNOPSIS 🌸

restic cache [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

the cache command is literally the ✨cache management era✨ of restic. it lets you list local cache directories and clean them out. that's the whole vibe. no cap.


πŸ’… EXIT STATUS πŸ’…

  • 0 β€” the command ate and left no crumbs, everything was successful πŸŽ€
  • 1 β€” there was any error 😭

πŸ‘‘ OPTIONS πŸ‘‘

  • --cleanup[=false] β€” remove old cache directories 🧹✨ bye bestie
  • -h, --help[=false] β€” help for cache 🫢
  • --max-age=30 β€” max age in days for cache directories to be considered old ⏳ (so yes, the default is 30)
  • --no-size[=false] β€” do not output the size of the cache directories πŸ™ˆ we're being mysterious today

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these came from the parent command, they're not even this page's own children, they're family πŸ’œ

  • --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 🧼
  • --compression=auto β€” compression mode (only available for repository format version 2), 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) πŸ’€ > bestie this one is literally labeled insecure, it's giving red flag, do not
  • --insecure-tls[=false] β€” skip TLS certificate verification when connecting to the repository (insecure) 🚩 same energy, proceed with caution
  • --json[=false] β€” set output mode to JSON for commands that support it πŸ€–
  • --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 🀫
  • -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) πŸ—£οΈ

πŸ”₯ SEE ALSO πŸ”₯


okay that's the whole page, you ate that fr fr πŸ’…βœ¨ go forth and manage your cache directories, main character πŸ¦‹

this page was generated by restic generate, dated Jan 2017, and it lives under the restic backup(1) manual name β€” mwah, love u, bye πŸŽ€πŸ’œ

πŸ“¦ where this page comes from