Skip to main content

Backup management for restic

Project description

Bumgr

bumgr is a Python CLI application to manage backups using restic. The name is short for "Backup Manager".

Configuration

The configuration is written in TOML and has two sections: A global section used for defining global plugins, and a backup section that configures the individual backups.

An example configuration could look something like this:

[backups.example_sftp]
repository = "sftp:my-backup-server.example.org:/restic"
source = "$HOME"  # backup the entire home directory
exclude_file = ["$HOME/.backup-excludes.txt", "$HOME/.gitignore_global"]
# Use macOS Keychain to retrieve password (see 'man 1 security', macOS only)
password_command = "security find-generic-password -a restic -s 'Restic Backup' -g -w"
# also possible:
# password_file = ".config/bumgr/password-file.txt"
[[backups.example_sftp]]
# Make sure Tailscale is connected before starting the backup
module = "bumgr.contrib.tailscale.Tailscale"
args.connected = true

[backups.s3example]
repository = "s3:my-s3-server.example.org/bucket/example/restic"
source = "/"
exclude = ["/var", "/dev"]
password_file = "/etc/bumgr/password-file-root.txt"
[backups.s3example.env]
AWS_ACCESS_KEY_ID = "mys3accesskey"
AWS_SECRET_ACCESS_KEY = "very-secret-key"

License

Bumgr is licensed under the "BSD 3-Clause License".

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

bumgr-0.1.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

bumgr-0.1.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file bumgr-0.1.1.tar.gz.

File metadata

  • Download URL: bumgr-0.1.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bumgr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 67eff4a1e3bad22140ffd99ea89da5da10672144b5968abb68a69e099c20f30f
MD5 3ca696b3c614dc6422552f801d1b3429
BLAKE2b-256 0749360d3f272309946a8afd410fdd936de039ca20168d72526e1d7e7d9d6c87

See more details on using hashes here.

Provenance

The following attestation bundles were made for bumgr-0.1.1.tar.gz:

Publisher: publish.yml on 3j14/bumgr

Attestations:

File details

Details for the file bumgr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bumgr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bumgr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b349eed43423d810d39bc2ce518bce269ddb4b144434657ea1d872927c18c937
MD5 c98c9b0ee3f373a4ea92dcab47335977
BLAKE2b-256 a91333a55fc4f3d0630df64b6e7afde9712637182a82688950e73401fa7e690a

See more details on using hashes here.

Provenance

The following attestation bundles were made for bumgr-0.1.1-py3-none-any.whl:

Publisher: publish.yml on 3j14/bumgr

Attestations:

Supported by

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