Another convenience wrapper for restic.
You can simply install eez-backup
from PyPI via
python -m pip install eez-backup
eez-backup
assumes backup.toml
to be present in your home directory, thus create it.
You can use tests/demo/config.toml
as a template.
Now, you can initialize the restic repositories by running
backup repo-map init
... and then back up your data by running
backup run
That's it!
usage: backup [-h] [-v] [-c] [-r] [-p] {run,repo-map,profile-map} ...
Another convenience wrapper for restic
positional arguments:
{run,repo-map,profile-map}
commands
run run backup and forget for all profiles
repo-map run any restic command for all given repositories
profile-map run any restic command for all given profiles
options:
-h, --help show this help message and exit
-v, --verbose log level (disables progress bars if set)
-c , --config config file to use, default is ~/.backup.toml
-r , --repository repository to use, use all repositories by default, can be used multiple times
-p , --profile profile to use, use all profiles by default, can be used multiple times
(backup --help
)
- Repositories: refer to a target locations for your backups and map 1:1 to restic repositories.
- Profiles: define a set of directories/files to be in-/excluded from a backup among other options. Per profile and backup a snapshot is created.