Commit Graph
176 Commits
Author SHA1 Message Date
Kenneth Skovhede b92f52331e Added a check to see if there are orphan file entries 2016-03-30 12:29:22 +02:00
Kenneth Skovhede 317fd493d8 Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Database/LocalDatabase.cs
#	Duplicati/Library/Main/Operation/BackupHandler.cs
#	Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
2016-03-30 08:30:09 +02:00
Kenneth Skovhede a568b1e55e Fixed query and logic for issue reported in #1644 and #1583 2016-03-30 01:30:51 +02:00
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 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 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
FootStark 5320a0af13 Mitigate slow vol-deletion by caching slow subquery. 2016-03-13 13:23:06 +01:00
Kenneth Skovhede 537fe20838 Added a lot of comments.
Fixed a few issues that caused parallel uploads.
Fixed the use of the encryption module so the encryption module is not re-used for multiple jobs.
2016-02-25 19:15:51 +01:00
Kenneth Skovhede cedd5aff84 Merge branch 'master' into concurrent_processing 2016-02-23 20:57:41 +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 3ff2f1eb98 The concurrent processing now seems to work, at least in the base case.
Rewrote the handling of index volumes to create them on-demand instead of in-advance.
This makes it much simpler to handle upload failures.
2016-02-22 21:27:12 +01:00
Kenneth Skovhede 115d3c92bc Merge branch 'master' into concurrent_processing 2016-02-18 17:20:59 +01:00
Kenneth Skovhede e740e82aef Bugfix for rebuilding the index files 2016-02-18 16:48:35 +01:00
Kenneth Skovhede ec877696b0 More work on concurrent processing 2016-02-18 16:46:53 +01:00
Kenneth Skovhede 01c3b3f5c0 More work on a concurrent implementation of the backup process 2016-02-09 09:17:31 +01:00
Kenneth Skovhede 0a26e263f1 Work on concurrent processing 2016-01-28 22:24:51 +01: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 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 3972211757 Added automatic log cleanup
This fixes #1298
2015-02-15 23:44:20 +01:00
Kenneth Skovhede 1a431a5f88 Preventing the "missing file" issue in #1214. 2015-02-07 23:27:05 +01:00
Kenneth Skovhede 0a375e2ceb Improved readability slightly 2015-02-04 21:44:03 +01:00
Kenneth Skovhede 60389b1e6e Added extra consistency check to detect the missing file issue related to issue #1214. 2015-02-03 23:47:33 +01:00
Kenneth Skovhede bb17682b94 Indentation fixes 2015-01-25 12:33:00 +01: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 80885b94e7 Now repairing duplicate bloklist hashes in repair.
This fixes #1238.
2015-01-12 23:07:57 +01:00
Kenneth Skovhede d5079786bd Also remove links if deleting the index file 2014-12-30 18:26:29 +01:00
Kenneth Skovhede fdc9d4fdd4 Moved GetBlocklists into the common database class. 2014-12-30 18:26:08 +01:00
Kenneth Skovhede 76a5ba98f8 Imporved error message 2014-12-30 18:25:30 +01:00
Kenneth Skovhede 3bcf7cf695 Added fixes to prevent the bare-metal recovery issue discussed in issue #1218 and #1214. 2014-12-30 16:15:21 +01:00
Kenneth Skovhede 7cbedb8f43 Refactored the synthetic filelist upload and added a check to prevent defect fileslist being uploaded. 2014-12-30 16:13:31 +01:00
Kenneth Skovhede 3c595b61c9 Fixed duplicate logging of operation results 2014-07-16 00:57:57 +02:00
Kenneth Skovhede 4414c2f0dd Moved SQLite related items into a separate project to avoid pulling in the extra content files when using the utility library for mini projects 2014-04-07 11:59:33 +02:00
Kenneth Skovhede e3b638a158 Pedantic fix 2014-01-19 23:25:17 +01:00
Kenneth Skovhede f94f564395 Update issue #902
Status: Fixed

Changed to set explicit names on the temporary table.
2013-11-20 19:16:35 +01:00
Kenneth Skovhede 3fd83514f4 Improved speed for verifying database consistency 2013-09-25 23:31:48 +02:00
Kenneth Skovhede d708828804 Restore now scans older backups to look for files, if the file(s) searched for are not found in the list 2013-08-24 22:27:30 +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 e2c713b9e4 Added VACUUM to the database 2013-08-23 22:15:07 +02:00
Kenneth Skovhede e7268ce63b Fixed a bug with modified files not being counted, and a bug where a deleted file would cause trouble if it was created again 2013-08-23 22:14:17 +02:00
Kenneth Skovhede a229de8e23 Cleaned up some output with Backup and compacting.
Implemented better output for Restore.
Fixed a problem with errors during dispose, and a problem with selecting filesets that do not exist.
Fixed a bug with restore if a file existed with some correct data, a copy would be restored with partial data.
Added check to try to avoid excessive restores of the same files if a file in another version already exists.
2013-08-22 20:56:03 +02:00
Kenneth Skovhede 59776c4ecb Bugfix with listing filesets based on timestamp 2013-08-20 21:37:30 +02:00
Kenneth Skovhede af86206cd9 Fixed crash when selecting non-existing version to list or restore 2013-08-06 22:57:03 +02:00