Summary
hg Use ID
backup and synchronization between multiple locations
Python (py)
83%, 15 files
Markdown (md)
11%
Show more
Laman 7d21dd70864a
8 years ago
Laman ee936b917440
8 years ago
Laman 2e5828ec7d49
8 years ago
Laman 9dbe43245cff
8 years ago
Laman 5813971dbecc
8 years ago
Laman 9bfcb1e83e61
8 years ago
Laman 6c8e994fd906
8 years ago
Laman 3d0876534e40
8 years ago
Laman 3f9fff4c9811
8 years ago
Laman 259f29140f23
8 years ago

Morevna

A backup and synchronization script. Uses rdiff-backup to back up data to a LUKS container and synchronizes its updates across devices.

morevna.sh runs the top level operations (consider it my example configuration), morevna.py is responsible for the synchronization.

Because the objective is to store an opaque container without necessarily trusting the device, it is troublesome to effectively propagate the changes. But we know that the data are internally aligned to blocks. Therefore we hash the entire file block by block, build a hash tree over the leaves and compare the client and server trees to determine which blocks to transmit.

In my use (8GB container stored on a magnetic hard drive) the main performance bottleneck is reading the entire file.