RESTIC-SELF-UPDATE(1)

πŸ“¦
version 0.19.1 Β· 5 versions
, in arch rolling, epel 10, epel 9, fedora 43, fedora 44

✨ restic-self-update(1) β€” the "glow up ur binary" page ✨

okay so bestie, welcome to the restic backup(1)</> manual, and specifically the lil corner of it about self-update πŸ’– yes the manual name is literally restic backup(1) even though we're talking about self-update, that's just how the generated pages roll, iykyk πŸ™ˆ


🌸 NAME 🌸

restic-self-update β€” Update the restic binary πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

restic self-update [flags]

πŸ’… DESCRIPTION πŸ’…

So the self-update command is giving main character energy: it downloads the latest stable release of restic from GitHub and replaces the currently running binary. Like, it literally swaps itself out mid-glow-up, iconic πŸ’…βœ¨

And after the download, the authenticity of the binary is verified using the GPG signature on the release files πŸ” no sketchy impostor binaries allowed in this house, no cap 🫢


⭐ EXIT STATUS ⭐

  • Exit status is 0 if the command was successful πŸ₯³
  • Exit status is 1 if there was any error 😭

✨ OPTIONS ✨

  • -h, --help[=false] β€” help for self-update. ur little "wait what does this do" bestie 🫢
  • --output="" β€” Save the downloaded file as filename (default: the running binary itself). so if u don't set this, bestie, it's overwriting the actual binary ur currently running, which is the whole point πŸ’€

πŸ¦‹ OPTIONS INHERITED FROM PARENT COMMANDS πŸ¦‹

these ones come from the parent command, so they're not exclusive to self-update, they're like the shared group chat rules πŸ’œ

  • --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) ⚠️
  • --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
  • --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) πŸ—£οΈ
bestie pls note those two "insecure" ones are labeled insecure for a reason β€” they're literally telling u they're insecure, so don't be shocked pikachu when things get spicy πŸ’€

🌈 SEE ALSO 🌈

  • restic(1) β€” go read the main character's page 🫢

and that's the whole vibe check, bestie ✨ this page was generated by restic generate, and its date stamp is Jan 2017 β€” yes, the footer has been serving cunt since 2017 and it's still going πŸ’– mwah, go update ur binary, periodt πŸ’…

πŸ“¦ where this page comes from