Commit Graph
10149 Commits
Author SHA1 Message Date
Sean Templeton da08be84a6 Convert VolumeID to long instead of int 2020-02-29 16:43:10 -06:00
Kenneth SkovhedeandGitHub 17bcc0cddc Merge pull request #4112 from drwtsn32x/fix-issue-4090
Fix issue 4090 - Filter builder issues in web UI
2020-02-28 16:48:32 +01:00
warwickmmandGitHub f9227ed4a4 Merge pull request #4118 from drwtsn32x/log-usn-soft-failure-reason
Log additional info for USN soft failures
2020-02-25 21:00:34 -08:00
Rod Savard 1b0f5a8cb0 add descriptive reason for usn soft failure 2020-02-25 15:34:42 -08:00
Sean Templeton 446120ae3e A synthetic filelist could not be uploaded due to the logic in UploadSyntheticFilelist. The code passing in the fileset id to the class would get the id based on if the volume was in the Temporary or Uploading states. If the volume was in the Uploading state, present on the remote backend, and of the right size it would get changed to Uploaded.
One of the first things UploadSyntheticFilelist does is throw an exception if the volume is not in the Uploaded state. Or if it is in the Uploaded state, the next check would prevent a synthetic filelist from being created if the volume was not in the Uploading or Temporary states.

Removed the check for the volume not being in the Uploaded state as the warning in the second check handles that case.

Removed the using statement as it would dispose of the FilesetVolumeWriter after passing it to the UploadChannel. The UploadChannel could not use it since it had been disposed.

Fixed the GetRemoteVolumeFromIDAsync taking a fileset id and matching it up against a volume id. Now it will use fileset id to get the volume that matches the fileset.

Change the StopNow disruption test to not use a synthetic file list. The test was written with it not working and therefore fails a check on the number of filesets after stopping a backup.

Bonus fix for a possible null exception in Dispose for VolumeWriterBase.
2020-02-23 16:50:36 -06:00
Rod Savard ffdcc29c57 escape dirsep inside regexp 2020-02-23 08:37:42 -08:00
warwickmmandGitHub 94ea86b284 Merge pull request #4111 from warwickmm/fix_retention_logs
Fix logs for custom retention policy to show backup times
2020-02-18 18:58:55 -08:00
Kenneth Hsu 19303614f0 Remove unnecessary call to ToString. 2020-02-18 17:50:26 -08:00
Kenneth Hsu 7e86486f59 Fix logs for custom retention policy to show backup times.
When we modified the code in revision
68ffd86594 (pull request #4018) to
consider collections of IListResultFilesets instead of DateTimes, we
neglected to preserve the backup times in the logs.

This fixes #4109.
2020-02-18 17:50:13 -08:00
Kenneth Skovhede dbb6959594 Version bump to v2.0.5.103-2.0.5.103_canary_2020-02-18
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.5.103_canary_2020-02-18.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.103_canary_2020-02-18.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.103_canary_2020-02-18.zip.sig.asc

MD5: 62749d18f50e905aea321bdaede30bc3

SHA1: 5ac0bac6cbf683ba6ad6ca5b6122f33fdac0700b

SHA256: d4741bf33d16e6b08bf952b2c46be44fc71230a67b38c285afd585e119401fb0
v2.0.5.103-2.0.5.103_canary_2020-02-18
2020-02-18 14:14:45 +01:00
Kenneth Skovhede 679981d29f Enable hardened runtime when building MacOS packages as it is now required. 2020-02-18 14:10:15 +01:00
Kenneth Skovhede ce7180d599 Version bump to v2.0.5.102-2.0.5.102_canary_2020-02-18
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.5.102_canary_2020-02-18.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.102_canary_2020-02-18.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.102_canary_2020-02-18.zip.sig.asc

MD5: 76dcac7b13fda2b4fc5ff2987538ff3b

SHA1: 6f1640aa8517bf980c76b5467b901bf545d92a1c

SHA256: d782c13270581481ed3770516d79004c1aa5682fec6cf2f7378ae553dd03175b
v2.0.5.102-2.0.5.102_canary_2020-02-18
2020-02-18 13:33:25 +01:00
Kenneth SkovhedeandGitHub 8eb47ff67b Merge pull request #4107 from warwickmm/remove_unused_unittest_members
Remove unused members from UnitTest project
2020-02-18 12:20:25 +01:00
Kenneth SkovhedeandGitHub 386374a586 Merge pull request #4105 from warwickmm/fix_sqlite_interop_path
Fix path to SQLite.Interop.dll
2020-02-18 12:18:57 +01:00
Kenneth Hsu f0068456fd Disable warning about unused constructor.
This is used in the SVNCheckoutTests class.
2020-02-17 12:38:58 -08:00
Kenneth Hsu 89db40c211 Disable warning about unused constructor.
This is used in the SVNCheckoutTests class.
2020-02-17 12:38:38 -08:00
Kenneth Hsu 7cfed6a62b Remove unused LogHelper.Backupset property.
This property (and its backing field m_backupset) is only set and never
referenced.
2020-02-17 09:52:12 -08:00
Kenneth Hsu 0a91bcf662 Fix path to SQLite.Interop.dll.
This assembly lives in the win32 and win64 subdirectories, and not in
the base path.

This fixes #4093.
2020-02-17 09:34:39 -08:00
warwickmmandGitHub 39374aa01b Merge pull request #4095 from Pectojin/test_retention_missing_minutes
Fix handling of minutes when validating retention string
2020-02-12 17:49:33 -08:00
Rune Henriksen 524210d3a9 Added a missing option for minutes in the regex 2020-02-12 00:58:05 +01:00
warwickmmandGitHub 44f619b725 Merge pull request #4085 from drwtsn32x/improve-usn-snapshot-fails
Improve USN and Snapshot error handling
2020-02-06 19:36:42 -08:00
Rod Savard 235f94c96f change to use custom exception class 2020-02-06 06:34:49 -08:00
Kenneth SkovhedeandGitHub cb7f4483cd Merge pull request #4065 from warwickmm/move_create_fileset_file
Move CreateFilesetFile method to FilesetVolumeWriter class
2020-02-06 08:06:28 +01:00
Kenneth SkovhedeandGitHub e1bab67d90 Merge pull request #4089 from warwickmm/ovh_keystone_v3
Update OVH backend URL to Keystone API v3
2020-02-06 08:05:56 +01:00
Kenneth SkovhedeandGitHub dfbfeda42c Merge pull request #4068 from warwickmm/remove_unused_options_members
Remove unused Options members
2020-02-06 08:05:20 +01:00
Kenneth SkovhedeandGitHub c0213b0bdd Merge pull request #4069 from warwickmm/remove_unused_backend_manager_members
Remove unused BackendManager members
2020-02-06 08:03:50 +01:00
Kenneth Hsu 4acbdb700b Update OVH backend URL to Keystone API v3.
OVH is updating the Keystone API from v2 to v3:

https://ovh.slgnt.eu/optiext/optiextension.dll?ID=dStdoW+qPGF+x+s02CEdQ_I66qw4G_Z_rqsNrzqCkOZiWQwdnmWGsZerWXZIQoWQpcyyq3Su3addd_

This fixes #4087.
2020-02-05 20:41:31 -08:00
warwickmmandGitHub d5a9bd8b49 Merge pull request #4066 from warwickmm/add_repair_handler_tests
Add RepairHandlerTests to UnitTest project
2020-02-05 19:57:18 -08:00
warwickmmandGitHub beec0db6be Merge pull request #4088 from drwtsn32x/rpm-mono-dependency
Update minimum required version of mono-core for Fedora (RPM)
2020-02-05 19:37:36 -08:00
warwickmmandGitHub 011c15ca7a Merge pull request #4084 from drwtsn32x/clean-up-options-parsing
Clean up parsing of snapshot-policy and usn-policy options
2020-02-05 19:21:18 -08:00
Rod Savard aa9c859535 Changed minimum required mono-runtime version 2020-02-05 18:00:36 -08:00
Rod Savard 63ddc52744 log warning not error when usn policy is On 2020-02-03 21:55:43 -08:00
Rod Savard ec8f897460 log information event when snap policy is Auto 2020-02-03 21:50:27 -08:00
Rod Savard 57d36df981 improve error msg on snapshot failure 2020-02-03 21:47:11 -08:00
Rod Savard b320c8968a clean up usn and snapshot option parsing 2020-02-03 21:19:23 -08:00
warwickmmandGitHub 1dbaf360a6 Merge pull request #4080 from drwtsn32x/improve-config-change-detection
Consider file attributes and max file size exclusions in USN hash
2020-02-02 21:29:44 -08:00
Rod Savard 247a452d2b send array of strings instead of single concatenated string 2020-02-02 20:53:09 -08:00
drwtsn32xandGitHub 6684610ee1 Merge pull request #4070 from warwickmm/add_compression_hints
Add OpenDocument draw files to compression hints
2020-02-02 16:50:29 -08:00
drwtsn32xandGitHub bba801ea79 Merge pull request #4067 from warwickmm/mark_field_readonly
Mark fields as readonly but allow for deserializer to set them
2020-02-02 16:49:36 -08:00
drwtsn32xandGitHub 0440c345da Merge pull request #4064 from warwickmm/remove_unnecessary_assignment
Remove unnecessary variable assignment
2020-02-02 16:48:31 -08:00
drwtsn32xandGitHub 5ad530ef05 Merge pull request #4063 from warwickmm/remove_string_format
Remove redundant calls to String.Format
2020-02-02 16:46:31 -08:00
Rod Savard a85c10fd8c move config hash calculation to UsnJournalService 2020-02-02 15:09:23 -08:00
Rod Savard 685c77a018 remove unused parameter 2020-02-01 23:15:26 -08:00
Rod Savard 0a9880c6cf change config hash calculation 2020-02-01 13:34:21 -08:00
warwickmmandGitHub ed30322e5a Merge pull request #4079 from drwtsn32x/fix-issue-4071
Prevent deselected paths from appearing in restore list when USN is enabled
2020-02-01 10:07:26 -08:00
Rod Savard a974310f01 if full scan occurred, do not append previous set 2020-02-01 08:12:16 -08:00
warwickmmandGitHub cfbb0addd4 Merge pull request #4077 from drwtsn32x/master
Change minimum required mono-runtime version for Debian package
2020-01-29 20:18:34 -08:00
drwtsn32x d9e0ece63e Changed minimum required mono-runtime version 2020-01-29 06:50:49 -08:00
Kenneth Hsu cf16c055aa Add OpenDocument draw files to compression hints.
Closes #4059.
2020-01-26 19:24:02 -08:00
Kenneth Hsu 99b5c2d41d Remove unused Options.HasDeleteAllButN property.
The last reference was removed in revision
3b70f99722.
2020-01-26 12:54:18 -08:00