Commit Graph
1255 Commits
Author SHA1 Message Date
Kenneth Skovhede 71c4bb4d3d Merge branch 'master' into experiment/quickfix_concurrent
# Conflicts:
#	Duplicati/Library/Main/BackendManager.cs
#	Duplicati/Library/Main/Database/ExtensionMethods.cs
#	Duplicati/Library/Main/Operation/BackupHandler.cs
#	Duplicati/Library/Main/Operation/TestFilterHandler.cs
#	Duplicati/Library/Main/Options.cs

Manually ported the `IsSynlink` changes as well as the DNS refresh code
2018-03-02 09:06:13 +01:00
Kenneth Skovhede bd863016fa Added support for returning multiple DNS names for cache invalidation.
Updated most backends to return the actual DNS names for cache invalidation.
2018-02-26 11:37:10 +01:00
Kenneth Skovhede 0eecdd449b Added minor string fixes to the retention policy descriptions 2018-02-26 09:52:17 +01:00
Kenneth SkovhedeandGitHub 9ea9176ce0 Merge pull request #3059 from TekkiWuff/feature/retention-policy-unlimited-option
Easier syntax for unlimited timeframes and intervals
2018-02-26 09:32:30 +01:00
Kenneth Skovhede 7d18ee6028 Merge branch 'master' of github.com:duplicati/duplicati 2018-02-26 09:01:37 +01:00
Kenneth Skovhede fe7f9cf67a Added warnings to discourage people from using 7z in the current state 2018-02-22 17:11:07 +01:00
Rune Henriksen fc77b476fc changed from NYI to null returns. Added check to skip DNS check if no DNSName is provided 2018-02-21 22:38:01 +01:00
Daniel Radünz 6da001cbe9 Easier syntax for unlimited timeframes and intervals
Also refactored retention policy option to use a list of custom objects instead of a dictionary to reduce confusion when working with the values of the retention policy
2018-02-21 21:30:17 +01:00
Rune Henriksen 0ba28da948 Added if statement to specifically verify that it's a NameResolutionFailure and not just a WebException 2018-02-20 20:34:09 +01:00
Rune Henriksen ecc586c0f8 added code to attempt to resolve DNS issues on connection failure and implemented DNSName method in WebDav backend handler 2018-02-18 01:30:05 +01:00
Kenneth Skovhede 9093603be1 Added support for disabling the file scanner during backups.
This fixes #2963
2018-02-11 20:57:38 +01:00
Kenneth Skovhede a49f63d82c Removed a number of unwanted translations for debug code 2018-02-11 20:46:44 +01:00
Daniel Radünz d249d23bdd Comply with option allow-full-removal when applying retention policy 2018-02-11 17:18:30 +01:00
Daniel Radünz f8cbc91152 Disallow using multiple rentention options (keep-time, keep-versions, rentention-policy) 2018-02-11 17:18:30 +01:00
Daniel Radünz 7bc9a81312 Delete backups outside of any retention policy time frame 2018-02-11 10:07:37 +01:00
Pectojin db7c380239 added the blueray container .m2ts to the no_compression list 2018-02-08 20:53:40 +01:00
Kenneth SkovhedeandGitHub 4abc2f832f Merge pull request #3014 from tygill/fix/reparse-points-arent-symlinks
Fix 2829: Reparse points aren't always symlinks
2018-02-07 22:56:41 +01:00
Tyler Gill 0a1e98712a Adds warnings and errors if the reported available quota either reaches a configurable percentage of the backup size, or when it is completely exhausted.
This is configurable via the --quota-warning-threshold command line parameter.
2018-02-07 11:23:52 -07:00
Tyler Gill 08e0708a95 Change Duplicati's handling of reparse points, so that not all reparse points are treated as symlinks.
This is inspired largely by the new (/ returning) feature of OneDrive in Windows 10 Fall Creator's Update, which downloads files on-demand.
A side effect of that change is that the OneDrive folder (and subfolders of it) are marked as reparse points, even though they are not technically standard symlinks.
With this change, a new extension method IsSymlink is added for ISnapshotService and ISystemIO, which checks both the file attributes (for reparse point) and the symlink target path (if null, the path is not treated as a symlink).
All places that previously checked only the file attributes have been updated to use either this method (or at least the same logic, in the case of the core BackupHandler file check).
One side effect of this change is that '--symlink-policy=store' no longer ignores empty symlinks - they are now treated as regular files.
If there are empty symlinks, they will now be backed up as if they were regular files, but I don't know what the conditions are that create symlinks like that, so this might not effect anything in practice.
2018-02-06 13:24:49 -07:00
Tyler Gill cc053ff4b0 Normalize whitespace 2018-02-06 12:28:54 -07:00
Kenneth Skovhede 05988a685a Fixed setting up a protective logger at the outermost scope for each operation 2018-02-06 13:30:16 +01:00
Kenneth Skovhede 468d1a1896 Fixed an incorrectly formatted debug string 2018-02-06 11:47:15 +01:00
Kenneth Skovhede 72c5763ae4 Fixed auto-closing open volumes when added to the upload queue 2018-02-06 11:46:55 +01:00
Kenneth Skovhede 89d0519554 Fixed the log handling in the BackendHandler, and the log processor.
Added a new log instance to avoid the log module being terminated before the whole `PurgeBrokenFiles` call has finished.
2018-02-06 11:46:37 +01:00
Kenneth Skovhede fb74ce2aaa Fixed not disposing the actual database from the guard instance 2018-02-01 23:10:44 +01:00
Kenneth Skovhede 5a388e7b83 Merge branch 'master' into experiment/quickfix_concurrent 2018-02-01 09:53:48 +01:00
Kenneth Skovhede 5dad64847e Changed the compact handler to require a database instance being put in, as it could otherwise be prematurely disposed. 2018-01-31 22:06:06 +01:00
Kenneth Skovhede 2b409a8527 Rewrote the restore process to apply the "lastmodified" timestamp last, to ensure the other changes do not reset the timestamp 2018-01-31 22:05:34 +01:00
Kenneth Skovhede 7f92a2e548 Fixed not tagging every block as an index block .... 2018-01-31 22:04:55 +01:00
Kenneth Skovhede 58f415d525 Added some additional checks to make sure we do not create volumes that are over the size limit. 2018-01-31 22:03:37 +01:00
Kenneth Skovhede ef36a9356b Rewrote the uploader to pass in the index volume blocks, as that is 10x times faster than creating it from the database.
This greatly increases performance because the database read is no longer preventing progress.
2018-01-30 08:34:57 +01:00
Kenneth Skovhede ece4ff2021 Removed unused variable 2018-01-29 21:58:58 +01:00
Kenneth Skovhede a38d60f348 Fixed output spamming 2018-01-29 06:57:16 +01:00
Kenneth Skovhede 30fb5ed72f Fix for older compiler on AppVeyor 2018-01-28 12:33:28 +01:00
Kenneth Skovhede 805a411f8f Fixed a few minor issues with the new approach, and rewrote the zip file packaging to allow packing more data into each volume. 2018-01-28 12:29:02 +01:00
Daniel Radünz e6f0356351 Renamed variables to better convey content and usage 2018-01-28 00:36:31 +01:00
Daniel Radünz 2d725784a2 Changed order of checks for which backups to delete 2018-01-28 00:35:58 +01:00
Kenneth Skovhede c4ecf83cde Fixed a case where the transaction was being closed incorrectly 2018-01-26 13:08:16 +01:00
Kenneth Skovhede c9fd0e145b Improved the handling of downloads where the file size is unknown by picking the data from database if possible.
Also removed multiple calls to `FileInfo().Length`.
2018-01-26 13:07:46 +01:00
Kenneth Skovhede bf07f70318 Added method to automatically create folder for async upload.
This fixes #1384
2018-01-26 09:22:21 +01:00
Kenneth Skovhede 25ceef27d8 Merge branch 'master' into experiment/quickfix_concurrent 2018-01-23 12:42:24 +01:00
Kenneth Skovhede 0554f484c6 Minor fix, do not start a new transaction when the backup is fully completed 2018-01-23 10:55:32 +01:00
Kenneth Skovhede d5e24cc1f9 Allow chaining of the TaskReader 2018-01-23 10:55:09 +01:00
Kenneth Skovhede efb3c7a1dc Always commit the database when writing the results 2018-01-23 10:54:47 +01:00
Kenneth Skovhede f8661921a5 Clear pending transactions when waiting for backend completion 2018-01-23 10:54:34 +01:00
Kenneth Skovhede 56aaec739e Fixed allowing the waithandle to process pending database operations 2018-01-23 10:54:15 +01:00
Kenneth Skovhede fba4d8001a Fixed a problem with the singlerunner calling non-async blocking code 2018-01-22 21:24:57 +01:00
Kenneth Skovhede e4ff6c47cc Fixed some minor details 2018-01-22 21:24:25 +01:00
Kenneth Skovhede 98c4e7eed0 Minor optimization 2018-01-22 21:23:41 +01:00
Kenneth Skovhede 3634e674a3 Rewrote the controller to start the loghandler common for all services 2018-01-22 21:22:18 +01:00