Commit Graph

9 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
Ulrich Alt 04a15b676b Make zbackup compile in cygwin 2015-08-14 10:22:41 +02:00
Brian Klahn 061a30f218 Added support for FreeBSD: fixed many compile errors to allow for
compiling on FreeBSD 10.1 (PC-BSD). Some items wrapped in ifdefs, others
not; so may want to test compile on Linux.
2015-03-30 09:31:49 -04:00
Frank Groeneveld c97c9aa1e3 Add OpenBSD support.
Re-uses most of the Mac OS X changes, but adds a read(2)/write(2) loop instead
of sendfile(2) when renaming across devices, because OpenBSD doesn't have
sendfile(2).
2015-01-22 21:53:08 +01: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
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
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