Kenneth Skovhede
bceed2ffbe
Work on adding filters to send-mail
2018-04-02 11:20:46 +02:00
Kenneth Skovhede and GitHub
bce3267e25
Merge pull request #3120 from tygill/fix/log-level-help
...
Fix LogfilelogfiltersLong help parameter
2018-03-27 08:26:09 +02:00
Kenneth Skovhede
9e48de8e01
Merge branch 'master' of github.com:duplicati/duplicati
2018-03-22 08:32:48 +01:00
Kenneth Skovhede
e9d477889f
Fixed the order of arguments for throttling downloads.
...
This fixes part of #2890
2018-03-22 08:32:33 +01:00
Tyler Gill
077fcc78b1
Fix LogfilelogfiltersLong help parameter, so that running the main help page doesn't crash.
2018-03-21 17:09:37 -06:00
Kenneth Skovhede and GitHub
3ec2b78828
Merge pull request #3086 from warwickmm/feature/disable_on_battery
...
Add option to disable backup when on battery power
2018-03-20 09:19:01 +01:00
Kenneth Skovhede and GitHub
f804eaa7ab
Merge pull request #3108 from warwickmm/readonly_lock_objects
...
Make fields containing lock objects readonly
2018-03-20 09:01:22 +01:00
Kenneth Hsu
c00c6fd19b
Make fields containing lock objects readonly.
...
If one of these fields is accidentally reassigned, it's possible for
threads to be oblivious to an existing lock. By making the fields
readonly, we will be notified at compile-time if we inadvertently
redefine one of these fields.
2018-03-17 19:59:23 -07:00
Kenneth Hsu
e2aa98fbca
Add option to disable backup when on battery power.
...
This addresses issue #2666 .
2018-03-16 19:32:50 -07:00
Kenneth Skovhede
a980ed93a6
Implemented support for setting low IO priority on Windows, Linux, and MacOS
2018-03-16 23:25:06 +01:00
Kenneth Skovhede
20e2dcafb3
Moved the process control stuff into another class, so it can be disposed easily and contain its own state
2018-03-16 10:33:26 +01:00
Kenneth Skovhede
e124329f1e
Merge branch 'feature/improved-logging'
2018-03-16 08:38:14 +01:00
Kenneth Skovhede
3ec6b88ac8
Added a repeating log-scope that writes out a message, if no activity produced a log message for 10 seconds
2018-03-15 23:30:24 +01:00
Kenneth Skovhede
842fd96543
Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
...
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Kenneth Skovhede and GitHub
96cd4dd725
Merge pull request #3087 from warwickmm/use_nameof_operator
...
Use nameof operator when constructing ArgumentNullException
2018-03-08 11:14:49 +01:00
Kenneth Hsu
58ab443eb4
Fix generic class code references in XML documentation.
2018-03-07 18:34:26 -08:00
Kenneth Hsu
1f8b542604
Use nameof operator when constructing ArgumentNullException.
...
This will make rename refactorings easier in the future.
2018-03-07 17:53:08 -08: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
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 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
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
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
bf07f70318
Added method to automatically create folder for async upload.
...
This fixes #1384
2018-01-26 09:22:21 +01:00
JonMikelV
4f0cf589ba
Update duplicate error message to better distinguish failure point when error is thrown
2018-01-21 02:46:17 -06:00
JonMikelV and GitHub
47d5e8877e
Merge pull request #4 from duplicati/master
...
Merge from master
2018-01-21 02:14:37 -06:00
JonMikelV
2c43f38945
Undo unnecessary AddVerboseMessage() change
2018-01-21 02:11:27 -06:00
Kenneth Skovhede
d9377bab7e
Removed TempFileStram and fixed the two places that were using it, as they both had errors in the way it was used.
2018-01-18 14:25:25 +01:00
Brian Lakstins
ba8dddc7fe
Move RunScript module to be configured first so that any configuration changes can be used by other modules
2018-01-12 09:43:07 -05:00
JonMikelV
25e88cd478
Merge branch 'master' of https://github.com/jonmikelv/duplicati
2018-01-04 22:59:00 -06:00
JonMikelV
0d2145fc55
Fix copy/paste typo with && vs ||
2018-01-04 22:52:47 -06:00
JonMikelV and GitHub
a2a73e05bd
Merge pull request #2 from duplicati/master
...
Sync from original
2018-01-04 22:28:30 -06:00
JonMikelV
0e6bb62520
Let AddVerboseMessage() handle null / empty args variable & update PurgeFilesHandler to correctly call AddMessage()
2018-01-03 18:18:53 -06:00
Kenneth Skovhede and GitHub
9593edae14
Merge pull request #2939 from vnau/master
...
Compression classes refactoring
2017-12-26 12:27:35 +01:00
vnau
1c67118737
Type pattern conditions removed to compile with AppVeyor.
2017-12-25 23:51:10 +07:00