verhoek
30cd41585b
Corrected spelling function name.
2018-05-16 20:08:40 +02:00
Daniel Gehriger
fca4e80f97
Pushing again to retrigger checks.
2018-05-09 15:40:20 +02:00
Daniel Gehriger
055d7e4894
Minor changes to RecordEnumerator
2018-05-09 11:26:05 +02:00
Kenneth Skovhede
f9f9ce5dce
Rewrote the EnumerateRecords method to use an explicit enumerator class, as it crashes the Mono compiler for some reason.
2018-05-09 10:48:17 +02:00
Kenneth Skovhede
6dd9b64442
Auto-fix syntax from editor
2018-05-09 10:47:21 +02: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
90b6fc70a0
Fixed USN journal service initialization
2018-04-30 17:06:59 +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
894183a8ea
Fixed full-scan for USN, broken due to latest merge with master
2018-04-25 22:07:44 +02:00
Daniel Gehriger
0b43c467c7
Merge remote-tracking branch 'upstream/master' into feature/usn
2018-04-25 17:19:13 +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
1af7f9e0ca
Merge remote-tracking branch 'upstream/master' into feature/usn
2018-04-23 22:28:27 +02:00
Daniel Gehriger
fd70a9e16c
Recording previous journal data as default if change journal cannot be used
2018-04-23 10:57:44 +02:00
Daniel Gehriger
6ce298b4af
Fixed USN in conjunction with snapshots on Windows
2018-04-22 23:37:45 +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 Hsu
cb0a3ed2a1
Make constructors for abstract classes protected.
...
While this does not affect any behavior, it more accurately describes
the accessibility. Since abstract classes can only be instantiated by
an instance of a derived type, the constructors should at most have
protected access.
2018-04-07 18:04:41 -07: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
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
inat3k and GitHub
d529b2d0ce
Fixed condition to start checking 32bit registry
...
If arrInstalledInstances isn't null it doesn't make sense to check 32bit registry.
2018-01-09 11:29:40 +01:00
inat3k and GitHub
81ab40a6ae
Check MSSQL 32bit installation on 64bit system
...
Some programs install MSSQL 32bit version on 64bit system. In that case Duplicati can't find MSSQL instances because it checks only on 64bit registry. That change check also 32bit registry.
2018-01-09 11:17:33 +01:00
Kenneth Hsu
ab489d9a28
Make parameter names in XML documentation match code.
2017-12-09 18:42:30 -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 Hsu
65593ddd93
Remove unncessary sorting.
...
The original implementation only sorted the collection if there were
duplicates. This indicates that the result does not really need to be
sorted.
2017-09-29 21:41:41 -07:00
Kenneth Hsu
c8ac480c09
Use helper method to get unique items and duplicates.
2017-09-28 22:02:05 -07:00
Kenneth Hsu
b84e7bd34d
Avoid hard-coded parameter names.
...
This makes it easier to rename the parameter in the future as we don't
have to search for the parameter name within strings.
2017-09-25 19:54:54 -07:00
Kenneth Hsu
4950c72128
Add clearer exception message.
2017-09-25 19:54:54 -07:00
Kenneth Skovhede
d6f6b428c1
Updated AlphaFS
2017-09-23 14:44:00 +02:00
Kenneth Skovhede
a06f38442a
Updated all Newtonsoft.Json packages
2017-09-23 00:25:50 +02:00
Kenneth Skovhede
2b2e495e15
Added the <Prefer32Bit>False</Prefer32Bit> option to all executables.
...
This fixes #2519
2017-06-02 09:42:29 +02:00
Kenneth Skovhede
b0be676dc4
Updating MailKit and AlphaVSS
2017-05-17 11:10:00 +02:00
Kenneth Skovhede
046b522a8d
Updated NewtonSoft.Json
2017-05-17 11:08:51 +02:00
Kenneth Skovhede
cafb8e6ff1
Fixed issues with reporting the correct error message when enumerating files
2017-01-23 20:53:18 +01:00
Kenneth Skovhede
5ab248b660
Removed assembly signing from the snapshot project as that depends on two libraries that are not signed.
2017-01-13 00:03:28 +01:00
Kenneth Skovhede
a029890409
Implemented better default error messsages
2017-01-09 11:35:38 +01:00
Kenneth Skovhede
52eb8e8478
Disabled MSBuild for much faster builds on MacOS
2016-12-29 23:12:41 +01:00
Christian Schuerer-Waldheim
5b70b2ab21
Remove comment with got committed accidentally.
2016-12-14 10:58:37 +01:00
Christian Schuerer-Waldheim
7645182b7d
Refactor PrefixWithUNC (reorder checks and use string constants)
2016-12-14 09:25:23 +01:00
Christian Schuerer-Waldheim
58a4150dd6
Return proper UNC prefix for server paths (\\server\share\). This fixes #2167 , but restore view needs fixing (NullReferenceException in SearchFiles()).
2016-12-13 18:29:36 +01:00
Kari Koskinen
49be3ed32b
Increase LVM snapshot maxiumum size
...
Increase the maximum size of LVM snapshots to 1000 extents (4GB by
default).
2016-11-14 21:43:06 +02:00
Kenneth Skovhede
aed97d5b4c
Fixed an issue with Windows reporting an error if there are no MSSQL instances on the machine
2016-11-09 12:57:35 +01:00
Kenneth Skovhede
82b0c226af
Merge branch 'feature/update_alphafs'
2016-11-08 12:23:36 +01:00
Kenneth Skovhede and GitHub
0f0e5971c4
Merge pull request #2092 from kakoskin1/XFS-LVM-snapshot
...
Add support for lvm snapshots of XFS filesystems
2016-11-04 10:48:53 +01:00
Kenneth Skovhede and GitHub
d800228d0a
Merge pull request #2085 from duplicati/feature/store_correct_symlink_metadata
...
Store correct symlink metadata
2016-11-04 10:45:20 +01:00
Kari Koskinen
344d1888cc
Merge branch 'master' into XFS-LVM-snapshot
2016-11-03 22:42:05 +02:00