nils-werner / crestic

Configurable Restic Wrapper

Home Page:https://nils-werner.github.io/crestic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crestic - configurable Restic

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: ~

More advanced usage examples can be found in the docs

About

Configurable Restic Wrapper

https://nils-werner.github.io/crestic/

License:MIT License


Languages

Language:Python 100.0%