Commit Graph
10149 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub e8833c2173 Merge pull request #4171 from warwickmm/add_block_indices
Add indices to Block table to improve query performance
2020-05-10 21:25:03 +02:00
Kenneth SkovhedeandGitHub 531b2ac355 Merge pull request #4188 from warwickmm/fix_unassigned_union
Fix unassigned output in call to Enumerable.Union
2020-05-10 21:10:25 +02:00
Kenneth SkovhedeandGitHub d688f3fe00 Merge pull request #4181 from warwickmm/fix_indentation
Fix confusing indentation
2020-05-10 21:09:53 +02:00
Kenneth SkovhedeandGitHub e7e109e840 Merge pull request #4180 from warwickmm/fix_duplicate_runs_after_pause
Fix issue where multiple backups could occur after pause
2020-05-10 21:09:21 +02:00
Kenneth SkovhedeandGitHub dd3f127544 Merge pull request #4178 from warwickmm/keep_alpha_vss_dlls
Do not remove Alpha VSS dependencies in installer packages
2020-05-10 21:08:10 +02:00
Kenneth SkovhedeandGitHub a39d4f16ec Merge pull request #4170 from warwickmm/case_insensitive_hostnames
Ensure that hostname comparisons are not case sensitive
2020-05-10 21:05:07 +02:00
Kenneth SkovhedeandGitHub 5168d05ebf Merge pull request #4161 from warwickmm/refactor/verify_remote_list_setup
Remove boilerplate code in calls to VerifyRemoteList
2020-05-10 21:04:42 +02:00
Kenneth Skovhede e667602351 Added project dependencies to the commandline tester to make it run again. 2020-05-10 14:16:01 +02:00
Kenneth Skovhede f0891ef4fd Added error handling to the Dropbox backend for cases where the Dropbox server responds with invalid JSON in the error message. 2020-05-10 14:15:35 +02:00
Kenneth Skovhede 2f1f5bb7e0 The purpose of this update is to provide better error messages from servers that return error messages, but are expected to return JSON data.
In the current setup, the response stream is parsed by the JSON decoder, which throws an exception due to reading a non-json formatted error message.
The reported exception simply states that the first character on the first line was not valid json, which is true, but does not help diagnose the problem.

In many cases this is a human readable message, such as "over quota", "permission denied", etc.
This update adds a stream that keeps the first 2kb of the response in an internal buffer, which can then be printed in case the JSON parsing fails.
Most of the added code is just simple redirects for calling the base stream in the peeking stream.
2020-05-10 14:14:35 +02:00
TopperDEL 493c0ad3e2 fix: add custom Metadata 2020-05-08 09:30:49 +02:00
TopperDEL 2493428203 cleanup: Extend documentation 2020-05-08 08:55:54 +02:00
TopperDEL 0b4d75dabc feat: Working backup! 2020-05-07 22:22:34 +02:00
TopperDEL e6842e7adc feat: Async TestConnection is working 2020-05-07 21:44:22 +02:00
Cedric Hauber 0276eca34e Added MyCloudyPlace.com S3 provider 2020-05-06 19:05:22 +02:00
TopperDEL 66d66ac856 TestConnection with bucket-creation, upload and download 2020-05-05 12:38:44 +02:00
TopperDEL cda4abaa06 Use parmeters in backend 2020-05-05 12:02:38 +02:00
TopperDEL 956e237924 Extend parameters in backend-view 2020-05-05 11:59:00 +02:00
TopperDEL a4b42f5a48 Authentication method selection in Backend-View 2020-05-05 09:02:06 +02:00
TopperDEL 8725a17510 Add default host and port only on known Satellites 2020-05-04 17:14:21 +02:00
TopperDEL 4994e0e153 Provide available Tardigrade-Satellites as list 2020-05-04 17:10:46 +02:00
TopperDEL c4445ce883 Adjust wordings 2020-05-04 17:10:10 +02:00
TopperDEL 7daf59f416 Ignore empty SHARED_ACCESS 2020-05-04 16:24:10 +02:00
TopperDEL 989fa02db8 Add uplink.Net-Dependencay 2020-05-04 16:23:14 +02:00
TopperDEL 2c38c9e183 Get the parameters to the backend 2020-05-04 16:08:18 +02:00
Kenneth Hsu a90aa4466c Fix unassigned output in call to Enumerable.Union. 2020-05-02 18:39:18 -07:00
TopperDEL 548a577d67 Make the Tardigrade-Params-View visible 2020-05-02 16:43:30 +02:00
TopperDEL da2e4871b8 Add construtor 2020-05-01 21:40:57 +02:00
TopperDEL 547d883aab Add additional references, small corrections 2020-05-01 21:37:27 +02:00
TopperDEL 65ac913546 feat: Add Tardigrade-Backend stub 2020-04-30 22:14:57 +02:00
Kenneth Hsu cd957559b9 Fix indentatio of closing brace. 2020-04-27 20:33:41 -07:00
Kenneth Hsu 0f4cfdb156 Fix confusing indentation.
The body of an if statement was not indented relative to the condition.
This also adds braces to clarify the body of the statement.
2020-04-26 19:51:12 -07:00
Kenneth Hsu 1036b64002 Avoid indexing Dictionary by null key. 2020-04-26 13:56:06 -07:00
Kenneth Hsu b5a3379f1d Fix issue where multiple backups could occur after pause.
Previously, the value of the LastRun field in the Schedule table was
updated to be (approximately) the time that the job was added to the
worker's list of tasks.  However, if the backup was missed (via pause or
system suspend), this value would be incorrect.  If the next scheduled
backup was also missed, then after the backup was finally run, the
computed next start time would be based on the (incorrect) last run time
of the first missed backup.  This would then immediately trigger an
unnecessary second backup.

Now, we add a handler to the StartingWork event to set a more accurate
value for the LastRun field in the Schedule table.

This fixes issue #2249.
2020-04-26 12:14:20 -07:00
Kenneth Hsu b4d6bf02bc Do not remove Alpha VSS dependencies in installer packages.
Although these are not needed for the Linux and OS X packages, it
appears that there are times when this dependency is woken up, possibly
due to issues regarding caching and static initialization of the
VssBackupComponents._vssBackupComponents field.

This fixes #4149.
2020-04-20 21:03:20 -07:00
warwickmmandGitHub 724cfd36dd Merge pull request #4174 from comradekingu/patch-1
Fix spelling errors in options help text
2020-04-18 13:01:26 -07:00
Allan NordhøyandGitHub ac3d761412 Spelling: e.g, option activated 2020-04-18 15:58:28 +00:00
Kenneth Hsu 6638af10e7 Add indices to Block table to improve query performance.
The index on Block.Size improves the performance of the query that
checks that the user has not altered the block size of the backup
configuration.

The index on Block.Hash and Block.VolumeID improves the performance of
the query that obtains the blocklists.

There are anecdotes that these indices can drastically improve
performance (queries that used to take hours completed in seconds with
the index):

https://forum.duplicati.com/t/repairing-a-big-database/8174/4
https://github.com/duplicati/duplicati/issues/3884#issuecomment-612296016

This fixes issue #3884.
2020-04-11 11:47:40 -07:00
Kenneth Hsu a7d15332b6 Ensure that hostname comparisons are not case sensitive.
By definition, hostnames should not be case sensitive:

https://tools.ietf.org/html/rfc4343

This fixes issue #4167.
2020-04-10 14:38:27 -07:00
Kenneth SkovhedeandGitHub 8933c972ea Merge pull request #4151 from warwickmm/remove_unused_backend_handler_members
Remove unused BackendHandler members
2020-04-10 07:55:54 +02:00
Kenneth SkovhedeandGitHub 5137c39e34 Merge pull request #4166 from drwtsn32x/add-folder-exclusions
Add Edge and Chrome cache folders to exclusion list
2020-04-10 07:53:08 +02:00
Kenneth SkovhedeandGitHub ba81e0da4b Merge pull request #4164 from warwickmm/remove_unused_common_strings
Remove unused Strings.Common members
2020-04-10 07:50:24 +02:00
Kenneth SkovhedeandGitHub e278d2fb5c Merge pull request #4163 from warwickmm/remove_unused_localization_classes
Remove unused Localization helper classes
2020-04-10 07:49:36 +02:00
Kenneth SkovhedeandGitHub 5c99017225 Merge pull request #4162 from warwickmm/remove_unused_common_members
Remove unused members from Duplicati.Library.Common
2020-04-10 07:49:05 +02:00
warwickmmandGitHub 6f8efe6784 Merge pull request #4165 from NCNecros/patch-1
Check that folder exists before listing contents in ReEncrypt.py.
2020-04-06 21:14:00 -07:00
Rod Savard e79f331ae6 add Edge and Chrome cache folders 2020-04-06 16:27:42 -07:00
StanislavandGitHub 40dc08db74 small fix for empty "*index*" file
some index file don't contain 'vol' folder, only manifest. this fix check if 'vol' folder is exists
2020-04-06 14:39:45 +03:00
Kenneth Hsu 33ee3a2cf6 Remove unused Strings.Common members.
The last references were removed in 5170c6ad1d ("Remove unused
CommonStrings class"), but the last real usages were removed in revision
62c75d9af9 ("Removed all informs code (no more 1.3.x UI)").
2020-04-05 18:30:25 -07:00
Kenneth Hsu 26c91587ed Remove unused Localization helper classes. 2020-04-05 15:06:03 -07:00
Kenneth Hsu 1249267f6e Remove unused members from Duplicati.Library.Common. 2020-04-05 14:36:28 -07:00