Skip to main content

Simple library for easily customized backup and uploading of your files

Project description

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.

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

backitup-0.9.6.zip (10.1 kB view details)

Uploaded Source

File details

Details for the file backitup-0.9.6.zip.

File metadata

  • Download URL: backitup-0.9.6.zip
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for backitup-0.9.6.zip
Algorithm Hash digest
SHA256 72dcee6ccaeea3fd31e6315cefe831c68eeb0a1c683b977c007872e437b89c9f
MD5 4ba2dfe41b051f1c8dfb512ec87d5fd2
BLAKE2b-256 aa30eb84e3134fa04376daac7248dd6a23f8724df6a6e6e85b9ad3e92f0c905e

See more details on using hashes here.

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