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
0if the command was successful. π slay, you did it. - Exit status is
1if 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 thecopycommand. π«Ά--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 forinit. 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 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). π£οΈ
π SEE ALSO π
restic(1)β the main character herself. π
heads up bestie:--insecure-no-passwordand--insecure-tlsboth 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
- 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
- nixpkgs unstable: restic 0.19.1
- ubuntu stonking: restic 0.19.1-1ubuntu1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms