Commit Graph
8782 Commits
Author SHA1 Message Date
warwickmmandGitHub 25b714561e Merge pull request #3939 from drwtsn32x/roll-back-pr3846
Fix restore from backup set containing only a single file
2019-10-05 13:49:07 -07:00
drwtsn32x dc87ca1873 remove namespace reference 2019-10-05 11:39:05 -07:00
drwtsn32x 176558d68d roll back pr 3846 2019-10-05 11:34:49 -07:00
Kenneth Hsu 1c492647ae Rename method parameter for consistency. 2019-10-05 11:25:22 -07:00
warwickmmandGitHub 04aa02bbfc Merge pull request #3936 from drwtsn32x/fix-tempdir-cmdline-prog
Fix ignoring of --tempdir in CommandLine.exe
2019-10-05 11:00:16 -07:00
Kenneth Hsu 0cdc5b9159 Ensure that dindex contains correct dblock file after renames.
When support for parallel uploads was implemented, we overlooked a case
where a failed put of a dblock file is retried with a different
filename.  In this case, an instance of TemporaryIndexVolume was created
in the DataBlockProcessor or SpillCollectorProcess prior to the
attempted put.  The put would fail, and then retried with a different
filename.  While the Remotevolume table in the database would reflect
the new filename, the TemporaryIndexVolume still contained a reference
to the old dblock filename.  This would cause issues in direct restores,
etc., when the referenced dblock file could not be found.

Now, the TemporaryIndexVolume is only created after the dblock put has
completed.

This addresses issue #3932.
2019-10-05 10:46:39 -07:00
drwtsn32x fa82263865 read tempdir command line option 2019-10-05 06:20:57 -07:00
Kenneth Hsu 614ccaf79d Convert duplicated static methods into instance method. 2019-10-04 21:37:33 -07:00
Kenneth Hsu df2904b781 Fix parameter file alias.
The code that parsed the parameter file aliases was improved in pull
request #3229.  In doing so, we accidentally omitted one of the
previously accepted aliases.
2019-09-29 19:17:38 -07:00
warwickmmandGitHub 3b0525e2f8 Merge pull request #3928 from drwtsn32x/improve-purge-logging
Add progress logging for purge operation.
2019-09-29 13:24:13 -07:00
Kenneth Hsu ee751f218a Test purge operation with simple filter expression.
This will test the situation described in issue #3927, where the
specified file was kept, and all other files were deleted.

Without the fix in 9333517950 ("Fix query used by purge operation for
case-sensitive fileystems"), this test would pass in AppVeyor (Windows),
but fail in Travis (Linux).
2019-09-29 09:54:25 -07:00
Kenneth Hsu 2f29df5c7e Fix incorrect comment. 2019-09-29 09:52:35 -07:00
Kenneth Hsu 9333517950 Fix query used by purge operation for case-sensitive fileystems.
The table we are inserting into should contain the files that are to be
deleted, not the files that are to be kept.

This fixes issue #3927.
2019-09-29 09:52:35 -07:00
drwtsn32x 64a3c16030 Add X of Y logging for purge operation 2019-09-29 09:42:47 -07:00
Kenneth Hsu b6123cc156 Ensure that IndexVolumeWriter is disposed. 2019-09-28 10:33:34 -07:00
Kenneth Hsu 54992d5beb Ensure that BlockVolumeWriter is disposed. 2019-09-28 10:31:37 -07:00
Kenneth Hsu bc975dd090 Ensure that IndexVolumeWriter is disposed. 2019-09-28 10:30:13 -07:00
Kenneth Hsu 9e465c602d Fix invalid regex pattern.
This was introduced as part of revision b8199ad1c4 ("Fixed handling of
multi-byte characters in both HttpServer and Duplicati") to resolve
issues #1063 and #1085.  However, the regex pattern was invalid.  This
reverts the pattern to the previous value, which seems more appropriate
since most non-standard encodings are of the form %uxxxx where xxxx is a
4 byte hex string representing a UTF-16 code.

This fixes issue #3737.
2019-09-28 10:05:34 -07:00
Kenneth Hsu 8d7c6c6e21 Ensure that filelist is always written to dlist files.
This fixes a regression introduced around revisions e0899a2a91 ("add
method to add the filelist file") and 3b5af1cf01 ("add method to add
filelist file"), where the filelist was not written by all usages of the
FilesetVolumeWriter.  Previously, one would have to invoke
AddFilelistFile with each usage.  Now, we simply do so when the
FilesetVolumeWriter is closed.

We also modified the UploadSyntheticFilelist so that the usage of the
FilesetVolumeWriter is contained in a using statement, which will ensure
that it is disposed.

This fixes issue #3924.
2019-09-27 20:35:06 -07:00
Kenneth Skovhede c412bc9cae Merge branch 'master' of github.com:duplicati/duplicati 2019-09-24 14:18:02 +02:00
Kenneth Skovhede 2b8f29f2e2 Pulled all translations from Transifex 2019-09-24 14:17:46 +02:00
Kenneth Skovhede 6ed3801aaa Added en_GB to languages 2019-09-24 14:14:19 +02:00
warwickmmandGitHub 044412274b Merge pull request #3922 from BlueBlock/handle-remotevolume-delete-for-old-data
Remove deleted Remotevolume records stored in old tick format
2019-09-23 20:53:13 -07:00
BlueBlock cd4b653771 fix sql and comment 2019-09-23 05:22:06 -04:00
Kenneth SkovhedeandGitHub 025d4e8b4a Updated symlink text as suggested
https://forum.duplicati.com/t/symlink-follow/8082/3
2019-09-23 09:14:18 +02:00
Kenneth SkovhedeandGitHub e1e869323f Merge pull request #3917 from duplicati/fix_gui_tests_ellipsis
Fix search for ellipsis in GUI tests
2019-09-23 09:09:34 +02:00
BlueBlock 75335414d5 add comment 2019-09-21 10:31:07 -04:00
BlueBlock 8377a2bfb2 fix deleting old remotevolume records that use the old datetime method 2019-09-21 10:27:57 -04:00
warwickmmandGitHub b07825582f Merge pull request #3919 from kylestanfield/use_ToUnixTimeSeconds
Use built-in method to return seconds from Unix epoch
2019-09-20 19:55:46 -07:00
Kyle Stanfield 7dffbaf800 Changed NormalizeDateTimeToEpochSeconds to use ToUnixTimeSeconds 2019-09-20 19:08:26 -07:00
Kenneth Skovhede d19ff80b92 Fixed passing username/password to the notarization tool for macOS during builds 2019-09-20 21:56:35 +02:00
Kenneth Skovhede 85f6565013 Version bump to v2.0.4.30-2.0.4.30_canary_2019-09-20
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.4.30_canary_2019-09-20.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.30_canary_2019-09-20.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.4.30_canary_2019-09-20.zip.sig.asc

MD5: 5fc367c81647b17e8e7aca8e58e6a862

SHA1: 18393c8d3ae48d2544f74fb84210ce593e09bf4c

SHA256: ef0f1cb4362d769cab11deddac2ad5ef2d5ab96eee2668914e6a5663dbe2dd28
v2.0.4.30-2.0.4.30_canary_2019-09-20
2019-09-20 21:40:42 +02:00
Kenneth Hsu dd09bad2f2 Fix search for ellipsis in GUI tests.
The three periods were replaced by an ellipsis in revision 7ff50a30e1
(pull request #3885).
2019-09-20 10:17:50 -07:00
Kenneth Skovhede 0cfbfb8c1e Merge branch 'feature/fix-null-error-for-non-hosted-server' 2019-09-20 12:59:54 +02:00
Kenneth Skovhede f1cf209e86 Revert "Updated AWS core library to 3.3.103.41 and AWS S3 library to 3.3.104.29"
This reverts commit 21a3add369.
2019-09-20 12:59:34 +02:00
Kenneth Skovhede 81ac1bf3a3 Added guards to prevent a null-error when attempting to connect to a password protected server without a password. 2019-09-20 12:49:28 +02:00
Kenneth Skovhede 779fb46643 Merge branch 'master' of github.com:duplicati/duplicati 2019-09-20 12:38:32 +02:00
Kenneth Skovhede 381cc07505 Updated translations 2019-09-20 12:36:36 +02:00
Kenneth SkovhedeandGitHub 86fe0265e9 Merge pull request #3915 from duplicati/feature/update-aws-sdk
Updated AWS core library to 3.3.103.41 and AWS S3 library to 3.3.104.29
2019-09-20 12:31:32 +02:00
Kenneth SkovhedeandGitHub 077a7df3c0 Merge pull request #3912 from warwickmm/fix_deprecation_message
Fix incorrect deprecation message for disable-filepath-cache option
2019-09-20 12:27:15 +02:00
Kenneth SkovhedeandGitHub f9865368bc Merge pull request #3908 from warwickmm/remove_unused_property
Remove unused FileReadBufferSize property
2019-09-20 12:26:53 +02:00
Kenneth SkovhedeandGitHub c12cce1f53 Merge pull request #3914 from duplicati/feature/update-cocol-1.7.1
Updated CoCoL to version 1.7.1 to fix a busy CPU issue
2019-09-20 12:26:26 +02:00
Kenneth Skovhede 21a3add369 Updated AWS core library to 3.3.103.41 and AWS S3 library to 3.3.104.29 2019-09-20 11:42:17 +02:00
Kenneth Skovhede a1d7edbc6e Updated CoCoL to version 1.7.1 to fix a busy CPU issue 2019-09-20 11:40:22 +02:00
warwickmmandGitHub 9de6dfcfe1 Merge pull request #3911 from duplicati/feature/disable-linux-pipe-escape
Fixed incorrect escaping of pipe characters
2019-09-19 20:14:30 -07:00
Kenneth Hsu abd62129bb Fix incorrect deprecation message. 2019-09-19 14:10:32 -07:00
Kenneth Hsu 7090501c0b Deprecate command-line argument for file-read-buffer-size.
The reference to the Options.FileReadBufferSize property was removed in
revision 20f7b42945.
2019-09-19 14:01:52 -07:00
Kenneth SkovhedeandGitHub 472c15346b Merge pull request #3906 from warwickmm/test/stop_after_current_file
Add tests for stopping after current file
2019-09-19 22:16:44 +02:00
Kenneth SkovhedeandGitHub 6075f2e4d0 Merge pull request #3909 from warwickmm/remove_unused_method
Remove unused GetFilesetID method
2019-09-19 22:16:02 +02:00
Kenneth SkovhedeandGitHub 7ff50a30e1 Merge pull request #3885 from leela52452/master
Changed ... to ellipsis character
2019-09-19 22:12:15 +02:00