Commit Graph
4937 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 2fabbe6046 Merge pull request #4692 from dkrahmer/DK__AddIDriveBackend
Add IDrive Backend
2022-06-12 20:58:09 +02:00
Kenneth SkovhedeandGitHub 9100497a80 Merge pull request #4691 from dkrahmer/DK__FixFileBackendPartialFiles
FileBackend file size verification
2022-06-12 20:50:52 +02:00
Kenneth SkovhedeandGitHub b62ff1876a Merge pull request #4676 from awerghcpc/hyperv-argumentnullexception-fix
Added null check to fix exception reading vhd settings xml.
2022-06-12 20:27:59 +02:00
Kenneth Skovhede 63e7c4e693 Minor naming fix 2022-06-12 20:25:22 +02:00
Kenneth SkovhedeandGitHub 8f2c1153f9 Merge pull request #4672 from PAPAMICA/master
Add Infomaniak Swiss Backup to backend
2022-06-12 20:24:16 +02:00
martengooz 7f9daa6041 Add additional compression exclusions 2022-06-12 17:16:35 +02:00
Thomas Suckow 817b1d5bc2 Try to debug time discrepency 2022-05-06 21:52:19 -07:00
albertony 36a27ab5b4 Jottacloud backend oauth authentication 2022-04-24 14:59:02 +02:00
warwickmmandGitHub de13cbcbd0 Merge pull request #4703 from albertony/ignore_invalid_accesstime
Ignore exception when file access time is not valid
2022-04-16 19:44:24 -07:00
warwickmmandGitHub eea9e16a16 Merge pull request #4704 from AxeOfMen/BypassUpdateOnDebug
Bypass auto-update when running in a debug environment
2022-04-16 19:33:59 -07:00
Thomas Suckow 8c518f7d3a .net6 2022-04-12 21:43:50 -07:00
AxeOfMen 52213c1ef8 Bypass auto-update when running in a debug environment 2022-04-06 17:03:14 -06:00
albertony 15ccf8130a Ignore exception when file access time is not valid
When getting the value from FileSystemInfo.LastAccessTime, it will internally convert
the FILETIME value from Windows API to a DateTime. If the value represents a date after
12/31/9999 it will throw ArgumentOutOfRangeException, because this is not supported by
DateTime. Some file systems seem to set strange access timestamps on files, which
may lead to this exception being thrown. Since the last accessed timestamp is not
important such exceptions are now just silently ignored.
2022-04-02 20:56:20 +02:00
albertony c490009f20 Delay creation of database directory until we know it is needed.
This avoids creating directory %LocalAppData%\Duplicati when it would just be left
empty, and it makes running portable mode (e.g. debug builds) stealthier.
2022-04-01 21:18:19 +02:00
awerghcpc ed5d2c23c6 Check that the vhd exists and log a warning if it does not. 2022-03-20 13:49:52 +11:00
Doug Krahmer 54df354025 Add longer IDrive HttpClient timeouts
Add better file upload verification and exception handling
Add CancellationToken for all async IDrive methods
Add static semaphore to limit concurrent IDrive uploads to 10
2022-03-18 11:15:08 -07:00
Doug Krahmer 9d029a09a2 Minor IDrive backend enhancements 2022-03-18 11:14:50 -07:00
Doug Krahmer d1f10ba9a1 Add IDrive backend and API subset 2022-03-18 11:14:43 -07:00
Doug Krahmer 1cbe2643b1 Add file size verification to FileBackend PutAsync() 2022-03-18 11:13:19 -07:00
Thomas SuckowandGitHub cd71fde158 Go back to unmangled version 2022-03-08 20:13:53 -08:00
Thomas Suckow 7419df0979 use nuget.config to add freebsd repository 2022-03-05 10:17:28 -08:00
Thomas Suckow 80b19b9f8c Try to add freebsd native lib packages 2022-03-04 23:13:36 -08:00
Thomas Suckow bf5b9537d8 Merge remote-tracking branch 'thomas/feature/net5-freebsd' into feature/net5-unsplit
# Conflicts:
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/CLI/Commands.cs
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/ImageLoader.cs
#	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
#	Duplicati/Library/Backend/SSHv2/packages.config
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Common/Duplicati.Library.Common.csproj
#	Duplicati/Library/SQLiteHelper/Duplicati.Library.SQLiteHelper.csproj
#	Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
#	Duplicati/UnitTest/TestUtils.cs
#	Duplicati/UnixSupport/UnixSupport.csproj
#	Installer/Makefile/Makefile
#	guiTests/guiTest.py
2022-03-03 21:20:34 -08:00
tariandeath d44496f6d4 Add semicolons 2022-02-27 13:29:58 -07:00
JEDandGitHub 662bad4526 Add newline 2022-02-27 00:13:37 -07:00
tariandeath f6ebcd6262 Fix typo 2022-02-26 20:45:00 -07:00
tariandeath 8b24536d4e Add Upgraded Version to binary 2022-02-26 20:39:14 -07:00
tariandeath 396119aa40 Add indexes to improve backup query performance. 2022-02-26 20:24:14 -07:00
warwickmmandGitHub 781347d4a4 Merge pull request #4684 from duplicati/feature/update-dropbox-oauth
Added detection of access token types to Dropbox backend.
2022-02-25 08:32:31 -08:00
Kenneth SkovhedeandGitHub f0dfe67c89 Merge pull request #4660 from warwickmm/download_error_log_filename
Always log filename if error occurs during retrieval
2022-02-23 22:07:16 +01:00
Kenneth Skovhede b267b2b744 Added detection of access token types.
This fixes #4667
2022-02-23 21:58:04 +01:00
Thomas Suckow d528703fe7 Merge branch 'master' into experiment/net5-split
# Conflicts:
#	.github/workflows/tests.yml
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/Library/Backend/AzureBlob/AzureBlobWrapper.cs
#	Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj
#	Duplicati/Library/Backend/Mega/packages.config
#	Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Backend/Tardigrade/Properties/AssemblyInfo.cs
#	Duplicati/Library/Backend/Tardigrade/packages.config
#	Duplicati/Library/Common/Duplicati.Library.Common.csproj
#	Duplicati/Library/Common/IO/SystemIOWindows.cs
#	Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj
#	Duplicati/Library/Modules/Builtin/packages.config
#	Duplicati/Library/Utility/Utility.cs
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/Server/packages.config
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
2022-02-22 19:04:01 -08:00
awerghcpc 21da623d3f Added null check to fix exception reading vhd settings xml.
The null check for outParams fixes an ArgumentNullException that can occur when backing up hyper-v vms (win10 hyper-v).
2022-02-04 23:07:13 +11:00
Mickael Asseline 81d6d1e40a Add Infomaniak SwissBackup to backend 2022-01-31 15:17:52 +01:00
snamds 468d672d87 Improve performance of big restore datasets 2022-01-31 14:26:21 +01:00
snamds f9ea467939 Improve performance of big restore datasets 2022-01-31 14:22:50 +01:00
Riccardo Paolo Bestetti 528478fda4 Implement exponential backoff for backend errors 2022-01-20 23:22:08 +01:00
Kenneth Hsu 6a84e9f972 Always log filename if error occurs during retrieval.
This fixes #4658.
2022-01-08 12:06:33 -08:00
Dean Ferreyra c50223eafe Renames relating to the extended device path prefix, \\?\ 2021-11-12 07:29:43 -08:00
Dean Ferreyra 158614d59a Refactor \\?\ prefix tests, rename source files, plus other review issues 2021-11-09 22:50:41 -08:00
Dean Ferreyra 459d1f27f6 Formalize inclusion of code from https://github.com/dotnet
Fix SystemIOWindows.PathGetFullPath per review comments.

Add unit tests for SystemIOWindows.PathGetFullPath and SystemIOWindows.PrefixWithUNC.  Also, fix a bug in the SystemIOWindows.PrefixWithUNC change that was exposed by these new unit tests.

In BackendToolTests, remove unused [Setup] and [TearDown] methods.
2021-11-08 07:42:07 -08:00
Dean Ferreyra 0e8280f6f3 Fix SystemIOWindows handling of relative paths
The handling of relative paths in SystemIOWindows was broken by changes for #4256.

Change SystemIOWindows.PrefixWithUNC to only prefix paths with `\\?\` when they can be prefixed; i.e., only prefix paths that are fully qualified and that don't contain relative path components like `.` or `..`.  This way, relative paths passed to SystemIOWindows methods work correctly again.  Also support network paths specified using forward slashes; e.g., `//example.com/share/foo.txt`.

Simplify SystemIOWindows.GetFullPath since Path.GetFullPath will honor `\\?\` prefixes and can replace forward slashes with backslashes, etc.

Copy and adapt source for Path.IsPathFullyQualified from https://github.com/dotnet/runtime, which is MIT licensed.

Add unit test for Duplicati.CommandLine.BackendTool to validate the fix.

This fixes #4632.
2021-11-06 17:14:18 -07:00
PoliandGitHub 8fda8caafb Update S3Backend.cs 2021-09-19 15:11:58 +02:00
Soha Jin 65f9feed11 Tencent COS: use english document 2021-09-11 00:08:32 +08:00
Soha Jin 3487365d56 Tencent COS: support setting storage class 2021-09-09 18:23:22 +08:00
Kenneth Hsu 712588f1d6 Fix implementation of PatchWithLocalBlocks.
Previously, this would return true as long as the key was present in the
Dictionary, regardless of what the value parsed to.
2021-09-03 16:23:28 -07:00
Beppo 270b9457a8 Timeparser.cs: summay: Update URL to duplicity man page
Domain, path and section is changed.
2021-09-01 14:52:30 +02:00
Kenneth SkovhedeandGitHub e81595a611 Merge pull request #4588 from warwickmm/fix_ftp_path_handling
Fix Alternative FTP handling of paths with escaped characters
2021-08-11 10:41:34 +02:00
Kenneth SkovhedeandGitHub d40ba990ae Merge pull request #4557 from warwickmm/fix_putasync_implementations
Fix bug in PutAsync implementations
2021-08-11 10:35:31 +02:00
Kenneth SkovhedeandGitHub 6dcbccab28 Merge pull request #4520 from warwickmm/remote_list_verification_exception
Create custom Exception for remote list verification failures
2021-08-11 10:32:18 +02:00