Commit Graph

183 Commits (master)

Author SHA1 Message Date
Am1GO 945d4978e7 Fixed typo
s/sise/size/
2014-12-09 18:41:28 +03:00
Am1GO 3baa877080 Merge pull request #28 from Am1GO/master
Fail gracefully if can't load index file
2014-12-09 18:31:15 +03:00
Am1GO 68ffccff24 Fail gracefully if can't load index file 2014-12-09 18:29:12 +03:00
Am1GO c51e014c0d Merge pull request #27 from Am1GO/BBBSnowball-lzo-pull-request
LZO compression (reworked)
2014-12-09 17:54:47 +03:00
Am1GO cc84486668 LZO and backup exchanger working together
Additionally fixed segfault introduced in previous commit
2014-12-09 17:42:41 +03:00
Am1GO 629718f9bc Why not to set outputSize right away? 2014-12-09 17:09:00 +03:00
Am1GO efa7964d1c Added liblzo2-dev to .travis deps 2014-12-09 15:24:15 +03:00
Am1GO 9e7ebcb03c Merge branch 'lzo-pull-request' of github.com:BBBSnowball/zbackup into BBBSnowball-lzo-pull-request
Conflicts:
	.gitignore
	CMakeLists.txt
	bundle.cc
	chunk_storage.cc
	zbackup.cc
	zbackup.hh
	zbackup.proto
2014-12-09 15:21:51 +03:00
Am1GO 4e37e90be5 Update README.md
Added links to some distros
2014-12-09 13:33:34 +03:00
Am1GO 78e3839a80 Update README.md
Concept of the future of garbage collection
2014-12-01 15:42:51 +03:00
Am1GO fd511f5430 Merge pull request #20 from Sectoid/gc-impl
Basic garbage collection support (updated)
2014-12-01 14:56:09 +03:00
Am1GO c993a7364e Merge pull request #24 from Am1GO/master
Added Travis integration settings
2014-11-27 21:12:30 +03:00
Am1GO 151bc26830 Added Travis integration settings 2014-11-27 21:01:59 +03:00
Am1GO 2c071efb89 Update README.md
Added Travis build status
2014-11-27 20:51:05 +03:00
Gleb Golubitsky c1433dd524 dropping away unneeded threads param in ZRestore
Signed-off-by: Gleb Golubitsky <sectoid@gnolltech.org>
2014-11-27 18:29:09 +02:00
Gleb Golubitsky e5cebd17e6 refactoring to eject gc code from ZRestore and make world a bit better place
Signed-off-by: Gleb Golubitsky <sectoid@gnolltech.org>
2014-11-27 18:20:41 +02:00
Gleb Golubitsky d90d793c5f gitignoring cmake's and protobuf's trash
Signed-off-by: Gleb Golubitsky <sectoid@gnolltech.org>
2014-11-27 17:15:05 +02:00
Gleb Golubitsky 7607f21728 fixing typo in the usage help message
Signed-off-by: Gleb Golubitsky <sectoid@gnolltech.org>
2014-11-27 17:11:30 +02:00
Am1GO 5e094fb56f Update README.md
Added Attic to similar projects description.
2014-11-27 14:58:30 +03:00
Am1GO c4ccbe5c12 Merge pull request #21 from antevens/add_osx_compat
Add MacOSX compatability
2014-11-26 21:42:51 +03:00
Jarl Stefansson 5aa754654b Add MacOSX compatability 2014-11-26 13:31:31 -05:00
Gleb Golubitsky 3747a3e5c4 Removing empty directories in bundles after performing garbage collection
Signed-off-by: Gleb Golubitsky <sectoid@gnolltech.org>
2014-11-25 15:17:07 +02:00
Gleb Golubitsky 3522786202 Merge used chunks into single index instead of making new chunks for each used
Signed-off-by: Gleb Golubitsky <sectoid@gnolltech.org>
2014-11-25 14:42:15 +02:00
Gleb Golubitsky c57adde8f6 Added gc command to usage information
Signed-off-by: Gleb Golubitsky <sectoid@gnolltech.org>
2014-11-25 12:46:07 +02:00
Vitaliy Filippov 2c43343782 Basic garbage collection support 2014-11-25 12:46:07 +02:00
Am1GO 3e7ae35a7c Merge pull request #18 from Am1GO/master
Added missed OpenSSL exception to the headers
2014-10-17 18:06:22 +04:00
Am1GO 4468e69923 Added missed OpenSSL exception to the headers 2014-10-17 18:02:45 +04:00
Konstantin Isakov 28be26b5bb Merge pull request #15 from Am1GO/master
Use sendfile if EXDEV received from rename call
2014-10-17 12:46:07 +04: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 9709e1cdb8 Release version 1.3. 2014-10-10 13:59:21 +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 1d3a568a1b Slight refactoring 2014-10-02 22:13:15 +04:00
Am1GO ea893dd868 Bundle support for backup exchange
Adler32 calculation fixed
2014-10-01 23:01:59 +04:00
Am1GO 0a61cc8a17 Initial bundle support for backup exchange
Adler32 calculation for destination is in development
2014-10-01 13:43:46 +04:00
Am1GO 83bdb77c4d Index support for backup exchange 2014-09-30 17:36:16 +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
Am1GO a761c0078a Use sendfile if EXDEV received from rename call 2014-09-29 14:21:30 +04:00
Am1GO 55b9486473 Added some boilerplates for backup exchanger 2014-08-27 12:12:47 +04:00
Am1GO 9f8c631561 Added all appropriate sanity checks for cli 2014-08-22 14:40:49 +04:00
Konstantin Isakov 7c2205a3e0 Add support for big-endian architectures. 2014-01-15 21:48:05 +04:00
benny 8b0846bca6 use the NoCopy class to make sure EnDecoder cannot be copied 2013-10-28 00:48:48 +01:00
benny 00e3c32152 add my copyright to the files that I created or modified 2013-10-28 00:40:59 +01:00
benny 9e5c5449fb fix a wrong word 2013-10-28 00:34:07 +01:00
benny 4cf6ed1154 use '--compression lzo' instead of '--lzo', so we don't have to introduce a new argument when we add more compression methods
If we add more compression methods, we should improve it even further: We shouldn't have to edit zbackup.cc at all. IMHO, this introduces additional complexity that I wouldn't introduce before there is a good reason to do so.
2013-10-28 00:25:19 +01:00
benny 767c211c5d compression.hh gets a namespace and exceptions 2013-10-09 00:22:51 +02:00
benny 44f3cdb98e update README.md: user can select the default compression method when she inits the repository 2013-10-09 00:03:53 +02:00
benny fb4d814e5c Default compression is stored in StorageInfo
The user can set the default compression method, when she creates the storage. This method
will be used for backup unless the user overrides it with a command-line switch. That way
she can still choose for each backup.

suggested by dragonroot
2013-10-08 23:57:27 +02:00
benny abebe7a1ee Bump up file version, if we use a compression that the old code couldn't handle
This will make it abort with a sensitive error, i.e. that the file has been created by a newer version of the software.
2013-10-08 23:29:05 +02:00
benny 2c3b20f332 adjust coding style some more 2013-10-08 23:18:39 +02:00
benny f2a7446716 prepare lzo support for pull request - 2nd half
- move compression_method field from BundleInfo to file header
- add a test case to make sure this doesn't break compatibility
2013-10-08 01:43:33 +02:00