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
4bd4fa8fa1
Resolves #76
...
Now it was possible to specify path to tmp directory using TMPDIR
environment variable, i.e.:
cat /111 | TMPDIR=/tmp/ zbackup backup -O paths.respect_tmp <..>
2015-08-20 12:01:09 +03:00
Vladimir Stackov
ff113999a2
Fixed GC usage notice
2015-08-19 11:30:23 +03:00
Vladimir Stackov
0631d70c4b
Added switch for choosing fast or deep GC
2015-08-19 10:32:16 +03:00
Am1GO
c32ce15e51
Merge pull request #87 from Am1GO/master
...
Updated GC logic
2015-08-18 19:09:24 +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
Am1GO
4c1f83a733
Merge pull request #85 from UlrichAlt/master
...
Make zbackup compile in cygwin
2015-08-14 13:51:01 +03:00
Ulrich Alt
04a15b676b
Make zbackup compile in cygwin
2015-08-14 10:22:41 +02: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
Am1GO
e76c0db562
Merge pull request #83 from Am1GO/master
...
Fix for #70
2015-08-04 16:08:09 +03:00
Vladimir Stackov
d6cb627fad
Fix for #70
...
Reindexing feauture coming soon
2015-08-04 16:03:51 +03:00
Am1GO
78dc42fd96
Merge pull request #81 from Am1GO/master
...
Dirty fix for #79
2015-08-04 11:04:12 +03:00
Vladimir Stackov
864cd57570
Dirty fix for #79
...
TODO: use smart pointers
2015-08-04 09:55:01 +03:00
Am1GO
c3a318dd1c
Merge pull request #80 from Am1GO/master
...
Migrate to new travis infrastructure and use ccache
2015-07-31 11:17:57 +03:00
Vladimir Stackov
b338c87988
Merge branch 'master' of github.com:zbackup/zbackup
2015-07-31 11:14:40 +03:00
Vladimir Stackov
74cd4ee7da
An attempt to enable travis cache
2015-07-31 11:11:07 +03:00
Vladimir Stackov
0e72ec5132
Migrate to new travis infrastructure
2015-07-31 11:07:22 +03:00
Am1GO
108a5e8886
Merge pull request #78 from Am1GO/master
...
Resolve #58
2015-07-31 10:56:14 +03:00
Vladimir Stackov
335db15909
Resolved #58
2015-07-31 10:52:11 +03:00
Vladimir Stackov
6b0fd79da0
Fixed stupid umask call from #38bf13ef
2015-07-30 15:14:52 +03:00
Am1GO
9f93ecac27
Merge pull request #69 from bdklahn/master
...
Added support for FreeBSD
2015-04-03 12:33:05 +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
Am1GO
05227887dd
Update README.md
2015-02-12 22:56:29 +03:00
Am1GO
17c359fcf3
Merge pull request #62 from Am1GO/master
...
An attempt to fix some of the coverity issues
2015-02-10 15:05:18 +03:00
Vladimir Stackov
38bf13ef83
An attempt to fix some of the coverity issues
2015-02-10 14:40:11 +03:00
Vladimir Stackov
89d6171ea1
Merge remote branch 'upstream/master'
2015-02-06 13:32:26 +03:00
Vladimir Stackov
f28b2ae7c6
Added reset action for config command
2015-02-06 13:31:09 +03:00
Am1GO
e01151cec2
Update README.md
2015-02-06 12:39:10 +03:00
Am1GO
e92b316528
Merge pull request #61 from Am1GO/master
...
Fixed repo migration (#60 )
2015-02-06 10:58:47 +03:00
Vladimir Stackov
f656a24021
Fixed repo migration ( #60 )
2015-02-06 10:36:38 +03:00
Am1GO
a7a671a76c
Merge pull request #57 from Am1GO/master
...
Class/headers refactoring, removed dead ZCollect
2015-02-04 14:50:39 +03:00
Vladimir Stackov
ebe9daa056
Class/headers refactoring, removed dead ZCollect
2015-02-04 14:38:22 +03:00
Am1GO
8b11e385c6
Update README.md
2015-01-30 11:56:29 +03:00
Am1GO
b4091bd8fc
Merge pull request #56 from Am1GO/master
...
Fix #48
2015-01-30 11:45:23 +03:00
Vladimir Stackov
2923caa89c
Fix -Wformat warnings
2015-01-27 09:56:50 +03:00
Vladimir Stackov
7cf6c76590
Drop <vector> from Config
2015-01-30 11:31:44 +03:00
Vladimir Stackov
9cae833045
Make keywords non-static for #48
...
As suggested on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64830
2015-01-30 11:27:11 +03:00
Vladimir Stackov
24303c1309
Include git version in binary build
2015-01-25 20:56:41 +03:00
Vladimir Stackov
9022e1fac4
Drop leading/trailing underscores in the header guards
2015-01-25 19:44:15 +03:00
Vladimir Stackov
5217c64709
Added catch-all handler ( #52 )
2015-01-25 19:37:30 +03:00
Vladimir Stackov
4298a0f111
Fix for #50 and additional workaround for #48
2015-01-25 19:33:01 +03:00
Vladimir Stackov
3bde1c404e
Temporary workaround for #48
2015-01-24 17:58:36 +03:00
Am1GO
f4ff7bd8ec
Merge pull request #49 from utzig/fix-macosx-endian-macros
...
Add missing endian macros on OS X
2015-01-23 23:46:42 +03:00
Fabio Utzig
eb652a71c7
Add missing endian macros on OS X
2015-01-23 18:36:11 -02:00
Vladimir Stackov
a04128961a
Respect options on storage initialization
2015-01-23 15:08:02 +03:00
Vladimir Stackov
aaffa344d2
Merge pull request #47 from Am1GO/master
...
Support for -o lzma.compression_level
2015-01-23 14:41:18 +03:00
Vladimir Stackov
30fe01a2a0
Added support for -o lzma.compression_level:
...
* Closes https://github.com/zbackup/zbackup/pull/10 completely
* editConfigInteractively moved to ZBackupBase again (to make possible
to use Config almost anywhere)
2015-01-23 14:32:40 +03:00
Vladimir Stackov
c5b821dba4
Merge pull request #46 from frenkel/openbsd_support
...
Add support for compiling on OpenBSD.
2015-01-23 00:05:43 +03:00