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
022b2087c0
Renamed DefaultFilters to FilterGroups
2018-03-05 22:27:16 +01:00
Kenneth Skovhede
282c70f75f
Implemented default filter groups as suggested in #3030
2018-03-02 15:26:55 +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
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
75bf6857c1
Merge branch 'master' into concurrent_processing
...
# Conflicts:
# .travis.yml
# Duplicati/Library/Main/Database/LocalBackupDatabase.cs
# Duplicati/Library/Main/Operation/BackupHandler.cs
# Duplicati/Library/Main/ResultClasses.cs
# Duplicati/Library/Main/Volumes/VolumeWriterBase.cs
# Duplicati/Library/Utility/TempFile.cs
2018-01-20 15:02:41 +01: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
vnau
62a7901aca
Compression modules refactored to work with streams instead of filenames;
...
Added unit test to check compression reversibility
2017-12-25 04:12:19 +07:00
Kenneth Skovhede and GitHub
60503b6fa0
Merge pull request #2929 from warwickmm/remove_format_string_argument
...
Remove unused format string argument
2017-12-21 16:19:57 +01:00
vnau
9b9d9b1297
Fixed compiler warnings.
2017-12-17 01:34:21 +07:00
Kenneth Hsu
7cf04ea5d0
Remove unused format string argument.
...
The location of the assembly is already being reported as the "Current
Version folder".
2017-12-16 09:42:45 -08:00
Kenneth Skovhede and GitHub
5ecd381592
Update Strings.cs
...
Updated the help text for the snapshot policy
2017-12-11 00:23:53 +01:00
Kenneth Hsu
ab489d9a28
Make parameter names in XML documentation match code.
2017-12-09 18:42:30 -08:00
Kenneth Hsu
1c7391399d
Remove XML documentation for unmatched parameters.
2017-12-09 18:30:01 -08:00
Kenneth Skovhede and GitHub
36aadc4ad1
Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
...
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu
5fb1958ceb
Remove redundant calls to ToString.
2017-11-26 15:44:34 -08:00
Kenneth Hsu
8810e0130d
Make string comparisons use ordinal (binary) sort rules.
...
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Kenneth Skovhede
813e9c3140
Merge branch 'master' of github.com:duplicati/duplicati
2017-11-17 13:05:18 +01:00
Roberto Ribeiro
1ce4ccd61f
Changed subqueries to improve folder browsing in restore
2017-11-15 15:16:25 -02:00
Kenneth Skovhede
f4511d0bbb
Updated the affected command to check if the local database is found, and to return an error if not.
...
Also updated the help text to indicate that a database is required.
2017-11-09 17:59:36 +01:00