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


Release history Release notifications

Download files

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

Files for backup.py, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size backup.py-0.1.1-py3-none-any.whl (6.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size backup.py-0.1.1.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page