Kenneth Skovhede
a029890409
Implemented better default error messsages
2017-01-09 11:35:38 +01:00
Kenneth Skovhede
ab6379cec2
Added helpful hints if it is detected that the errors can be fixed with purge-broken-files
2017-01-05 20:58:33 +01:00
Kenneth Skovhede
32423d78b5
Added EndTime value in a few places.
...
This fixes #2127
2016-12-02 00:08:09 +01:00
Kenneth Skovhede
c1c8c9a1aa
Merge branch 'master' into concurrent_processing
...
Some changes were required for this merge,
now the StreamBlockSplitter process will take in any stream, store the blocks and return the blockset ID.
This makes it compatible with the changes for metadata handling where they support more than a single block of metadata.
# Conflicts:
# Duplicati/Library/Main/Database/LocalDatabase.cs
# Duplicati/Library/Main/Database/LocalRepairDatabase.cs
# Duplicati/Library/Main/Operation/BackupHandler.cs
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
2016-10-18 13:27:36 +02:00
Kenneth Skovhede
309bf1648d
Merge branch 'master' into feature/fix_for_different_blockhash_and_filehash_plus_multiblocks_metadata
...
# Conflicts:
# Duplicati/Library/Main/Database/LocalDatabase.cs
# Duplicati/Library/Main/Database/LocalRecreateDatabase.cs
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
# Duplicati/UnitTest/BorderTests.cs
2016-10-17 13:28:27 +02:00
Kenneth Skovhede
94c5e10480
Merge branch 'master' into concurrent_processing
...
# Conflicts:
# Duplicati/Library/Main/Database/LocalBackupDatabase.cs
# Duplicati/Library/Main/Database/LocalDatabase.cs
# Duplicati/Library/Main/Database/RemoteVolumeEntry.cs
# Duplicati/Library/Main/Operation/BackupHandler.cs
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
# Duplicati/Library/Main/Operation/RepairHandler.cs
# Duplicati/Library/Main/Operation/RestoreControlFilesHandler.cs
2016-09-16 10:33:07 +02:00
Kenneth Skovhede
db8c025497
Merge branch 'master' into concurrent_processing
...
# Conflicts:
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
2016-09-15 11:44:39 +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
f0c0fc3a2e
Merge branch 'master' into concurrent_processing
...
# Conflicts:
# Duplicati/Library/Main/Database/LocalDatabase.cs
# Duplicati/Library/Main/Duplicati.Library.Main.csproj
# Duplicati/Library/Main/Operation/BackupHandler.cs
# thirdparty/CoCoL/CoCoL.dll
2016-08-08 15:03:42 +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
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
d137efa5e3
Fix for recreate database with small chunks as metadata on folders and symlinks
2016-04-05 00:20:16 +02:00
Kenneth Skovhede
d101f91c94
Fixed support for metadata larger than blocksize. Now supports one full blocklist of metadata, appx 300mb with default settings.
...
Added correct handling of metadata hashes, such that a metadata blockset is now handled the same was as a regular file blockset.
The query that creates the filesets does not support more than a single blocklist of metadata, hence the limitiation.
2016-04-04 18:11:48 +02:00
Kenneth Skovhede
e40bd7f02a
Proposed version, not complete with handling large metadata chunks
2016-04-03 23:10:47 +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
FootStark
d715d494ec
Quickfix to restore issue
...
Fixes blocksize-assumption of 10KB
2016-03-26 13:14:05 +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
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
380ea4ce03
Merge branch 'master' into concurrent_processing
2016-03-14 09:38:30 +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
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
65b45a3e17
Revert "Prevent the repair operation from creating a temporary partial database"
...
This reverts commit 2d6c269e92 .
2016-02-10 17:38:24 +01:00
Kenneth Skovhede
2d6c269e92
Prevent the repair operation from creating a temporary partial database
2016-01-21 22:33:27 +01:00
Kenneth Skovhede
c7e1ece760
Bugfix for a case where the repair process is called before it has completed.
2015-10-26 09:14:44 +01:00
Kenneth Skovhede
fa6af79e78
Update RecreateDatabaseHandler.cs
...
Fixed a typo in an error message
2015-09-04 14:03:31 +02:00
Kenneth Skovhede
fec08eb560
Added a sanity check to the repair process
2015-08-26 12:38:49 +01:00
Kenneth Skovhede
93cde1a674
Added a probing method to better handle restore cases with renamed files.
...
This fixes #1437 .
2015-08-24 17:03:14 +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
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
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
16c791f0b5
Removed all resx files, now using Duplicati.Library.Localization exclusively
2015-01-20 21:07:24 +01:00
Kenneth Skovhede
db5876bbf1
Added more diagnostics output to the repair process
2014-12-31 14:25:17 +01:00
Kenneth Skovhede
a21bb367d8
Added size and hash to database when restoring dblock files with no dindex file.
2014-12-30 17:40:51 +01:00
Kenneth Skovhede
9f64a92006
Added progress reporting for various operations
2014-08-26 15:01:56 +02:00
Kenneth Skovhede
3c595b61c9
Fixed duplicate logging of operation results
2014-07-16 00:57:57 +02:00
Kenneth Skovhede
bd53090ae7
Implemented the pause/resume/stop/start methods throughout the calls to allow for interactive control over the tasks
2014-05-15 12:47:16 +02:00
Kenneth Skovhede
796459df5d
Fix for hash collisions with different size inputs
2014-05-14 14:44:56 +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
Kenneth Skovhede
a35710edef
Rewrote some database methods to return enumerables instead of instantiated lists
2013-07-01 12:03:59 +02:00
Kenneth Skovhede
b69cdcb136
Fixed filters to include everything if empty.
...
Will now include by default if there are only exclude filters.
If there are any include filters, the files are excluded by default.
2013-06-30 12:42:13 +02:00
Kenneth Skovhede
2bf912a0af
Rewrote the filter system to distinguish between match and result, which allows filter combinations
2013-06-29 12:16:30 +02:00
Kenneth Skovhede
2b01d20ce3
Added profile logging to all commit calls
...
Added extra profiling on backup
2013-06-09 16:30:28 +02:00
Kenneth Skovhede
d696670598
Reworked the result reporting to support type safe values
2013-05-25 16:40:15 +02:00
Kenneth Skovhede
7493291be6
Changed AsyncDownloader to support continued downloading if errors are encountered
2013-05-20 15:02:36 +02:00
Kenneth Skovhede
c29d9d00b9
Implemented the backup command.
...
Rewrote filter handling across the entire project.
2013-05-13 22:32:05 +02:00
Kenneth Skovhede
524d096d5b
Added the new LIST command
2013-05-11 12:03:15 +02:00
Kenneth Skovhede
23744d8915
More refactoring and cleanup
2013-05-08 21:29:59 +02:00