Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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).

Usage

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.

Testing

Dependencies of this project can be installed by the command:

$ pip install -U -e .[dev]

Tests can be launched by the command:

$ python -m unittest discover -s src/test

Test reports and coverage report can be generate using:

$ ./test.sh

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.

Project details


Download files

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

Files for msbackup, version 1.4
Filename, size File type Python version Upload date Hashes
Filename, size msbackup-1.4-py2.py3-none-any.whl (16.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size msbackup-1.4.tar.gz (15.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page