Kenneth Skovhede
7b840bacb5
Merge branch 'feature/fix-check-filetime-only'
2018-08-12 22:38:22 +02:00
Kenneth Skovhede
c4b564358c
Spelling fixes
2018-08-12 22:33:21 +02:00
Kenneth Skovhede
4d1bea86a6
Attempt at making a leaner version of getting the previous file's information
2018-08-11 14:39:03 +02:00
Kenneth Skovhede
5507496352
Fixed the query to correctly extract metadata for a file, using the Metadataset indirection
2018-08-11 14:37:23 +02:00
Kenneth Skovhede
52cb9fb1f9
Removed the deprecated --store-metadata option.
...
Rewrote the logic for pre-filtering files based on timestamps/metadata to be more verbose and well documented.
Fixed an issue where `--check-filetime-only` also checked the file size, which was not present due to the reduced query used to grab only the lastmodified information.
Fixed a problem where the check for existing metadata was wrong and produced a warning.
This fixes #3204
This handles some of #3194
2018-08-11 11:48:19 +02:00
Kenneth Skovhede
1de08c1917
Merge branch 'feature/improve_size_multiplier_handling'
2018-08-09 09:14:49 +02:00
Kenneth Skovhede
2ec203cabe
Removed Task types and the TaskReader property from serialized results, as they have no usable serialized format
2018-08-08 11:59:20 +02:00
Kenneth Skovhede
07815c1751
Added warning to unqualified size options
2018-08-08 11:58:35 +02:00
Kenneth Skovhede and GitHub
64201ae706
Merge pull request #3314 from mnaiman/log_sql_variables
...
Log sql variables
2018-08-07 23:32:27 +02:00
Kenneth Skovhede
5a3adc390c
Merge branch 'feature/fix_file_counter'
2018-08-07 23:31:19 +02:00
Kenneth Skovhede
61060e05b8
Merge branch 'master' into feature/fix_path_storage2
...
# Conflicts:
# Duplicati/Library/Main/Database/LocalBackupDatabase.cs
2018-08-07 22:44:41 +02:00
Kenneth Skovhede
e17048f74d
Merge branch 'feature/reduce_database_call_overheads'
2018-08-07 22:38:07 +02:00
Kenneth Skovhede
20f859bb1d
Merge branch 'feature/disable_automatic_dblock_recreate'
...
# Conflicts:
# Duplicati/Library/Main/Strings.cs
2018-08-07 22:37:06 +02:00
Kenneth Skovhede
3831962c82
Fixed an infinite recursion issue
2018-08-07 13:35:30 +02:00
Kenneth Skovhede
5d6c612acc
The file counter crashed prematurely, because the logging context was disposed when leaving the scope.
...
Fixed this by awaiting the task inside the counter process, instead of returning the task.
Improved the logging system by allowing the log scopes to be created and detached from the parent.
This fixes #3305
2018-08-07 13:05:09 +02:00
Kenneth Skovhede
6255a9e0db
Disabled automatic recreate of dblock files, as it rarely works.
...
Added an option to re-activate dblock recreation.
This partially addresses #2335
2018-08-07 11:14:28 +02:00
Kenneth Skovhede
b55893ec02
Rewrote the SingleRunner class to use a single mutex instead of the overly complex bag-of-tasks method.
...
This simplifies things and speeds up database query queuing, at the expense of not guaranteeing that the same thread will access the database, but just guaranteeing single threaded database access.
2018-08-07 09:52:18 +02:00
Kenneth Skovhede
e9d7c47602
Disabled logging block and file database access to reduce overhead in these queries.
...
Added an option to explicitly re-enable logging of the database queries (`--profile-all-database-queries`)
2018-08-07 09:40:43 +02:00
JonMikelV and GitHub
5cec897403
Merge pull request #3332 from duplicati/JonMikelV-certUpdate-MacOS
...
Add MacOS based cert update instructions using curl (not all machines have wget)
2018-08-06 10:48:10 -05:00
JonMikelV and GitHub
5efe9a5857
Shift wget to curl
...
Found some Mac's that didn't have wget but DID have curl
2018-08-06 10:42:03 -05:00
Kenneth Hsu
6b521691ce
Remove unused ENVIRONMENT_VARIABLE_MATCHER_LINUX property.
...
This was added in revision 0b442ecdc6 , but no usages could be found. A
potential use-case is mentioned in a comment, so the implementation was
moved to the comment.
2018-08-02 21:40:51 -07:00
Kenneth Hsu
79f143e84a
Remove unused ToUnixTimestamp utility method.
...
This was added in revision 6255572c25 ("Added a timestamp value to the
end of dates in the report output for easier parsing"), but no usages
could be found.
2018-08-02 21:36:32 -07:00
Kenneth Hsu
f2b682e94f
Remove unused Base64UrlDecode utility method.
...
This was added in revision aca4ed95cc ("More work on the block hash"),
but no usages could be found.
2018-08-02 21:36:32 -07:00
Kenneth Hsu
a1a4bd8b90
Remove unused ReplaceFile utility method.
...
This was added in revision a0521da54d ("Initial version of the new
block-based storage format"), but no usages could be found.
2018-08-02 21:36:29 -07:00
Kenneth Hsu
da3cf6d2b3
Remove unused DefaultCulture utility property.
...
Usages were removed in revision 2264c07f3b ("Removed unused files").
2018-08-02 21:36:25 -07:00
Kenneth Hsu
70b0d093fe
Remove unused CalculateHash utility method.
...
Usages were removed in revision 3ff2f1eb98 .
2018-08-02 21:36:20 -07:00
Kenneth Hsu
c3cda5dc58
Remove unused IsValidHostname utility method.
...
Usages were removed in revision 62c75d9af9 ("Removed all informs code
(no more 1.3.x UI)").
2018-08-02 21:29:09 -07:00
Kenneth Hsu
c7f4bcd0d3
Remove unused LocateFileInSystemPath utility method.
...
Usages were removed in revision 62c75d9af9 ("Removed all informs code
(no more 1.3.x UI)").
2018-08-02 21:27:25 -07:00
Kenneth Skovhede and GitHub
d96043007c
Merge pull request #3317 from verhoek/refactoring/ftp
...
Refactoring/ftp
2018-08-02 09:55:38 +02:00
Kenneth Skovhede and GitHub
5b539083a9
Merge pull request #3318 from mnaiman/fix_missingremotefiles
...
Fix missingremotefiles
2018-08-02 09:45:42 +02:00
Kenneth Skovhede and GitHub
3fb9e6d2cf
Merge pull request #3312 from mnaiman/debug_metadata
...
Debug metadata
2018-07-24 16:43:37 +02:00
Kenneth Skovhede and GitHub
e380b870b3
Merge pull request #3313 from mnaiman/ExcuteReader_typo
...
Excute reader typo
2018-07-24 16:41:38 +02:00
verhoek
dafee2b455
Removed unwanted character in setting passive mode.
2018-07-17 21:35:55 +02:00
JonMikelV and GitHub
6442a0a18c
Add --user parameter
...
Apparently running cert-sync for the system-wide store doesn't resolve the issue.
2018-07-17 13:03:14 -05:00
JonMikelV and GitHub
93df1f5402
Add missing wget
...
Accidentally left `wget` out of command to fetch latest certs
2018-07-17 10:53:04 -05:00
JonMikelV and GitHub
b46c936ae1
Add cert update command for MacOS
2018-07-17 10:32:56 -05:00
Max123456
ae038a1bac
fixed - purge did not commit transaction of missing files set as deleted in database
...
list-broken-files better logging
2018-07-09 20:38:41 +02:00
Max123456
2213420582
sets.Length was always = 0
2018-07-09 19:01:59 +02:00
Max123456
99bb089b8b
log variables even in release
2018-07-06 19:44:05 +02:00
Max123456
af5e2119c0
typo
2018-07-06 19:41:25 +02:00
Max123456
a9f61d1b0d
change of params order
2018-07-06 18:04:47 +02:00
Max123456
6e0af52838
better metadata warning info
2018-07-06 17:59:59 +02:00
Kenneth Hsu
590fc151cd
Rename parameter so that it does not duplicate method name.
2018-07-04 15:43:37 -07:00
Kenneth Hsu
1a2ee3a5ef
Simplify return type of synchronous methods.
...
Since these methods no longer have the async modifier, they do not need
to return a Task, and do not need to be awaited.
2018-07-04 15:35:14 -07:00
Kenneth Hsu
6c38651f19
Rename methods to clarify their synchronous behavior.
...
Since these methods no longer have the async modifier, we should not
include 'Async' in their names.
2018-07-04 15:35:14 -07:00
Kenneth Hsu
5e3f15ada4
Remove async modifier from methods that lack await.
...
A method marked async that does not use await will run synchronously.
By removing the async modifiers, we make it more explicit that these are
synchronous methods. This also addresses some compiler warnings, and
avoids the creation of the state machine used to handle asynchronous
operations.
2018-07-04 15:35:09 -07:00
Kenneth Skovhede
becf9f7307
Merge branch 'feature/fix-vss-on-drive'
2018-06-30 19:14:36 +02:00
Kenneth Skovhede
eed758c479
Merge branch 'feature/fix-autodetect-blocksize'
2018-06-30 19:12:50 +02:00
Kenneth Skovhede
39ddebcdf5
Added a default to exclude the System State VSS writer.
...
This fixes #3236
2018-06-30 19:11:42 +02:00
Kenneth Skovhede and GitHub
c274c3bf6c
Merge pull request #3302 from mnaiman/hyper-v_check
...
default vss excluded writer
2018-06-30 19:03:48 +02:00