BUPSTASH-INIT(1)
π bupstash-init(1) β the general commands manual, but make it cute π
okay so bestie, this is the bupstash-init page from the General Commands Manual and it's literally the "make a repository" moment. let's get into it β¨
β¨ SYNOPSIS β¨
Initialize a bupstash repository.
bupstash init [OPTIONS]
π DESCRIPTION π
bupstash init initializes a repository. and here's the thing β if REPOSITORY already exists, the command fails. no overwriting, no take-backs, it just says nope π.
Currently it is not recommend using bupstash on a network filesystem. (that's the original's wording and its original typo, i'm just the messenger, do not come for me π)
if you wanna know what's actually inside the package store after initialization, go read bupstash-repository(7) β it's giving lore, it's giving documentation. π
π OPTIONS π
-r,--repositoryREPO β the repository you're connecting to. it can be of the formssh://$SERVER/$PATHfor remote repositories, but only if ssh access is configured. and if you don't specify it at all, it gets set toBUPSTASH_REPOSITORY. π«Ά--storageSPEC β accepts'dir'or a json storage specification. the default storage is'dir'and it stores encrypted data blocks in a repository local data directory. see the storage specs section below for the supported json specifications and examples. π
πΈ ENVIRONMENT πΈ
BUPSTASH_REPOSITORYβ the repository to connect to. may be of the formssh://$SERVER/$PATHfor remote repositories if ssh access is configured. π¦BUPSTASH_REPOSITORY_COMMANDβ a command to run to connect to an instance ofbupstash-serve(1). this lets you do more complex connections to the repository for less common use cases. iykyk π
π EXAMPLES π
$ export BUPSTASH_REPOSITORY=./my-repository
$ bupstash init
$ export BUPSTASH_REPOSITORY=ssh://$SERVER/home/backups/bupstash-backups
$ bupstash init
π JSON STORAGE SPECS π
each storage specification consists of a type designator and a set of type specific parameters. no cap β¨
π Dir storage π
dir storage is an alias for --storage dir and is generally not needed.
example:
$ bupstash init --storage '{"Dir" : {}}''
π§ External storage π§
the external storage engine stores data via an external socket, documentation is pending interface stabilization. (so like... the docs are still cooking π₯)
example:
$ bupstash init --storage '{"External" : {"socket_path" : "/plugin/socket.sock", "path" : "plugin-specific-path"}}''
π SEE ALSO π
bupstash(1), bupstash-repository(7)
that's the whole page, bestie β slay, go init your repository, and remember: it fails if REPOSITORY already exists, so no copying your homework twice π
mwah π this has been bupstash-init(1) from the General Commands Manual, dated May 2025, BUPSTASH-INIT(1) and all β see you in the next repo π«Άβ¨
π¦ where this page comes from
- alpine 3.24: bupstash-doc 0.12.0-r7 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms