Re:VeraCrypt: Free, open source, disk encryption for Windows...
by maattdd on Monday October 02, 2023 @06:00AM
(#37736107)
Do you know a syncing tool which would work with a VeraCrypt image? (rsync algo doesn't for example)
[ Parent
| on HN ]
Re:VeraCrypt: Free, open source, disk encryption for Windows...
by aeyes on Monday October 02, 2023 @08:14AM
(#37737129)
Works fine with rsync here.
Re:VeraCrypt: Free, open source, disk encryption for Windows...
by Groxx on Monday October 02, 2023 @01:18PM
(#37741348)
Rsync syncs only differing blocks of data by default - it's pretty much the reason it is so popular.
There are a lot of ways to lose that though. No rsync able to run and calculate block checksums on the server -> no block syncing. Change a byte in a file in an encrypted volume -> it might copy-on-write and make a wholly new encrypted "file" with everything different in the final encrypted data. Etc, it depends on a bunch of stuff interacting in ways that they might have legitimate reasons to not support.
Not sure what you're encountering, but if it's important to you there are a few ways to troubleshoot it. It might be possible to get it working.
Re:VeraCrypt: Free, open source, disk encryption for Windows...
by zeroimpl on Tuesday October 03, 2023 @08:13PM
(#37759319)
By default if rsync sees any difference in metadata (timestamps), it just copies over the file fresh - first to a temporary file and then renames over the original. To do an in-place update you'd need to specify an arg for that. And even then, it needs to do a full read of both files to compare, so all it saves on is bandwidth.
Re:VeraCrypt: Free, open source, disk encryption for Windows...
by brokenmachine on Monday October 02, 2023 @08:29PM
(#37746374)
Syncthing uses block syncing, so I imagine it would work well, although I haven't tried.