Kenneth Skovhede
115e887802
Implemented new updater logic that supports multi-arch distributions.
2024-03-15 14:18:56 +01:00
Kenneth Skovhede
473c6cbbb8
Merge commit '4f577c65a4d8806f79637c50c21ca3a683c5a07a' into feature/kestrel-avalonia-upgrade
2024-03-04 12:21:53 +01:00
Kenneth Skovhede
d3d4fc1434
More cleanup after using Mono.Posix
2024-03-01 14:30:28 +01:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Max
41a5591532
upstream
2019-12-25 16:34:56 +01:00
Kenneth Hsu
83ac03843d
Fix spelling errors in comments.
...
In doing so, we also normalized some line endings.
2019-12-14 09:52:55 -08:00
BlueBlock
1c28cf0b15
refactor AutoUpdater to an exe and a library
2019-09-06 16:57:44 -04:00
verhoek
b2cc18426c
Renamed Library.IO to Library.Common.IO.
...
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek
ef71e989e7
Use helper methods in IO.Util.
2018-10-27 12:30:02 +02:00
verhoek
40dc6da81d
Created separate package for io wrapper.
2018-10-25 20:01:55 +02:00
jkellerer and juergen kellerer
fde179c2a2
Fixed #3373 - LVM: Backup failure on removed files
...
Fixes a problem in IsBlockDevice(localPath) which throws an exception when a path that exists in the snapshot is removed from the disk during the backup.
2018-09-14 12:00:20 +02:00
verhoek
99af3eb9ca
Make default value explicit.
2018-06-12 09:31:41 +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
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
6ce298b4af
Fixed USN in conjunction with snapshots on Windows
2018-04-22 23:37:45 +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
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
Kenneth Hsu
ab489d9a28
Make parameter names in XML documentation match code.
2017-12-09 18:42:30 -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
cafb8e6ff1
Fixed issues with reporting the correct error message when enumerating files
2017-01-23 20:53:18 +01:00
Kenneth Skovhede
a029890409
Implemented better default error messsages
2017-01-09 11:35:38 +01:00
Kenneth Skovhede
1f7110503a
Updated unix symlinks handling to store correct metadata for symlinks
2016-11-03 13:11:53 +01:00
Kenneth Skovhede
0c68daff6c
Fixed all whitespace to be 4 spaces instead of tabs
2016-09-15 11:39:27 +02:00
Kenneth Skovhede
b9aacdd243
Changed to manually normalizing the path as Syste.IO.GetFullPath can return the trailing slash on some versions of Mono and that breaks reporting symlinks.
...
This new normalization also handles the POISX filesystem root path ("/").
2016-03-31 23:05:30 +02:00
Macho Philipovich
19dca2b69b
support for / filesystem source by largely eliminating DIR_SEP variable + renamed license for case
2016-01-12 16:03:20 -05:00
Kenneth Skovhede
3149064cde
Merge branch 'no_more_resx'
2015-01-20 21:45:54 +01:00
Kenneth Skovhede
8d13e698eb
Updated copyright notices
2015-01-20 21:44:52 +01:00
Kenneth Skovhede
16c791f0b5
Removed all resx files, now using Duplicati.Library.Localization exclusively
2015-01-20 21:07:24 +01:00
Kenneth Skovhede
e3c6682d29
Improved handling of metadata, especially on Linux/OSX
2014-11-06 01:23:31 +01:00
Kenneth Skovhede
9841dbc7ac
Updated the autoupdater to use a static instance and fixed a number of paths to use the base dir.
...
Added a current pointer-file to allow running with a version that is not the newest.
Updater is now working except for OSX, where the bundle setup is causing issues when running the loaded instance.
2014-07-03 11:01:49 +02:00
Kenneth Skovhede
b1ce24d504
Added hardlink detection on Linux/OSX
2014-04-02 11:02:06 +02:00
Kenneth Skovhede
8e6b034173
Changed all file timestamps to read utc directly instead of converting from local time
2014-02-27 14:14:48 +01:00
Kenneth Skovhede
26be8628cd
Added support for detecting block devices under OSX/Linux.
...
Added support for reading extended attributes under OSX/Linux
2013-09-08 00:37:49 +02:00
Kenneth Skovhede
a9ca999962
Updated to allow files as input arguments to backup
2013-06-29 12:17:52 +02:00
Kenneth Skovhede
48a675b0da
Fixed bugs after rewriting filesystem enumerators to use filters and IEnumerable<string>
2013-05-15 21:50:16 +02:00
kenneth@hexad.dk
a0521da54d
Initial version of the new block-based storage format.
...
Still needs a work over in terms of error handling, progress reporting, warning output, refactoring etc.
Also misses the volume reuse/reclaim algorithms.
But it passes the unit tests now, with and without a local database.
git-svn-id: https://duplicati.googlecode.com/svn/sandboxes/Kenneth/ForestHash@1526 59da171f-624f-0410-aa54-27559c288bec
2013-02-12 21:43:14 +00:00