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.
Release files for backup.py 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| backup.py-0.1.1.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| backup.py-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / backup.py-0.1.1.tar.gz
| Download URL | backup.py-0.1.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8e7a2582c6b03fd400075d765f630a534914597b1f4bcf0235a56892f082bce
|
|
BLAKE2b-256 checksum How to use checksums |
8e61b5f456e162d9fd4f42236d4fe3404ea1ca707dac10fda965a8f153fef3bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / backup.py-0.1.1-py3-none-any.whl
| Download URL | backup.py-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7290216f0b1939fd640950dd717ee63db6250bec661198c67c6af2a8fecaaa79
|
|
BLAKE2b-256 checksum How to use checksums |
4fb0246c5b0379d5a2c6346a7b6376411f803f4e81c31720461c4be0aed5b3a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|