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.
- Python 3.5 or above
pip install backup.py
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()
For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE file for details.
This project was solely inspired by rsync.