Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install backitup

How to install backitup

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install backitup
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.9.6 Available View build log
 
Author
License
MIT
Imports
Lastest release
version 0.9.6 on Jan 9th, 2014

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.

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.