π
-
How-to guides
- π₯ Install borgmatic
- π Set up backups
- ποΈ Make per-application backups
- π Provide your passwords
- βοΈ Make backups redundant
- π Deal with very large backups
- π Inspect your backups
- π¨ Monitor your backups
- π€ Extract a backup
- ποΈ Backup your databases
- πΈ Snapshot your filesystems
- π§Ή Add preparation and cleanup steps
- πΎ Backup to a removable drive/server
- π§ Run arbitrary Borg commands
- π₯ Customize warnings/errors
- π¦ Upgrade borgmatic/Borg
- ποΈ Develop on borgmatic
-
Reference guides
- βοΈ Configuration
- π» Command-line
- π Source code
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 config generate [-s SOURCE_FILENAME] [-d DESTINATION_PATH]
[--overwrite] [--split] [-h]
Generate a sample borgmatic configuration file
config generate arguments:
-s SOURCE_FILENAME, --source SOURCE_FILENAME
Optional configuration file to merge into the
generated configuration, useful for upgrading your
configuration
-d DESTINATION_PATH, --destination DESTINATION_PATH
Destination configuration file (or directory if using
--split), default: /etc/borgmatic/config.yaml
--overwrite Whether to overwrite any existing destination file,
defaults to false
--split Assuming the destination is a directory instead of a
file, split the configuration into separate files
within it, one per option, useful for documentation
-h, --help Show this help message and exit
Related documentation
Improve this documentation
Have an idea on how to make this documentation even better? Use our issue tracker to send your feedback!