verhoek
30cd41585b
Corrected spelling function name.
2018-05-16 20:08:40 +02:00
Kenneth Hsu
9c6bccf478
Use braces to improve readability.
...
Previously, the indentation of the following code block gave the
impression that it was part of the foreach loop when in fact it would
only be executed once.
2018-05-13 14:24:13 -07:00
Kenneth Skovhede
2b54bb9415
Removed the redundant byte-array-to-string method from the MD5 module, and added a using directive.
...
Added some additional logging to better diagnose issues with VSS/LVM snapshots.
2018-05-09 10:44:32 +02:00
Daniel Gehriger
8236cae390
USN change journal based backup now correctly reporting source size
2018-05-02 11:24:24 +02:00
Daniel Gehriger
33d64ee442
Reduced number of affected files by PR
2018-04-26 23:12:39 +02:00
Daniel Gehriger
ad8a3f4d4e
Simplified USN journal interface; corrected folder enumeration broken due to latest merge with master
2018-04-26 23:03:50 +02:00
Daniel Gehriger
7a4467f06c
Using DB to calculate fileset size and number of files
2018-04-25 17:32:50 +02:00
Daniel Gehriger
0b43c467c7
Merge remote-tracking branch 'upstream/master' into feature/usn
2018-04-25 17:19:13 +02:00
Kenneth Skovhede
83950e78c6
Merge branch 'feature/ignore_filenames_option' into feature/exclude_empty_folders
...
# Conflicts:
# Duplicati/Library/Main/Operation/Backup/CountFilesHandler.cs
# Duplicati/Library/Main/Operation/Backup/FileEnumerationProcess.cs
# Duplicati/Library/Main/Operation/BackupHandler.cs
# Duplicati/Library/Main/Operation/TestFilterHandler.cs
# Duplicati/Library/Main/Options.cs
# Duplicati/Library/Main/Strings.cs
2018-04-24 14:46:46 +02:00
Kenneth Skovhede
c6be934747
Implemented empty folder exclusion flag
2018-04-24 13:11:03 +02:00
Kenneth Skovhede
e51e1b9e5a
Implemented option to use exclude filenames to mark folders for exclusion by placing a specially named file inside
2018-04-24 11:25:37 +02:00
Daniel Gehriger
7bf0a25912
Revert "Merge remote-tracking branch 'upstream/feature/fix_path_storage' into feature/usn"
...
This reverts commit 10d6b4c31c , reversing
changes made to 1af7f9e0ca .
2018-04-23 23:02:52 +02:00
Daniel Gehriger
10d6b4c31c
Merge remote-tracking branch 'upstream/feature/fix_path_storage' into feature/usn
2018-04-23 22:57:32 +02:00
Kenneth Skovhede
a8a32ea115
Added refactoring to improve the storage requirements for the local database, and speed up various queries.
...
This fixes #1283
2018-04-23 22:31:47 +02:00
Daniel Gehriger
1af7f9e0ca
Merge remote-tracking branch 'upstream/master' into feature/usn
2018-04-23 22:28:27 +02:00
Daniel Gehriger
8ff7681b89
Enabling USN in conjunction with snapshots
2018-04-23 11:45:18 +02:00
Daniel Gehriger
a7d60d88d7
Fixed post-processing of modified file list obtain from USN
2018-04-22 23:03:15 +02:00
Daniel Gehriger
b97d4e0dbb
Correctly filtering list of changed files / folders using exclusion filter
2018-04-20 17:30:08 +02:00
Daniel Gehriger
96d1390412
Disabling USN for now when snapshots are used - this will be enabled shortly
2018-04-20 09:44:48 +02:00
Daniel Gehriger
8af63b1d5d
Fixed some of the issues reported by codacy. The others are incorrect warnings.
2018-04-20 09:17:06 +02:00
Daniel Gehriger
2c1a0ddb4e
Implemented backup based on changes recorded in NTFS USN journal
2018-04-19 22:59:28 +02:00
Kenneth Skovhede
71a97c0623
Fixed an issue with test-filter that caused it to hang
2018-04-12 22:02:52 +02:00
Kenneth Skovhede
da7f705def
Merge branch 'master' into concurrent_processing
...
# Conflicts:
# Duplicati/Library/Main/Operation/BackupHandler.cs
2018-04-12 22:02:31 +02:00
Kenneth Skovhede
64c8f72143
Added some code to ensure that files that are included by default are also reported in the log (and the test-filter command)
2018-04-12 20:56:15 +02:00
Kenneth Skovhede
9eef035924
Fixed a case where the counter process would eat the output from the backup operation
2018-04-11 23:34:51 +02:00
Kenneth Skovhede
79f7b22e0f
Merge branch 'master' into concurrent_processing
...
Changed a few things on the way, removing the log process
# Conflicts:
# Duplicati/Library/Main/Controller.cs
# Duplicati/Library/Main/Database/ExtensionMethods.cs
# Duplicati/Library/Main/Database/LocalBackupDatabase.cs
# Duplicati/Library/Main/Duplicati.Library.Main.csproj
# Duplicati/Library/Main/Operation/BackupHandler.cs
# Duplicati/Library/Main/Operation/FilelistProcessor.cs
# Duplicati/Library/Main/Operation/PurgeBrokenFilesHandler.cs
# Duplicati/Library/Main/Operation/TestFilterHandler.cs
# Duplicati/Library/Main/Options.cs
# Duplicati/Library/Main/ResultClasses.cs
# Duplicati/UnitTest/BasicSetupHelper.cs
2018-04-11 23:02:47 +02: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
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
Kenneth Skovhede
9093603be1
Added support for disabling the file scanner during backups.
...
This fixes #2963
2018-02-11 20:57:38 +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
7bc9a81312
Delete backups outside of any retention policy time frame
2018-02-11 10:07:37 +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
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
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
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 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 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 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
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
Kenneth Skovhede and GitHub
202a6641e5
Merge pull request #2818 from warwickmm/fix_out_of_range_arguments
...
Fix arguments to ArgumentOutOfRangeException constructor
2017-10-15 16:32:17 +02:00
Kenneth Hsu
8fdbbaa255
Avoid premature declaration of backup completion.
...
This addresses issue #2803 .
2017-10-14 12:00:52 -07:00