Recursive and Incremental backup utility
Project description
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file backup.py-0.1.1.tar.gz
.
File metadata
- Download URL: backup.py-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8e7a2582c6b03fd400075d765f630a534914597b1f4bcf0235a56892f082bce |
|
MD5 | 16c90b7db779c72d3013b100d6690deb |
|
BLAKE2b-256 | 8e61b5f456e162d9fd4f42236d4fe3404ea1ca707dac10fda965a8f153fef3bb |
File details
Details for the file backup.py-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: backup.py-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7290216f0b1939fd640950dd717ee63db6250bec661198c67c6af2a8fecaaa79 |
|
MD5 | af631f534d5fc38663caad194477355e |
|
BLAKE2b-256 | 4fb0246c5b0379d5a2c6346a7b6376411f803f4e81c31720461c4be0aed5b3a7 |