Skip to main content

backitup is a module for easily backing up files. It is designed for ease of use for python programmers, by doing a few simple things clearly.

General Use

  • Create the python file that will call backitup. Generally this will hard-code some configuration information, such as the backup directory, source file paths, etc. It can also do stuff like configure logging.

  • This python file should generally also create the upload handlers (make_upload_*).

  • Your python file invokes backitup.create_archive.

  • It takes the result of create_archive and passes it and the upload handlers to upload_all.

See the included examples directory for a set of example files, which is similar to how things are set up on the author’s machine.

Notes

All ‘configuration’ is handled by passing arguments into the functions. The module-level constants are for defining default values only. You should never need to change these consts, just provide different args.

backitup does not come with a commandline interface. Call me a heretic but I’d rather write a clear API that can be called from python, and let you write a wrapper for it that you can invoke with YOUR own CLI.

Running multiple backups at the same time may produce some unexpected race conditions, with regards to backup pruning, and myphp backup.

Metadata

Release files for backitup 0.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for backitup 0.9.6
File Size Uploaded
backitup-0.9.6.zip 10.1 kB Details

Release files / backitup-0.9.6.zip

Download URL backitup-0.9.6.zip
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
72dcee6ccaeea3fd31e6315cefe831c68eeb0a1c683b977c007872e437b89c9f
BLAKE2b-256 checksum
How to use checksums
aa30eb84e3134fa04376daac7248dd6a23f8724df6a6e6e85b9ad3e92f0c905e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9.6 This release

1 release file

0.9.5

1 release file

0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page