π
-
How-to guides
- π₯ 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
borgmatic includes an autocompletion script for Bash to support tab-completing command-line actions and flags. Depending on how you installed borgmatic, this may be enabled by default.
If completions aren't enabled, start by installing the bash-completion Linux
package or the
bash-completion@2 macOS
Homebrew formula. Then, install the shell completion script globally:
sudo su -c "borgmatic --bash-completion > $(pkg-config --variable=completionsdir bash-completion)/borgmatic"
If you don't have pkg-config installed, you can try the following path
instead:
sudo su -c "borgmatic --bash-completion > /usr/share/bash-completion/completions/borgmatic"
Or, if you'd like to install the script for only the current user:
mkdir --parents ~/.local/share/bash-completion/completions
borgmatic --bash-completion > ~/.local/share/bash-completion/completions/borgmatic
Finally, restart your shell (exit and open a new shell) so the completions
take effect.
Improve this documentation
Have an idea on how to make this documentation even better? Use our issue tracker to send your feedback!