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!

Generic backup utility.

Project Description

The msbackup utility performs data archiving. The main use for this is the daily execution of the utility by system scheduler (cron for example).


For reliable archiving of various data have the appropriate backend:

  • file - archive folder by the tar with compression format bzip2.
  • subversion - scans the folder repositories of version control system Apache Subversion and archives each repository by the tar with compression format bzip2 on dump of hot copy of each repository.
  • mercurial - scans the folder repositories of version control system Mercurial and executes the command tar with compression format bzip2 on clone of each repository.

When you start utility with the –rotated parameter, from the backup folder will deleted all expired archives on the basis of configuration.

Archive files can be encrypted with the –encryptor gpg parameter.


Tests can be launched by the command:

python -m unittest discover

Using Python version 3.0 or higher, tests can be run using:

python -m unittest

Test reports and coverage report can be generate using:


After the successful execution of the script folder test-reports will contain a report (in XML format) of the tests, and in the folder coverage will be a report (in HTML format) of the code coverage.

Release History

Release History

This version
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
msbackup-1.2.3-py2.py3-none-any.whl (16.0 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 29, 2016
msbackup-1.2.3.tar.gz (16.1 kB) Copy SHA256 Checksum SHA256 Source Feb 29, 2016

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