Summary
hg Use ID
backup and synchronization between multiple locations
Download as zip
Laman e3c116b7dc5c
7 years ago
Laman 13603ac261f1
7 years ago
Laman 922291d72c0f
7 years ago
Laman a4bfaabaeabb
7 years ago
Laman 1751c1b9b3d9
7 years ago
Laman 4f3ff4c311f2
7 years ago
Laman 0b67ddd4455a
7 years ago
Laman 27d07c23efb0
7 years ago
Laman a8c19b3849ff
7 years ago
Laman 5f1426df68a7
7 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.