Commit Graph
73 Commits
Author SHA1 Message Date
Kenneth Skovhede 9fdae7f0c3 Added distinct clause to guard against index files with multiple copies of the same blocklisthash 2016-03-19 22:16:22 +01:00
Kenneth Skovhede 6b18217c0a Merge branch 'feature/improved_rebuild_queries'
# Conflicts:
#	Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
#	Duplicati/Library/Main/Operation/RepairHandler.cs
2016-03-18 14:32:43 +01:00
Kenneth Skovhede 4be7a45067 Fixed the query to correctly compute the size of the trailing blocklisthash block. 2016-03-18 13:24:10 +01:00
Kenneth Skovhede ade9db9dca Utility fixes 2016-03-17 21:43:09 +01:00
Kenneth Skovhede 9a58a93894 Fixed an cleaned the rebuild SQL that picks missing blocklist hashes 2016-03-17 21:17:22 +01:00
Kenneth Skovhede 9f1c51e891 Improved logic to deal with blocklistshashes that collide but have different lengths.
Added safeguard to avoid importing blocklists with wrong length, that appears in index files created by older versions of Duplicati.
2016-03-15 21:02:13 +01:00
Kenneth Skovhede 1ef469be67 Bugfix for the index fix 2016-02-13 22:13:40 +01:00
Kenneth Skovhede 097be65865 Adding an index as suggested in issue #1569 2016-02-11 13:29:12 +01:00
Kenneth Skovhede e65e7d234e Fixed an issue where a restored database was missing some files.
This fixes #1410.
2015-07-12 21:36:48 +02:00
Kenneth Skovhede 74bbf0f1f8 Added support for handling null values in the remotevolume table.
This fixes #1334.
2015-05-17 13:38:25 +02:00
Kenneth Skovhede e13978d1c0 Improved handling of non-standard blocksize and hashing algorithms 2015-04-08 20:33:30 +02:00
Kenneth Skovhede 4846ffa103 Now using the file modification timestamp and the filesize as indicators that trigger file scanning.
This fixes #1099.
2015-01-24 21:59:53 +01:00
Kenneth Skovhede 8689d6cb80 Fixed bad SQL reported in #1186 2014-11-11 22:29:38 +01:00
Kenneth Skovhede df9f91d8de Fixed problem with the repair command.
This fixes #1188
2014-11-10 10:31:26 +01:00
Kenneth Skovhede 608e61fbca Fixed SQL typo 2014-11-06 08:30:27 +01:00
Kenneth Skovhede 114195c2ac Fixed an issue with recreating the local database as reported in issue #1150 and #1040. 2014-10-14 13:03:38 +02:00
Kenneth Skovhede 796459df5d Fix for hash collisions with different size inputs 2014-05-14 14:44:56 +02:00
Kenneth Skovhede 1f48d43515 Removed the HashDatabaseProtector and added the HashLookupHelper instead. 2013-09-09 22:50:18 +02:00
Kenneth Skovhede 555945eae4 Implemented a better cache for filenames. 2013-09-07 21:33:59 +02:00
Kenneth Skovhede 4c217b57d9 Fixed a number of dispose errors that would mask real errors 2013-08-23 23:36:25 +02:00
Kenneth Skovhede 0dc3c0aeea Speedup fix 2013-07-24 21:25:02 +02:00
Kenneth Skovhede 5c110162ea Changed the time format of times used programmatically to use EPOCH seconds, as it is faster to parse and more reliable 2013-07-23 21:28:01 +02:00
Kenneth Skovhede a1ef4dbe96 Rewrote the way the database is recreated to ensure greater stability when recovering from a damaged backup.
The restore now correctly works with missing index files and full index files.
2013-07-22 16:54:19 +02:00