Skip to main content

Recursive and Incremental backup utility

Project description

Build Status codecov PyPI - Python Version PyPI

BACKUP.PY

PyBackup is a recursive/incremental backup utility package written purely in Python. This main feature of the package is its incremental backup which incrementally copies only the files that are added or the parts of the file which are changed. To achieve the later scenario it uses rsync algorithm for which you can find the details here.

Prerequisites

  • Python 3.5 or above

Quick Install

pip install backup.py

Simple Example

This package also installs a script which you can run in the shell as follows:

pybackup ~/path/to/the/source/dir ~/path/to/the/destination/dir

Or you can use its Python interface as follows:

from backup import IncrementalBackup

source_dir = "~/path/to/the/source/dir"
destination_dir = "~/path/to/the/destination/dir"
IncrementalBackup(src=source_dir, dst=destination_dir).run()

Versioning

For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This project was solely inspired by rsync.

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

backup.py-0.1.1.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

backup.py-0.1.1-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

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