Commit Graph
3538 Commits
Author SHA1 Message Date
Karen Martikyan 86ba2bb3f1 Some code quality issues fixed 2020-09-20 22:57:04 +04:00
Karen Martikyan a795e0cfe5 Refactorings made, logging improved, strings improved 2020-09-20 22:57:04 +04:00
Karen Martikyan 71a5e9051b Refactoring made, fixed Get redundant retries, Logging added 2020-09-20 22:57:04 +04:00
Karen Martikyan a3bb6b1d75 Updates made, safeExecute created 2020-09-20 22:57:04 +04:00
Karen Martikyan 758c8bf98e TLSharp lib updated, small fixes, debugging made ez 2020-09-20 22:57:04 +04:00
Karen Martikyan f68888d67a Refixed static fields 2020-09-20 22:57:04 +04:00
Karen Martikyan 9093d5ffa6 Made all props static :/ 2020-09-20 22:57:04 +04:00
Karen Martikyan 5e82ba7d84 Bug fixes made with putting/getting data, list fixed 2020-09-20 22:57:04 +04:00
Karen Martikyan 46629c084a Reverting back some unintended changes 2020-09-20 22:57:04 +04:00
Karen Martikyan d0386972ac Few redundant changes undone 2020-09-20 22:57:04 +04:00
Karen Martikyan a922e8f876 Minor improvements made 2020-09-20 22:57:04 +04:00
Karen Martikyan 42a100e42b Full working state 2020-09-20 22:57:04 +04:00
Karen Martikyan 8d59448939 Few fixes made 2020-09-20 22:57:04 +04:00
Karen Martikyan 703550c12b Cleanup ran, session hex restore made 2020-09-20 22:57:04 +04:00
Karen Martikyan d27fd5092d Disposing filestreams 2020-09-20 22:57:04 +04:00
Karen Martikyan d9d0609de9 Improvements made to code generaly, implemented Get 2020-09-20 22:57:04 +04:00
Karen Martikyan dacdb987ad Implemented PutAsync correct file names 2020-09-20 22:57:04 +04:00
Karen Martikyan d6d1beed1b Made getChannel by synchronous 2020-09-20 22:57:04 +04:00
Karen Martikyan 58ac8fc856 Connection worked again, after few hours debugging 2020-09-20 22:57:04 +04:00
Karen Martikyan fb19a53aa0 Modifying the ip of DC using reflection, connecting policy changes made 2020-09-20 22:57:04 +04:00
Karen Martikyan 4848f2fcd5 Removed redundant logic 2020-09-20 22:57:04 +04:00
Karen Martikyan 102a764f5b Improvements made, not working state 2020-09-20 22:57:04 +04:00
Karen Martikyan a804b6ddf2 NWS 2020-09-20 22:57:04 +04:00
Karen Martikyan f225553d6c Connection worked! 2020-09-20 22:57:03 +04:00
Karen Martikyan 647aa3872b Small changes, adding test projects/files, needed to squash commits 2020-09-20 22:57:03 +04:00
Karen Martikyan 73fbb047e7 Added Telegram Backend skeleton 2020-09-20 22:57:03 +04:00
Honoré Vasconcelos 71494826f9 Improve query performence used in GetFilesAndSourceBlocksFast
Tree changes in query
* Move inner selection S to a temporary table
* Reorder join field in outer query
* Remove intersection with File view in outer selection
File view is already intersected with in selection S

With the above-mentioned changes, on a specific testset, query took 9s instead of 6min.
2020-08-26 10:10:54 +01:00
warwickmmandGitHub bcaedebecd Merge pull request #4287 from dgehri/feature/improve_usn_2
Improve USN performance.
2020-08-22 09:28:05 -07:00
warwickmmandGitHub 83318877a1 Merge pull request #4285 from dferreyra/source_path_with_unc_prefix_3
Handle Windows source paths starting with "\\?\"
2020-08-21 07:38:12 -07:00
Daniel Gehriger 31bb24d605 USN: moving exclusion filter earlier in the enumeration process to improve performance 2020-08-18 16:07:01 +02:00
Daniel Gehriger bb1853085d USN: only considering events relevant to backup 2020-08-18 12:21:59 +02:00
Daniel Gehriger b6752bead3 USN: excluding non-relevant events 2020-08-18 11:43:52 +02:00
Daniel Gehriger d143f8b3f9 Improved speed of AppendFilesFromPreviousSetWithPredicate, making USN backups usable when there are large file sets 2020-08-18 11:43:23 +02:00
Daniel Gehriger 420c23cf05 USN: corrected exclusion criteria 2020-08-17 23:03:51 +02:00
Daniel Gehriger 82c54dde31 Fixing AppendFilesFromPreviousSetWithPredicate 2020-08-17 23:01:20 +02:00
Daniel Gehriger c5bef5c2e0 Improved Improved speed of AppendFilesFromPreviousSetWithPredicate, making USN backups usable when there are large file sets 2020-08-17 18:06:38 +02:00
Daniel Gehriger 8e8c758c65 Improved speed of AppendFilesFromPreviousSetWithPredicate, making USN backups usable when there are large file sets 2020-08-17 17:27:45 +02:00
Daniel Gehriger 7d2c6befb0 Using USN journal in CountFilesHandler 2020-08-17 15:08:15 +02:00
Daniel Gehriger 245046e8e5 USN: adding verbose message 2020-08-17 14:41:41 +02:00
Daniel Gehriger 0caf724982 USN journal: removing create & delete sequences between two backups from list of files 2020-08-17 14:41:23 +02:00
Dean Ferreyra b8eecba62c Handle Windows source paths starting with "\\?\"
Under Windows, strip paths of any `\\?\` prefix to prevent Duplicati
from storing paths prefixed with `\\?\`.

This fixes an inconsistency in the stored data where, if the user
provided a prefixed path to back up (e.g., `\\?\C:\Temp`), Duplicati
would store an entry with the prefixed path (e.g., `\\?\C:\Temp`)
along with entries with paths stripped of their prefix (e.g.,
`C:\Temp\file.txt`).  By only storing non-prefixed paths, this also
avoids an error reported by the GUI when it would encounter a prefixed
path:
```
Filter for list-folder-contents must be a path prefix with no wildcards Parameter name: filter
```
2020-08-15 20:09:54 -07:00
Dean Ferreyra ecd62e8cea Fix snapshots broken by #4256
Add comment in `WindowsSnapshot.ConvertToSnapshotPath()` warning how
replacing some manual path construction code with Path.Combine() alone
can lead to invalid snapshot paths.
2020-08-08 15:32:54 -07:00
Dean Ferreyra 1198c10d43 Fix snapshots broken by #4256
Revert the change made to `WindowsSnapshot.ConvertToSnapshotPath()`
by pull request #4256.

The change in #4256 replaced some existing manual path construction
code with a call to `SystemIO.IO_WIN.PathCombine()`, but calling
`SystemIO.IO_WIN.PathCombine()` this way did not always result in
valid VSS paths.  For example, trying to back up a root volume like
"C:\" would result in the following error:
```
The filename, directory name, or volume label syntax is incorrect.
```
2020-08-07 21:51:11 -07:00
Kenneth SkovhedeandGitHub 648d199427 Merge pull request #4277 from dgehri/feature/USN-deleted-files-fix
Enabled support for \$Extend\$Deleted special MTF folder when using USN
2020-08-07 12:07:44 +02:00
Kenneth SkovhedeandGitHub ec1975b5a7 Merge pull request #4269 from warwickmm/target_net_471
Target .NET Framework 4.7.1
2020-08-07 10:50:35 +02:00
Kenneth SkovhedeandGitHub 04dd510be0 Merge pull request #4261 from warwickmm/avoid_deleting_unrelated_files
Avoid deleting unrelated files when removing backup configuration
2020-08-07 10:33:31 +02:00
Daniel Gehriger fcf44d595d Restoring original scheduling of CountFilesHandler 2020-08-06 18:14:07 +02:00
Daniel Gehriger 279d8d2d2c Fixed usn reason comparison (was too severe) 2020-08-06 17:58:19 +02:00
Daniel Gehriger 51ce673831 Removed debug assert 2020-08-06 16:56:52 +02:00
Daniel Gehriger b25d4b47ca Enabled support for \$Extend\$Deleted special MTF folder when using USN 2020-08-06 16:37:48 +02:00