Introduction
This is a slim configuration wrapper for Restic, a pretty awesome backup tool.
Why? Because restic is unfortunately still missing config files.
Usage
The goal of crestic is to make running restic easy, e.g. creating backups using
crestic home backup
instead of running complex restic commands
restic backup \
--repo sftp:your_server:my_computer.restic \
--password-file ~/.config/restic/password \
--exclude-file ~/.config/restic/excludes \
~
To achieve this, this tool does not try to be clever, it simply maps any commandline options for restic to a key in an config file:
[home]
repo: sftp:your_server:my_computer.restic
password-file: ~/.config/restic/password
[home.backup]
exclude-file: ~/.config/restic/excludes
_arguments: ~