Nur Änderungen übertragen - rsync
-
Was haltet ihr von Verfahren wie rsync? Da werden ja nur die Checksummen von Dateiteilen verglichen und dann der Teil übertragen, wenn er nicht passt. Wie sicher ist sowas? Es kann doch auch vorkommen, dass zwei Teile unterschiedlich sind, aber gleiche Chechsummen haben. Würdet ihr sowas für wichtige Daten nehmen?
-
--- schrieb:
Es kann doch auch vorkommen, dass zwei Teile unterschiedlich sind, aber gleiche Chechsummen haben.
Klar, aber das ist eben sehr unwahrscheinlich.
-
Vieeeel bedebklicher finde ich diesen Ausschnitt aus der Dokumentation:
Rsync's protocol has none of these good characteristics. The data is transferred as an unbroken stream of bytes. With the exception of the unmatched file-data, there are no length specifiers nor counts. Instead the meaning of each byte is dependent on its context as defined by the protocol level.
[...]
This method of communication works quite well on reliable connections and it certainly has less data overhead than the formal protocols. It unfortunately makes the protocol extremely difficult to document, debug or extend. Each version of the protocol will have subtle differences on the wire that can only be anticipated by knowing the exact protocol version.
Oder mit anderen Worten, das ist prayware. Man hofft das das Protokoll funktioniert...