RESTIC-INIT(1)

πŸ’– restic-init(1) β€” the glow-up ritual πŸ’–

okay bestie, so this is a page from the restic backup(1) manual β€” yes the title line says backup even though we're talking about init, don't ask, it's a whole thing, the manpage generator is just like that πŸ™ˆ. Anyway. Sit down, grab a strawberry, and let's make you a repository. πŸ“


✨ NAME ✨

restic-init β€” bestie this is the one that starts it all. It initializes a new repository. Brand new baby repo. Iconic.


🌸 SYNOPSIS 🌸

restic init [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

The "init" command initializes a new repository.

That's it. That's the whole description. She's short, she's sweet, she's the beginning of everything. No cap. πŸ’…


πŸ”₯ EXIT STATUS πŸ”₯

  • Exit status is 0 if the command was successful. πŸŽ‰ slay, you did it.
  • Exit status is 1 if there was any error. 😭 not slay, something went wrong.

πŸ‘‘ OPTIONS πŸ‘‘

  • --copy-chunker-params[=false] β€” copy chunker parameters from the secondary repository. lowkey the move when you're working with the copy command. 🫢
  • --from-insecure-no-password[=false] β€” use an empty password for the source repository. and yes bestie, that is insecure, the manpage literally says so, I'm not being dramatic. πŸ’€
  • --from-key-hint="" β€” key ID of key to try decrypting the source repository first. default: $RESTIC_FROM_KEY_HINT. πŸ”‘
  • --from-password-command="" β€” shell command to obtain the source repository password from. default: $RESTIC_FROM_PASSWORD_COMMAND. 🐚
  • --from-password-file="" β€” file to read the source repository password from. default: $RESTIC_FROM_PASSWORD_FILE. πŸ“„
  • --from-repo="" β€” source repository to copy chunker parameters from. default: $RESTIC_FROM_REPOSITORY. πŸ“¦
  • --from-repository-file="" β€” file from which to read the source repository location to copy chunker parameters from. default: $RESTIC_FROM_REPOSITORY_FILE. πŸ—‚οΈ
  • -h, --help[=false] β€” help for init. bestie when in doubt, ask for help, it's free. ✨
  • --repository-version="stable" β€” repository format version to use. allowed values are a format version, 'latest' and 'stable'. πŸ‘‘

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these are the family heirlooms, passed down from the parent command, they show up everywhere. 🧚

  • --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. spring cleaning energy. 🧹
  • --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, and you must pass this to every single restic command. insecure. it's giving "please don't". 😭
  • --insecure-tls[=false] β€” skip TLS certificate verification when connecting to the repository. also insecure, also giving "please don't". πŸ™ˆ
  • --json[=false] β€” set output mode to JSON for commands that support it. for the machines. πŸ€–
  • --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. 🀫
  • -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(1) β€” the main character herself. πŸ‘‘

heads up bestie: --insecure-no-password and --insecure-tls both literally have the word insecure in the name and the manpage calls them insecure too. that's not me being shady, that's just facts. fr fr. πŸ’€

and that's the whole page!! πŸŽ€ generated by restic generate, dated Jan 2017 β€” yeah she's been around a minute, and she still eats. go forth and restic init, bestie, your repo is gonna be gorgeous. periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from