Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.


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.

Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (10.1 kB) Copy SHA256 Checksum SHA256 Source Jun 9, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting