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 Skovhede and GitHub
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
8efaeefaa5
Merge branch 'feature/disable_default_filters'
2018-02-26 09:01:30 +01:00
Kenneth Skovhede
c9be651690
Removed application of default filters, pending discussion
2018-02-22 17:17:12 +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
Rune Henriksen and GitHub
7a58851224
Added DNSName method to comply with interface
...
Fixed weird linebreak issues and added DNSName method to comply with Ibackend interface
2018-02-18 00:21:48 +01:00
Rune Henriksen
00292953c3
added DNSName getter on Backend interface and added NotImplementedException methods on each backend class
2018-02-18 00:18:44 +01:00
Kenneth Skovhede
5aad640488
Merge branch 'feature/disable-file-scanner'
2018-02-11 21:45:05 +01:00
Kenneth Skovhede
ed76cb7c11
Merge branch 'feature/reduce_usagereporter_backlog'
2018-02-11 21:18:20 +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
Kenneth Skovhede and GitHub
dc0c2c34ac
Merge pull request #3026 from TekkiWuff/feature/issue-3008-retention-optimizations
...
Feature/issue 3008 retention optimizations
2018-02-11 18:39:08 +01:00
Kenneth Skovhede
50d16b1e49
Merge branch 'feature/fix_box_com_issue'
2018-02-11 17:54:32 +01:00
Kenneth Skovhede
5e1a260483
Added limits to the number of backlog items the usage reporter will handle.
...
Older or excessive items are now deleted.
2018-02-11 17:51:55 +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
Kenneth Skovhede and GitHub
8b14a0348a
Merge pull request #3021 from Pectojin/m2ts_no_compression
...
added the blueray container .m2ts to the no_compression list
2018-02-08 22:03:31 +01:00
Kenneth Skovhede and GitHub
f6bb6d3d4f
Merge pull request #2995 from TekkiWuff/bugfix/issue-2994
...
Use double instead of long for Utility.FormatSizeString
2018-02-08 22:02:44 +01:00
Kenneth Skovhede
d8bd9abe15
Fixed a problem with the box.com backend not being able to find files it already uploaded.
...
This fixes #2557
This might also fix #2349
2018-02-08 21:45:36 +01:00
Pectojin
db7c380239
added the blueray container .m2ts to the no_compression list
2018-02-08 20:53:40 +01:00
Kenneth Skovhede and GitHub
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
42a06ce4fd
Merge branch 'master' of https://github.com/duplicati/duplicati into fix/reparse-points-arent-symlinks
2018-02-07 10:00:09 -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
Pectojin
f6242e3774
Added an overloaded AddTask method that allows tasks to skip the queue and updated the api call backup/<id>/run to skip the queue to correspond with the expectation of the 'Run now' button in the UI
2018-02-03 04:17:10 +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
Daniel Radünz
dab0e1102b
Fixed issue 2994
2018-01-30 23:49:58 +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