Commit Graph
1925 Commits
Author SHA1 Message Date
Kenneth Skovhede 9fd0121142 Removing the code that updates the logdata, as it has no effect, since any updated error messages will be destroyed later, should they contain any path-like strings.
This should help with #2298
2017-02-02 22:23:54 +01:00
Kenneth Skovhede 7f4c9383c3 Merge branch 'feature/set_tempdir_for_sqlite' 2017-01-25 21:16:45 +01:00
Kenneth Skovhede 9e6eefad9f Merge branch 'feature/add_single_result_code'
# Conflicts:
#	Duplicati/Library/Modules/Builtin/Strings.cs
2017-01-23 23:32:30 +01:00
Kenneth Skovhede 9007165139 Merge branch 'feature/fix_typos' 2017-01-23 23:11:56 +01:00
Kenneth SkovhedeandGitHub 1f99f54872 Merge pull request #2281 from duplicati/feature/improved_consistency_check
improved consistency check
2017-01-23 23:08:17 +01:00
Kenneth Skovhede 626a79db1d Added guards agains empty lists of errors and warnings in the new parsed result type 2017-01-23 22:22:22 +01:00
Kenneth Skovhede 1424be05f9 Fixed a bunch of typos.
This fixes #2278.
2017-01-23 22:12:24 +01:00
Kenneth Skovhede cafb8e6ff1 Fixed issues with reporting the correct error message when enumerating files 2017-01-23 20:53:18 +01:00
Kenneth Skovhede 81e8ef92da Added a new result code to simplify reporting the same backup result from all modules. 2017-01-23 20:47:01 +01:00
Kenneth Skovhede 0ad55a1ef2 Merge branch 'master' into feature/improved_consistency_check 2017-01-19 14:06:42 +01:00
Kenneth Skovhede 3ed963b7b5 Merge branch 'feature/minimal_fix_for_constraint_issue' 2017-01-19 14:04:56 +01:00
Kenneth Skovhede 551e11303c Fixed the duplicated log entries in the log file.
This fixes #2254
2017-01-19 13:12:17 +01:00
Kenneth Skovhede d08b7750f0 Removed the unnecessary distinct clause from the recreate query.
Added a comment about the potentially unnecessary extra join in the statements that fills in block hashes.
2017-01-19 10:53:32 +01:00
Kenneth Skovhede 305d8bc7fe Added an extra condition on the join for the recreate issue.
This is a less experimental rewrite of the query that fixes the exact problem.
The speedups from this query fix are also substantial, going from 2.5 hours to 11 minutes.

This is likely a fix to these issues:
#1699, #2048, #2140, #2178

This could help with issues:
#1391, #2050
2017-01-19 09:55:36 +01:00
Kenneth Skovhede 3b4cd3c9c2 Experiment to set the SQLite temp folder, both through the environment variable and the deprecated pragma statement 2017-01-15 23:09:47 +01:00
Kenneth Skovhede be46960a6b Added debugging code that dumps the temporary tables as permanent tables if the error from #1699, #2048, #2140, or #2178 2017-01-15 23:08:21 +01:00
Kenneth Skovhede 97ba7ef9a5 Fixed issue with restoring files to their original location.
This fixes #2246
2017-01-14 12:46:59 +01:00
Kenneth Skovhede f3570507e3 Merge branch 'master' into feature/improved_consistency_check 2017-01-12 09:31:39 +01:00
Kenneth Skovhede 4dcf386312 Merge branch 'feature/revert_slowdown_2244' 2017-01-12 09:28:23 +01:00
Kenneth Skovhede e79cfa4d6f Merge branch 'feature/fix_send_mail' 2017-01-12 09:28:12 +01:00
Kenneth Skovhede f5a1bcd32c Reverted the SQL query to use the Timestamp sorting instead of explicit fileset.
This fixes #2244
2017-01-11 23:48:41 +01:00
Kenneth Skovhede d62d483202 One more rework for the log output, to allow some messages to enter the log file but not the console 2017-01-11 23:35:42 +01:00
Kenneth Skovhede 030a504183 Reworked the way the controller uses logging scopes to selectively send messages to file logs, but not normal operation listener 2017-01-11 22:44:42 +01:00
Kenneth Skovhede 309df0f720 Added re-entrancy locks to all reporting messages in BasicResults 2017-01-11 22:41:28 +01:00
Kenneth Skovhede d3a3d8c85f Fixed a mistake in the debugging code for issue 2140 2017-01-11 13:51:56 +01:00
Kenneth Skovhede 816ac4e722 Changed the way the delete handler deals with --allow-full-removal 2017-01-11 13:51:30 +01:00
Kenneth Skovhede e692be5c92 Reworked the way log messages are handled, to include call-context setup.
This enables modules to report messages to the message-sink, and thus to the commandline through the normal interface.
This simplifies handling multiple logging systems, and supports reporting logging from multiple concurrent controller instances.

This fixes #2225
This fixes #1575
2017-01-09 23:27:56 +01:00
Kenneth Skovhede 6bb1579aa9 Updated MailKit, fixed a bug with DnsLite, added backward compatible tls support from MailKit.
This fixes #1540.
This fixes #1948.
This fixes #2060
This fixes #2225
2017-01-09 23:21:00 +01:00
Kenneth Skovhede a029890409 Implemented better default error messsages 2017-01-09 11:35:38 +01:00
Kenneth Skovhede fc9f1b1dd3 Added description for the --allow-full-removal option 2017-01-09 10:40:09 +01:00
Kenneth Skovhede 9a849a2b58 Improved support for cross-os restores.
This fixes #1302
This fixes #1983
2017-01-06 23:01:54 +01:00
Kenneth Skovhede 8571475938 Merge branch 'feature/debug_listing_for_1400' 2017-01-06 10:03:03 +01:00
Kenneth Skovhede 684bd867ed Merge branch 'feature/debug_listing_for_2140' 2017-01-05 22:16:32 +01:00
Kenneth Skovhede 1b4cb3b5df Merge branch 'feature/implement_remote_file_recovery' 2017-01-05 22:16:25 +01:00
Kenneth Skovhede 179290d521 Added more extensive listing to further pinpoint the source of the error in #1400 2017-01-05 22:15:59 +01:00
Kenneth Skovhede fd0d0d5529 Added tracing output to track down issue #1699, #2140 and #2178 2017-01-05 21:41:21 +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 1108d51d7f Implemented a new new list-broken-files and purge-broken-files command for the commandline to assist with handling remote file loss. 2017-01-05 16:46:01 +01:00
Kenneth Skovhede 76aae5de7b Changed the logic for getting the last-modified timestamp from the database.
Now we only look at the timestamp from the previous fileset, instead of for the last time the file was seen.
This should improve lookup times, and thus the running time for backups with many files.

This change means that the following sequence of operations will react differently:

- backup
- delete file
- backup
- undelete file
- backup

Prior to this commit, the undeleted file would be seen with the original timestamp and thus can avoid being scanned for changes.
After this commit, the file will be treated as a new file, even if it has the previous timestamp and will thus be scanned for changes.

An additional switch has been introduced, --check-filetime-only that improves the lookup further by not looking at the metadata or filesize, and thus makes a much lighter call to the database, where fewer tables need to be touched.
2017-01-05 10:03:32 +01:00
Kenneth Skovhede 3b85a77673 Minor style fixes 2017-01-05 09:57:06 +01:00
Kenneth Skovhede e1a989ca32 Merge branch 'feature/add_purge_command' 2016-12-30 00:39:59 +01:00
Kenneth SkovhedeandGitHub d7e9f0b61a Merge pull request #2208 from dessant/patch-1
list webp as a compressed extension
2016-12-30 00:10:31 +01:00
Kenneth Skovhede 52eb8e8478 Disabled MSBuild for much faster builds on MacOS 2016-12-29 23:12:41 +01:00
Kenneth Skovhede 4bf4871427 Added commandline operation to purge select files from filesets.
This fixes #1009.
This paves the way for #1337.
2016-12-29 22:41:13 +01:00
dessantandGitHub c3d7c2a7f4 list webp as a compressed extension 2016-12-28 07:27:02 +02:00
Kenneth Skovhede 9a227ada6b Reworked the cleanup process to allow a dangling filelist, such that this dangling entry can be used as the basis for a synthetic filelist.
Also added an option to disable synthetic filelists.
This fixes #2038.
This fixes #2101
2016-12-24 11:42:26 +01:00
Kenneth Skovhede 3182a227b9 Added additional debug info for tracing the cause of issue #1400 2016-12-23 17:04:12 +01:00
Kenneth Skovhede eb9f192240 Merge branch 'feature/remove_unused_cache_code' 2016-12-23 14:58:49 +01:00
sfahrenholzandGitHub f7ab227df0 Update Strings.cs
correction of spelling mistakes
2016-12-23 11:47:51 +01:00
Kenneth Skovhede d8972b0f2b Removed unused memory cache code 2016-12-16 17:30:39 +01:00