Commit Graph
207 Commits
Author SHA1 Message Date
Kenneth Skovhede a811189e82 Merge pull request #1661 from FootStark/hotfix/RecreateDatabaseError
Hotfix/recreate database error
2016-03-26 17:51:43 +01:00
FootStark d715d494ec Quickfix to restore issue
Fixes blocksize-assumption of 10KB
2016-03-26 13:14:05 +01:00
Kenneth Skovhede c71058820c Cleanup logic for fixing databases with a registered duplicate remote volume 2016-03-24 16:31:07 +01:00
Kenneth Skovhede 6cd73c1d0a Likely fix for issue #1644 and #1583 2016-03-24 16:30:19 +01:00
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 0530cb4d52 Added repair-in-progress check to avoid continuing work on a broken database 2016-03-18 13:26:12 +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 0ebbef0b97 Implemented feature that does not delete extra index files if their content fits the database. 2016-03-17 21:51:42 +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 40b96fbedf Bugfix, weird order of arguments 2016-03-17 21:13:48 +01:00
FootStark 7656e891ce Prepocessor for schema, Optimized RemoveRemoteVolume
Added a preprocessor for schema supporting sqlite_version-dependent
Statements
RemoveRemoteVolume deletes volumes in batch.
2016-03-16 00:49:28 +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
FootStark f0525d8ed5 Improved DB schema (version 5) for BlockSetEntry 2016-03-14 23:35:54 +01:00
FootStark 5320a0af13 Mitigate slow vol-deletion by caching slow subquery. 2016-03-13 13:23:06 +01:00
FootStark 27ce3ef5f3 Respect DryRun option when scanning target blocks 2016-03-12 12:48:41 +01:00
Kenneth Skovhede 59df0bf71b Merge branch 'ParalellFileScanning' of https://github.com/FootStark/duplicati into FootStark-ParalellFileScanning
# Conflicts:
#	Duplicati/Library/Main/Operation/RestoreHandler.cs
2016-03-07 00:07:43 +01:00
Kenneth Skovhede 72b32a8fe5 Merge branch 'ImpVolumeDownloadOrder' of https://github.com/FootStark/duplicati into FootStark-ImpVolumeDownloadOrder 2016-03-06 21:17:26 +01:00
FootStark e22a47ef83 Merge remote-tracking branch 'refs/remotes/duplicati/master' into ParalellFileScanning 2016-03-05 10:08:47 +01:00
FootStark 412d7fe07b Reorganize ScanForExistingTargetBlocks
1. Fixes a bug where duplicati truncates forthwritten files backuped
with a size being a multiple of blocksize on rename.
2. Tries to verify file data on beginning. If successful, marks files to
not be reverified in the end.
3. On overwrite restore, removes readonly attribute from files having to
be modified
4. Little speedup by computing parallel blcok and file Hashes
2016-03-05 02:00:28 +01:00
FootStark 2ff1b85ace Fix update stats if file without blocks
Fixes progress tracker if there are files included in restore without
any blocks (happens on empty files with skip-metadata option)
2016-03-04 19:30:32 +01:00
FootStark 1fcf9919a0 Last Adjustment and a measure 2016-03-03 23:18:47 +01:00
FootStark ee5d76837f Volume order by max block index 2016-03-03 20:15:27 +01:00
FootStark 7c1caa6f3d Added comment 2016-02-28 00:16:00 +01:00
FootStark 36984a322b Imrpoved Blockmarker and update statistics
Updated BlockMarker to alter rows in Blocks table directly
Added Trigger-based update statistics
Prepared for file tracker
2016-02-27 22:04:48 +01:00
FootStark 150dac30e8 Enable ExecPlans for commands with parameters 2016-02-27 21:59:25 +01:00
Kenneth Skovhede 39a8f4eb7f Fixed an issue with re-creating index files from database in the case where the source file fills the blocklist with consecutive identical blocks. 2016-02-23 20:56:24 +01:00
Kenneth Skovhede 51340c0c1c Merge pull request #1584 from FootStark/master
Performance improvement on restore
2016-02-18 22:19:31 +01:00
FootStark 07ef6b754e Update ExtensionMethods.cs 2016-02-18 19:33:08 +01:00
FootStark 2595737e58 Speedup restore (Index + SQL Fix)
Fix Indexes and SQL's for Commit and Querying Missing Blocks
2016-02-18 19:31:17 +01:00
Kenneth Skovhede e740e82aef Bugfix for rebuilding the index files 2016-02-18 16:48:35 +01:00
Kenneth Skovhede 84390485cf Merge pull request #1580 from duplicati/suggested_fix_for_issue_1569
Suggested fix for issue 1569
2016-02-15 08:50:59 +01:00
FootStark 9bfca11416 Fix for performance issue on restore. 2016-02-14 19:02:17 +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 02a1d7131e Implemented a sanity check to see if the repair process makes damages. 2015-11-28 21:53:46 +01:00
Kenneth Skovhede e6e3ddd29a Spell fix 2015-11-28 21:52:55 +01:00
Kenneth Skovhede 9bfc39120a Improved handling the compaction process with errors, such that deletes are marked and commited to the database before actually being deleted, causing fewer issues when resuming the operation afterwards. 2015-11-17 21:32:55 +01:00
Kenneth Skovhede 50743b06ed Implemented indexes as suggested in #1481 and #1391 2015-11-16 12:57:34 +01:00
Kenneth Skovhede 6fa57528a9 Fixed some cases where an interrupted upload would cause a deleted remote file to be attempted verified repeatedly. 2015-09-16 21:25:32 +02:00
Kenneth Skovhede d2f4dac74a Fixed issues with filtering/selecting files on case-insensitive filesystems.
This closes #1461.
2015-09-15 19:29:58 +02:00
Kenneth Skovhede ab9da38ef1 Fixed an issue with restores that do not touch all remote volumes.
This fixes #1429.
2015-08-24 10:50:47 +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 2014c93346 Added manual fallback when filtering for non-ascii filenames as SQLite does not handle case-insensitive searches for non-ascii.
This fixes #1349
2015-05-17 13:24:51 +02:00
Kenneth Skovhede 5bc424437a Added options to do partial repairs of a temporary local database, to allow faster restore/searching with no local database 2015-04-08 21:01:36 +02:00
Kenneth Skovhede e13978d1c0 Improved handling of non-standard blocksize and hashing algorithms 2015-04-08 20:33:30 +02:00
Kenneth Skovhede 0de9adc606 Added grace-period for incomplete uploads to avoid backups stopping due to the Apache WebDAV issues.
This fixes #1243.
2015-04-05 14:33:13 +02:00
Kenneth Skovhede a14fceaa95 Fixed an issue with readers being closed prematurely during the repair process. 2015-03-06 13:54:17 +01:00