Skip to main content

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 optional compression.

  • subversion - scans the folder repositories of version control system Apache Subversion and archives each repository by the tar with optional compression on dump of hot copy of each repository.

  • mercurial - scans the folder repositories of version control system Mercurial and executes the command tar with optional compression on clone of each repository.

  • postgresql - scans the relational database system PostgreSQL cluster and archive each database with optional compression.

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.

Build

Before build Debian package install intto system project by URL https://github.com/Aleksei-Badyaev/stdeb with command

$ pip install -e git+https://github.com/Aleksei-Badyaev/stdeb.git\
@ea98ce197a6a1262e85cd441feba7201b46af865#egg=stdeb

To build Debian package run the command:

$ python setup.py --command-packages=stdeb.command bdist_deb

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.

Source Distribution

msbackup-1.4.4.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

msbackup-1.4.4-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file msbackup-1.4.4.tar.gz.

File metadata

  • Download URL: msbackup-1.4.4.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.3

File hashes

Hashes for msbackup-1.4.4.tar.gz
Algorithm Hash digest
SHA256 f380edeb0d5353aa10cce086be67e05b7f7414abe4a59267fc548f5b6c3bb7f1
MD5 894367d3ba15b3271e5694a63f017875
BLAKE2b-256 181d196c56a1ba569b5b30c448cdee2dffb3a7a00b6350d4ac9f63cf10608956

See more details on using hashes here.

File details

Details for the file msbackup-1.4.4-py3-none-any.whl.

File metadata

  • Download URL: msbackup-1.4.4-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.3

File hashes

Hashes for msbackup-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d6e6dd24e38a24e8f1b0945c5620546689073af4e1f24c51a540f45d6c32b513
MD5 1dbf42e3512aaa5ccf46f02d80de2058
BLAKE2b-256 472c18992a896226a1f9db0726e5fe738d49de2d22b09d76892457cc8613c4bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page