RESTIC-KEY-PASSWD(1)

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

πŸ’– restic-key-passwd(1) β€” the "new password, who dis" page πŸ’–

okay bestie, welcome to the restic backup(1) manual, specifically the little corner of it that handles restic-key-passwd. this is where you change your repo key (a.k.a. your password), and honestly? it's giving ✨glow-up✨. no cap.


🌸 NAME 🌸

restic-key-passwd β€” change key (password); creates a new key ID and removes the old key ID, returns new key ID. periodt. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

restic key passwd [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the key passwd command does three iconic things in a row, main character energy fr fr:

  1. creates a new key πŸ”‘
  2. validates that key βœ…
  3. removes the old key ID πŸ—‘οΈ

and then it returns the new key ID, because obviously you gotta know what your new fave is called. πŸ’–


⭐ EXIT STATUS ⭐

the vibes are measurable, and here's the vibe check:

  • exit status is 0 if the command was successful πŸŽ‰
  • exit status is 1 if there was any error 😭
  • exit status is 10 if the repository does not exist πŸ’€
  • exit status is 11 if the repository is already locked πŸ”’
  • exit status is 12 if the password is incorrect πŸ™ˆ

✨ OPTIONS ✨

one bullet per flag, no skipping, we don't do that here 🫢

  • -h, --help[=false] β€” help for passwd. your lil "what does this do again" button 🌈
  • --host="" β€” the hostname for new key 🏠
  • --new-insecure-no-password[=false] β€” add an empty password for the repository (insecure) ⚠️
bestie. look at the word "insecure" in that flag name. it's there for a reason. an empty password is insecure, fr fr, tread carefully.
  • --new-password-file="" β€” file from which to read the new password πŸ“„
  • --user="" β€” the username for new key πŸ‘€

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

these are the ones you get from the parent commands, no extra work required, slay 🧚

  • --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) πŸ—£οΈ

🌈 SEE ALSO 🌈

  • restic-key(1) β€” go read the rest of the key family, they're all icons πŸ‘‘

and that's the page, bestie!! this was generated by restic generate, dated Jan 2017, from the restic backup(1) manual. stay encrypted, stay hydrated, mwah πŸ’‹πŸ’–πŸ¦‹

πŸ“¦ where this page comes from