Skip to main content

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.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!

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.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)

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.4.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eez_backup-0.4.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file eez_backup-0.4.0.tar.gz.

File metadata

  • Download URL: eez_backup-0.4.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for eez_backup-0.4.0.tar.gz
Algorithm Hash digest
SHA256 15471ce53045f83121504f3a1569110990b567bb2a475d6fc5cdf9a39a6d96cd
MD5 445effae3abbc8d75460ea085fa068dd
BLAKE2b-256 72b7f2f3596c373a155fb9c448e00b0aba07a4fb3a7d24f5e769cd44cb352053

See more details on using hashes here.

File details

Details for the file eez_backup-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: eez_backup-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for eez_backup-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc2a4016cec06c1fb01f3521a4e84ad5bd8884247c21a49f05d09782725b0965
MD5 f52d3f371dc900e6e48f811caa029ddc
BLAKE2b-256 50a5cca6acc233997f976e3917cacf6eaf792d027f909cd680fc54f7a692cf72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page