Skip to main content

Encrypted, GFS-rotated database backups to any ObjectStore, with restore verification

Project description

3tears-backup

Encrypted, grandfather-father-son (GFS) rotated database backups to any ObjectStore, with restore verification — built on 3tears primitives so it drops into any 3tears app.

  • Storage-agnostic. The engine takes an injected ObjectStore (3tears-object-store — S3 is the first driver, filesystem the second) and streams the dump through EncryptedObjectStore, so a multi-GB dump is client-side AES-256-GCM encrypted and never sits whole in memory.
  • Postgres and Yugabyte. A pluggable DbDumpDriver wraps the right dump tool; the engine autodetects the target from version().
  • GFS retention. Keep N daily / weekly / monthly backups; prune the rest.
  • Restore-verified. Backups are proven by restoring into a throwaway temporary database, with an optional hook to spin a stack against it.

Configuration is an injected, frozen BackupConfig — construct it however you like (a from_env factory reads THREETEARS_BACKUP_* with defaults; most apps will build it from control-plane settings instead).

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

3tears_backup-0.17.1.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

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

3tears_backup-0.17.1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file 3tears_backup-0.17.1.tar.gz.

File metadata

  • Download URL: 3tears_backup-0.17.1.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for 3tears_backup-0.17.1.tar.gz
Algorithm Hash digest
SHA256 7088ff6815fe2fca6fa35cc7a6831462c519d850c1b2431a7da225041cb91a80
MD5 afa579da17f36ef7c240b79ebb90b3a1
BLAKE2b-256 fe0a953f2ee117d979908195518917fc4fa915b26a4b6a6cfa68c40229c52dd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for 3tears_backup-0.17.1.tar.gz:

Publisher: release.yml on pacepace/3tears

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file 3tears_backup-0.17.1-py3-none-any.whl.

File metadata

  • Download URL: 3tears_backup-0.17.1-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for 3tears_backup-0.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3cfa00f04238b3307dce38e72a11d4757c8ebc5acb453a606eb7d3a8b5acf6c
MD5 04010cfbf7f12ce79e3b02bb5434d789
BLAKE2b-256 bbaf5b1bff24aaa3fe7405333d6465452d61e4a57f2ec722de9bca08561c5fdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for 3tears_backup-0.17.1-py3-none-any.whl:

Publisher: release.yml on pacepace/3tears

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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