Commit Graph
252 Commits
Author SHA1 Message Date
Kenneth Skovhede a0368d5f30 Added support for reporting backend size when --no-backend-verification is supplied.
This fixes #1723
2016-09-23 13:46:42 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede 490776ed73 Implemented a database flag to mark a database as partially recreated.
Fixed issue with error messages when attempting to recreate a partial database for restore as described in #1695.
2016-09-13 21:55:15 +02:00
Kenneth Skovhede 72e3782b0a Added error reporting to detect errors such as the one reported in #1905. 2016-08-30 12:26:57 +02:00
Max b6c83f4982 prevent from including temporary files in verification file 2016-08-28 18:55:14 +02:00
Kenneth Skovhede 2ce8b4d8c7 Fixed an error message that did not report any information 2016-06-22 11:21:13 +02:00
Kenneth Skovhede a350d942e6 Fixed a case where a specially crafted broken index file could prevent the database from being recreated correctly.
This fix also optimizes recreates where data is missing in index files and block files are downloaded.
2016-05-02 20:30:38 +02:00
Kenneth Skovhede b9923c9d4f Merge branch 'feature/fix_restoring_symlinks_for_folders' 2016-04-27 16:26:26 +02:00
Kenneth Skovhede d9366e8258 Added fix to correctly restore folder symlinks.
This fixes #1475.
2016-04-27 15:37:27 +02:00
Kenneth Skovhede 3f829cb6c1 Removed errors related to files reporting to be "reparsepoint" but not being symlinks.
This should fix #1727
2016-04-27 14:49:56 +02:00
Kenneth Skovhede 02423b5a46 Added additional logic for getting the backup path prefixes on multi-drive backups in Windows.
This fixes #1672.
This fixes #1527.
2016-04-19 10:04:22 +02:00
Kenneth Skovhede f1e9c5fbf2 Merge branch 'feature/remove_negative_filesize_report' 2016-04-07 10:49:45 +02:00
Kenneth Skovhede 2187b6adc9 Added limit to avoid reporting negative numbers for remote size if the backend does not report the size 2016-04-06 22:10:36 +02:00
Kenneth Skovhede 742eab0913 Fixed multiple cases where connections and command instances were not disposed.
This should fix all cases of "File is locked" on windows.
2016-04-06 20:40:34 +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 a2141a60aa Pending save buffer fix 2016-03-24 16:36:42 +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 875cd57eab Bit too quick there :) 2016-03-20 12:41:17 +01:00
Kenneth Skovhede bf07813ca8 Real fix for the problem with duplicate fileset timestamp on really short backups 2016-03-20 12:38:36 +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 dc1ede384a Added check so restore also works with non-default block sizes 2016-03-18 13:25:20 +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 f3477cac3a Implemented upload of additional index volume if data is found to be missing during the recreation process 2016-03-17 21:45:45 +01:00
Kenneth Skovhede 3397e42e0b Merge pull request #1620 from FootStark/DeleteVolumeQuickFix
Mitigate slow volume deletion
2016-03-16 15:38:54 +01:00
FootStark 16472b10ca Fixes File accesses and issue #1623 2016-03-16 01:04:55 +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
Kenneth Skovhede ba9b3c186f Improved error message after restore 2016-03-14 10:34:14 +01:00
Kenneth Skovhede be959a8a1b Changed the name of a resource class 2016-03-14 09:35:01 +01:00
Kenneth Skovhede 5193ff7f61 Improved the detection of wrong password to only stop if the very first filelist fails to decrypt 2016-03-13 17:54:59 +01:00
Kenneth Skovhede 2e27bbc45d Stop the repair process if the filelists could not be decrypted, most likely this is caused by a wrong password 2016-03-13 17:01:35 +01:00
Kenneth Skovhede 51612aabf9 Added bug report progress information.
This fixes #1619
2016-03-13 16:23:58 +01:00
Kenneth Skovhede e1c05b1f06 Merge pull request #1614 from FootStark/patch-2
Fix restore failure log message
2016-03-12 15:09:41 +01:00
FootStark f847e3217f Prepend file size check on scan target blocks 2016-03-12 13:47:03 +01:00
FootStark 27ce3ef5f3 Respect DryRun option when scanning target blocks 2016-03-12 12:48:41 +01:00
Stefan Lück ed6bea7a07 Fix restore failure log message 2016-03-12 09:52:40 +01:00
Kenneth Skovhede 3a5c3f44d8 Fixed an issue where some data was not correctly reported after an error was detected 2016-03-10 21:53:00 +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
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 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 8d644e2f94 Adapted to new BlockMarker, build statistics 2016-02-27 22:06:58 +01:00
Kenneth Skovhede e2c3ba91e6 Added consistency check when re-building index files. 2016-02-23 20:56:58 +01:00
Kenneth Skovhede 1fab22c807 Fixed some crashes introduced with the refactoring 2016-02-19 00:15:16 +01:00
Kenneth Skovhede 3236459f86 More refactoring to reduce the number of shared variables used when calling around in the BackupHandler class 2016-02-18 23:10:26 +01:00
Kenneth Skovhede 93cf6f6690 Changed logic for creating new volumes during backup.
Instead of creating them up front, they are created when needed (lazy init).
2016-02-18 22:49:10 +01:00