Commit Graph
85 Commits
Author SHA1 Message Date
Kenneth Skovhede c7836ce403 Removed support for the old file format 2013-05-05 17:54:59 +02:00
Kenneth Skovhede 0d8ea21760 Improved local restore by not opening source or target files, if the source does not exist 2013-04-29 23:56:01 +02:00
Kenneth Skovhede 0da7039dfd Renamed shadow to index, and reworked the filename format 2013-04-29 23:50:38 +02:00
Kenneth Skovhede d91980dda1 Added faster local-block restore that only restores blocks from the original source files, if restoring to somewhere else. 2013-04-28 12:19:21 +02:00
Kenneth Skovhede 0470e6200a Fixed cleanup for shadow and filelists 2013-04-27 15:13:14 +02:00
Kenneth Skovhede f1fe674130 Bugfix 2013-04-27 15:11:57 +02:00
Kenneth Skovhede 39bd247b2a Bugfix for unchanged backups, introduced after rewrite of shadow-volume handling 2013-04-27 13:00:59 +02:00
Kenneth Skovhede 4893abb8c3 Added option to scan for local blocks, instead of doing it by default 2013-04-27 11:17:33 +02:00
Kenneth Skovhede 141ffa96a8 Improved restore speed 2013-04-27 10:29:27 +02:00
Kenneth Skovhede cf97f7baeb Fixed logic to handle partially written files 2013-04-25 22:07:32 +02:00
Kenneth Skovhede a9aed485f7 Changed the building of shadow files to occur before an upload instead of simultaneously with the block volume 2013-04-25 21:36:00 +02:00
Kenneth Skovhede 3df78983ca Removed redundant counter and updated logic for not uploading unchanged filesets 2013-04-25 19:49:47 +02:00
Kenneth Skovhede b8040f408f Fixed bug with calculating the number of changes files/folders/symlinks 2013-04-25 19:49:15 +02:00
Kenneth Skovhede 97227f0aa2 Fixed a bug with metadatasets, that would cause the same metadataset to occur multiple times in the database 2013-04-25 19:46:32 +02:00
Kenneth Skovhede 0f61260552 Fixed a bug with GetPreviousFilesetID 2013-04-25 19:45:24 +02:00
Kenneth Skovhede 5d7470d654 Added support for auto-creating folders 2013-04-25 19:44:55 +02:00
Kenneth Skovhede 740c2a4435 Bugfix to prevent masking errors with a transaction error 2013-04-22 21:21:13 +02:00
Kenneth Skovhede 65b4efdfab Added method to scrub filenames from database 2013-04-22 21:20:14 +02:00
Kenneth Skovhede 17ec5a5b54 Rollback the schema change and implemented a real fix for the problem 2013-04-22 21:06:52 +02:00
Kenneth Skovhede 6ccc681e6f Fixed a bug that would cause re-use of database IDs 2013-04-21 20:01:32 +02:00
Kenneth Skovhede 54317a04ca Moved db consistency check into LocalDatabase and adjusted point where the verification is called 2013-04-21 20:00:37 +02:00
Kenneth Skovhede 4dba3b034e Bug-fix for the las bug-fix 2013-04-21 19:52:47 +02:00
Kenneth Skovhede a8eb96adf3 Bug fix for case with no in-memory lookup 2013-04-21 14:17:23 +02:00
Kenneth Skovhede 199a720870 Improved error message when db verification fails 2013-04-21 14:04:59 +02:00
Kenneth Skovhede 42a3b0f39c Added consistency check before starting a backup 2013-04-18 21:55:15 +02:00
Kenneth Skovhede b7c4ff79c8 Added sorting to the compact function, so that old blocks are grouped together, as they are expected to be required longer than new blocks 2013-04-16 22:37:54 +02:00
Kenneth Skovhede 1ec4423d86 Fixed the logic that decides if a new file list should be written 2013-04-16 22:37:02 +02:00
Kenneth Skovhede f40c6275aa Cleanup that fixes leftover temporary files 2013-04-16 22:36:19 +02:00
Kenneth Skovhede d839ebf791 Fixed exceptions that mask the real erros 2013-04-15 22:19:40 +02:00
Kenneth Skovhede 66367d662b Fixed problem with dbpath with no path component 2013-04-09 22:59:34 +02:00
Kenneth Skovhede 39f719e094 Bugfix with cleanup 2013-04-09 20:45:11 +02:00
Kenneth Skovhede fd4510edd2 Rewrite of transaction handling, so the database is more closely mimicking the actual remote backend state.
This also removes all multi-threaded calls to the database as they were not working as expected.
The transactions are now used to keep the database in a sane state, but as far as possible log all messages from the connection to the database without using cross-thread requests.
Also fixed some errors with cleanup and rewrote some of the remote filename parsing and validation.
2013-04-09 20:44:53 +02:00
Kenneth Skovhede 6ff8ef7ac7 Style fix 2013-04-08 22:30:12 +02:00
Kenneth Skovhede 709c4ee15a Improved check for compacting 2013-04-08 22:29:50 +02:00
Kenneth Skovhede 765078bca4 Fixed bug where blocklisthashes would be marked as unused in volumes 2013-04-08 22:29:04 +02:00
Kenneth Skovhede 064593bc14 Removed debug output 2013-04-08 22:28:28 +02:00
Kenneth Skovhede 63be6f3afd SQL Style fix 2013-04-08 22:25:30 +02:00
Kenneth Skovhede 91935a5315 Added shaddowblock link to keep track of what shadow files to delete 2013-04-08 22:24:54 +02:00
Kenneth Skovhede d6d11fff20 Improved error message when attempting to re-create the database 2013-04-08 22:21:45 +02:00
Kenneth Skovhede 8391e7bcfe Moved VolumeID out into base class 2013-04-08 22:21:03 +02:00
Kenneth Skovhede f378d6d188 Better fix for guarding against single-volume compact attempts 2013-04-07 09:10:04 +02:00
Kenneth Skovhede ae968bc626 Does not try to compact, if there are only delete able volume 2013-04-07 09:03:54 +02:00
Kenneth Skovhede 3ea8c7478a Fixed removing DeletedBlocks on volume delete 2013-04-07 09:03:23 +02:00
Kenneth Skovhede bef04017de Bugfix 2013-04-07 09:02:55 +02:00
Kenneth Skovhede e782d5c89d Renamed lookup table options from *-size to *-memory to make it clearer that it affects only memory allocation 2013-04-07 08:26:40 +02:00
Kenneth Skovhede 7c5b3043a8 More work on ForestHash 2013-04-06 15:28:43 +02:00
Kenneth Skovhede 4fefbd1645 Work on the block hash format, this should be the last db-restructure 2013-04-06 13:46:58 +02:00
Kenneth Skovhede a87d1d71ae Overhaul that fixes some minor issues and leaves the database much cleaner after a restore.
Also added extra checks to the manifest to reflect the possibility of choosing another hash algorithm.
2013-04-04 20:34:26 +02:00
Kenneth Skovhede 34f88cd9ad Added --auto-cleanup handler for backup, when the volume is small 2013-04-03 21:09:30 +02:00
Kenneth Skovhede fb467929dd Fixed faulty logging of backend operations.
Added console output when doing remote operations.
2013-04-03 21:08:54 +02:00