borgmatic

repo-create

πŸ”

Here's the command-line help for this action in the most recent version of borgmatic. If you're using an older version, some of these flags may not work, and you should instead run the action with --help to see the flags specific to your borgmatic version.

usage: borgmatic repo-create [-e ENCRYPTION_MODE]
                             [--source-repository KEY_REPOSITORY]
                             [--repository REPOSITORY] [--copy-crypt-key]
                             [--append-only] [--storage-quota STORAGE_QUOTA]
                             [--make-parent-dirs] [-h]

Create a new, empty Borg repository (also known as "init")

repo-create arguments:
  -e ENCRYPTION_MODE, --encryption ENCRYPTION_MODE
                        Borg repository encryption mode
  --source-repository KEY_REPOSITORY, --other-repo KEY_REPOSITORY
                        Path to an existing Borg repository whose key material
                        should be reused [Borg 2.x+ only]
  --repository REPOSITORY
                        Path of the new repository to create (must be already
                        specified in a borgmatic configuration file), defaults
                        to the configured repository if there is only one,
                        quoted globs supported
  --copy-crypt-key      Copy the crypt key used for authenticated encryption
                        from the source repository, defaults to a new random
                        key [Borg 2.x+ only]
  --append-only         Create an append-only repository
  --storage-quota STORAGE_QUOTA
                        Create a repository with a fixed storage quota
  --make-parent-dirs    Create any missing parent directories of the
                        repository directory [Borg 1.x only]
  -h, --help            Show this help message and exit

Improve this documentation

Have an idea on how to make this documentation even better? Use our issue tracker to send your feedback!