Commit Graph

13 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 0631d70c4b Added switch for choosing fast or deep GC 2015-08-19 10:32:16 +03:00
Vladimir Stackov ff13dd72ad GC collects duplicates among all repo data 2015-08-18 19:02:12 +03:00
Vladimir Stackov 0a042c4bd2 Initial implementation of deep GC 2015-08-18 17:27:27 +03:00
Vladimir Stackov a064d9a1d1 Index pseudo-GC implementation 2015-08-12 16:27:54 +03:00
Vladimir Stackov 3ff24945a2 Added boilerplates for index GC
Fixed misspelling: s/indicies/indexes/g
2015-08-06 14:02:55 +03:00
Vladimir Stackov d6cb627fad Fix for #70
Reindexing feauture coming soon
2015-08-04 16:03:51 +03: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
Vladimir Stackov ebe9daa056 Class/headers refactoring, removed dead ZCollect 2015-02-04 14:38:22 +03:00
Vladimir Stackov 9022e1fac4 Drop leading/trailing underscores in the header guards 2015-01-25 19:44:15 +03:00
Vladimir Stackov 2f736764ac Storable options is almost done 2015-01-18 03:42:52 +03:00
Vladimir Stackov 414dfcdf74 Runtime configuration management done 2015-01-17 20:08:15 +03:00
Vladimir Stackov a331eb094f Added command to change repo password
Also:
- Slight refactoring (zcollector renamed to backup_collector)
- Fixed typo (s/genarate/generate/g)
2014-12-15 14:13:34 +03:00