Commit Graph

12 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 9824cb2fb7 Experimental: "cacheless restore" using a seekable stream
Do two passes instead of just sequentially writing all chunks to the standard output.
On the first pass, all "chunk emit" instructions are remembered together with their output
positions indexed by bundle id, and all "byte emit" instructions are executed using seeks.
On the second pass, all remembered "chunk emit" instructions are executed in the bundle
order. This makes zbackup decompress every used bundle only ONCE instead of doing
it (basically the same work) many times while reading different chunks.

This allows for bigger bundle sizes (I use 32M), which reduces the number of files
in the repository and makes it more cloud-storage-sync friendly, and further improves
the compression ratio.
2015-08-20 19:15:10 +03:00
Vladimir Stackov a064d9a1d1 Index pseudo-GC implementation 2015-08-12 16:27:54 +03:00
Vladimir Stackov 9022e1fac4 Drop leading/trailing underscores in the header guards 2015-01-25 19:44:15 +03:00
Am1GO 8f47a9e312 Copyright added to source headers 2014-12-11 10:50:15 +03:00
Am1GO 161b691474 Contributors list moved to separate file 2014-12-10 14:44:44 +03:00
Vitaliy Filippov 2c43343782 Basic garbage collection support 2014-11-25 12:46:07 +02:00
Konstantin Isakov 73ec33267d Merge pull request #17 from Am1GO/BackupExchangerInitialImplementation
Backup exchanger initial implementation
2014-10-17 12:43:53 +04:00
Konstantin Isakov 34f6cb14d6 Add OpenSSL exception to the license, add the full texts of all licenses, update the copyright of the program to 2014. 2014-10-10 13:57:25 +04:00
Am1GO 3cee914399 Initial support for backup exchange
Bundle and index exchange is under development yet
2014-09-30 14:36:28 +04:00
Konstantin Isakov bf917bcf31 Always define __gnu_cxx::hash< unsigned long long >. Simplify the function, too. 2013-07-24 13:55:29 +04:00
Igor Katson e5d570259b Make zbackup compile on OS X. 2013-07-22 12:45:40 -07:00
Konstantin Isakov 78a5de2ea4 Initial import of all source code. 2013-07-18 21:33:25 +04:00