-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathindex.html
86 lines (86 loc) · 2.77 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<title>Bscp – Secure and efficient copying of block devices</title>
<style>
body {
font-family: sans-serif;
font-size: 11pt;
margin-left: auto;
margin-right: auto;
max-width: 400pt;
}
h1 {
font-size: 20pt;
}
h2 {
font-size: 16pt;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>Bscp – Secure and efficient copying of block devices</h1>
<p>
Bscp copies a single file or block device over an SSH
connection, transferring only the parts that have changed.
</p>
<p>
In other words, it handles the edge case where <a href="https://rsync.samba.org/">rsync</a> fails.
</p>
<h2>Download</h2>
<pre>git clone https://github.com/bscp-tool/bscp</pre>
<h2>Usage</h2>
<pre>bscp SRC HOST:DEST [BLOCKSIZE] [HASH]</pre>
<p>The default <code>BLOCKSIZE</code> is <code>65536</code> (64 KiB).</p>
<p>The default <code>HASH</code> algorithm is <code>sha256</code> (SHA-256).</p>
<h2>Comparison</h2>
<p>
Bscp is similar to the classic
<a href="https://www.bouncybouncy.net/programs/blocksync.py">blocksync.py</a>,
but provides the following advantages:
</p>
<ul>
<li>
It doesn't have to be installed on server side.
</li>
<li>
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.
</li>
<li>
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.
</li>
<li>
The client-server protocol is designed to
communicate in bigger chunks,
so it is more suitable to
network connections with bad latency.
</li>
</ul>
<h2>Contact</h2>
<ul>
<li><a href="https://github.com/bscp-tool/bscp/issues">Bscp issue tracker</a></li>
</ul>
<h2>See also</h2>
<ul>
<li><a href="https://vog.github.io/shasplit">Shasplit</a></li>
<li><a href="https://github.com/systemd/casync">casync</a>
<li><a href="https://www.bouncybouncy.net/programs/blocksync.py">blocksync.py</a></li>
<li><a href="https://theshed.hezmatt.org/lvmsync/">lvmsync</a></li>
<li><a href="https://github.com/vog/scs">Scs</a></li>
<li><a href="https://rsync.samba.org/">rsync</a></li>
</ul>
</body>
</html>