Filesystem to filesystem backup (deduplicated, compressed with xz)
Backshift is a filesystem to filesystem backup program, analogous to rsync –link-dest.
Compared to rsync, backshift deduplicates much better, and compresses files - rsync does not.
Backshift also allows easy removal of old backups, despite its strong deduplication and compression.
Files to back up are selected using something like ‘find / -xdev -print0’ and piping that to backshift.
Files are restored by piping to ‘tar xfp’.
Metadata is partially compressed. Each directory’s metadata is compressed separately for easy partial restores.
Content-based, variable length chunks are deduplicated - so simply inserting a byte at a random place in a large file is not going to require backing up the entire file anew.
Backshift runs on CPython 3.x and Pypy3. It may run on nuitka - backshift+nuitka has not been tested much.
On many modern systems, Backshift runs fastest on Pypy, but on some (older?) machines you may be better off with CPython 3.x plus the Cython versions of treap and rolling_checksum_mod.
For pypy, simply install backshift with pip. This should give you a pure-python version of backshift that pypy likes. For CPython+Cython, first install backshift with pip just as you would for pypy. Then additionally install pyx-treap and rolling-checksum-pyx-mod with pip - for a speed boost.
Backshift is not as fast as rsync –link-dest; rsync does not have to do as much work to accomplish what it sets out to do. But if you are paying for your storage, backshift will probably be significantly cheaper.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size backshift-1.50.tar.gz (72.6 kB)||File type Source||Python version None||Upload date||Hashes View|