Bscp – Secure and efficient copying of block devices
Bscp copies a single file or block device over an SSH
connection, transferring only the parts that have changed.
In other words, it handles the edge case where rsync fails.
Download
git clone https://github.com/bscp-tool/bscp
Usage
bscp SRC HOST:DEST [BLOCKSIZE] [HASH]
The default BLOCKSIZE
is 65536
(64 KiB).
The default HASH
algorithm is sha256
(SHA-256).
Comparison
Bscp is similar to the classic
blocksync.py,
but provides the following advantages:
-
It doesn't have to be installed on server side.
-
It uses a strong hash algorithm (SHA-256 instead of MD5) by default,
and can use even stronger hash algorithms as long as they are supported by Python,
such as SHA-512 or SHA3-512.
-
DEST is allowed to be larger than SRC.
In that case,
SRC is copied to the beginning of DEST
and the end of DEST remains untouched.
-
The client-server protocol is designed to
communicate in bigger chunks,
so it is more suitable to
network connections with bad latency.
Contact
See also