Another convenience wrapper for _restic_
Project description
eez-backup
Another convenience wrapper for restic.
Install
You can simply install eez-backup
from PyPI via
python -m pip install eez-backup
Setup
eez-backup
assumes backup.yml
to be present in your home directory, thus create it.
You can use tests/demo/config.yml
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!
CLI interface
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.yml
-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
)
Glossary
- 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eez_backup-0.2.0.tar.gz
(9.3 kB
view details)
Built Distribution
File details
Details for the file eez_backup-0.2.0.tar.gz
.
File metadata
- Download URL: eez_backup-0.2.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.4 Linux/6.4.12-200.fc38.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af1af0d49b80f12af6a56f3650cc3b4343f860b4e06955019676c3aaa1adabbc |
|
MD5 | 22d5ec1315b9d237b6be4a387ea38f5e |
|
BLAKE2b-256 | eea0050821d5b7812361274dbb6f1bc89434ff7c02ee67cb4e54366775a220fd |
File details
Details for the file eez_backup-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: eez_backup-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.4 Linux/6.4.12-200.fc38.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e3835ed615e99b3900b50bda91458d73967c57f1a18f06b31531d0bd78ec98 |
|
MD5 | d4cfbfb0960e088e856d10d6313d0f30 |
|
BLAKE2b-256 | 3d8b02e5c25f9ae986369c6c82b34a643f6bb3c26b787da45931f8d30170c296 |