Commit Graph
52 Commits
Author SHA1 Message Date
Kenneth Skovhede 742eab0913 Fixed multiple cases where connections and command instances were not disposed.
This should fix all cases of "File is locked" on windows.
2016-04-06 20:40:34 +02:00
Kenneth Skovhede 0de9adc606 Added grace-period for incomplete uploads to avoid backups stopping due to the Apache WebDAV issues.
This fixes #1243.
2015-04-05 14:33:13 +02:00
Kenneth Skovhede 4eefccc4f2 Fixed an issue where changed metadata was not stored if the file data had not changed.
This also includes a fix for a path-lookup that was larger than needed.
2015-01-25 21:55:15 +01:00
Kenneth Skovhede 4846ffa103 Now using the file modification timestamp and the filesize as indicators that trigger file scanning.
This fixes #1099.
2015-01-24 21:59:53 +01:00
Kenneth Skovhede 4f9de30936 Added upload of detected missing index files 2014-12-30 18:29:07 +01:00
Kenneth Skovhede 3bcf7cf695 Added fixes to prevent the bare-metal recovery issue discussed in issue #1218 and #1214. 2014-12-30 16:15:21 +01:00
Kenneth Skovhede e6f68eac67 Fixed one more speed issue when running with low-memory, it is now only marginally slower when not using memory caches. 2014-10-31 11:01:23 +01:00
Kenneth Skovhede d05f6f1324 Improved performance when running with all in-memory caches disabled by a factor of 16.
On a smaller dataset, the performance is now only a little more than twice as slow with a low memory footprint compared to the default with all memory caches enabled.
2014-10-30 23:45:36 +01:00
Kenneth Skovhede 4fab98f0f1 Fixed another bug with inserting duplicate metadatasets 2014-10-30 21:36:27 +01:00
Kenneth Skovhede 1547d0fd1e Fixed a bug with creating duplicate metadataset entries 2014-10-30 15:43:24 +01:00
Kenneth Skovhede c030e321c6 Improved error messages when a faulty database is discovered 2014-10-30 15:41:51 +01:00
Kenneth Skovhede c53f43a083 Fixed a bug with metadata lookup. 2014-10-30 00:15:25 +01:00
Kenneth Skovhede 0c1afd15a5 Improved a performance issue with counting the number of changed files 2014-08-12 11:04:57 +02:00
Kenneth Skovhede 796459df5d Fix for hash collisions with different size inputs 2014-05-14 14:44:56 +02:00
Kenneth Skovhede 6df9fba2f3 Fixed handling of paths that change from file to folder, and folder to file.
Renamed FilesetId to FileID as that is what it is.
2013-11-20 19:18:12 +01:00
Kenneth Skovhede a712d969c4 Fixed issue with duplicate files inserted in filelist 2013-11-01 23:51:00 +01:00
Kenneth Skovhede 04bd3ac9c9 Improved speed for creating the scantime lookup table 2013-09-25 23:30:19 +02:00
Kenneth Skovhede 32a617b1e2 Rewrote the changed/added/deleted files to count using temporary table (minor speedup) 2013-09-10 20:42:54 +02:00
Kenneth Skovhede 4913a27cac Added some extra profiling output 2013-09-10 08:29:12 +02:00
Kenneth Skovhede 1f48d43515 Removed the HashDatabaseProtector and added the HashLookupHelper instead. 2013-09-09 22:50:18 +02:00
Kenneth Skovhede c2a10f268a Rewrote the changed file query SQL 2013-09-09 22:48:26 +02:00
Kenneth Skovhede 555945eae4 Implemented a better cache for filenames. 2013-09-07 21:33:59 +02:00
Kenneth Skovhede 818554de4e Bugfix for the block cache 2013-09-04 22:10:36 +02:00
Kenneth Skovhede ffcd62a412 Added lookup table to avoid searching the database when adding a blocksetentry 2013-09-03 23:48:42 +02:00
Kenneth Skovhede a75f8e087d Rewrote the logic that fixes missing filelist uploads 2013-08-31 15:30:34 +02:00
Kenneth Skovhede 2446c9702d Fixed detection of incomplete filesets 2013-08-31 15:29:52 +02:00
Kenneth Skovhede cd42f4cca0 Fixed selection for interrupted filesets 2013-08-30 22:51:13 +02:00
Kenneth Skovhede 72ffff19b5 Fixed the detection and re-upload of interrupted filelists 2013-08-30 22:19:50 +02:00
Kenneth Skovhede 4c217b57d9 Fixed a number of dispose errors that would mask real errors 2013-08-23 23:36:25 +02:00
Kenneth Skovhede e7268ce63b Fixed a bug with modified files not being counted, and a bug where a deleted file would cause trouble if it was created again 2013-08-23 22:14:17 +02:00
Kenneth Skovhede a229de8e23 Cleaned up some output with Backup and compacting.
Implemented better output for Restore.
Fixed a problem with errors during dispose, and a problem with selecting filesets that do not exist.
Fixed a bug with restore if a file existed with some correct data, a copy would be restored with partial data.
Added check to try to avoid excessive restores of the same files if a file in another version already exists.
2013-08-22 20:56:03 +02:00
Kenneth Skovhede 44869e7c1e Improved error messages when overflowing the cache tables to include a hint for correcting the problem 2013-08-06 23:41:25 +02:00
Kenneth Skovhede 5c110162ea Changed the time format of times used programmatically to use EPOCH seconds, as it is faster to parse and more reliable 2013-07-23 21:28:01 +02:00
Kenneth Skovhede df386b8c35 Bugfix with reporting 2013-07-23 18:54:53 +02:00
Kenneth Skovhede a1ef4dbe96 Rewrote the way the database is recreated to ensure greater stability when recovering from a damaged backup.
The restore now correctly works with missing index files and full index files.
2013-07-22 16:54:19 +02:00
Kenneth Skovhede e31e5359f1 Bugfix 2013-07-18 23:14:23 +02:00
Kenneth Skovhede 4809897a00 Rewrote date time reading from db to use epoch instead of normal date to avoid string parsing of dates 2013-07-16 14:52:35 +02:00
Kenneth Skovhede 9675a4326f Unified thresholds for cache overflow reporting 2013-07-12 10:02:28 +02:00
Kenneth Skovhede 22026d96d0 Removed some spam in the log file 2013-07-12 10:01:49 +02:00
Kenneth Skovhede 6bece1556c Renamed FalsePositives and FalseNegatives to PositiveMisses and NegativeMisses respectively, as the previous term is no longer correct 2013-07-12 08:07:10 +02:00
Kenneth Skovhede 6830eb257d Cleaned up storage of various timestamps to only use second precision 2013-07-09 13:51:08 +02:00
Kenneth Skovhede 0234496899 Added upload of previous fileset if the previous backup was interrupted 2013-07-01 17:23:05 +02:00
Kenneth Skovhede 9a54129dce Added option to supply the file set id to AppendFilesFromPreviousSet 2013-07-01 17:04:57 +02:00
Kenneth Skovhede fdf22fe985 Rewrote a query to use cartesian product instead of inner join 2013-06-28 14:56:26 +02:00
Kenneth Skovhede b28ed2ec90 Removed some unwanted profiling code 2013-06-10 23:04:44 +02:00
Kenneth Skovhede 2b01d20ce3 Added profile logging to all commit calls
Added extra profiling on backup
2013-06-09 16:30:28 +02:00
Kenneth Skovhede 3fd3e63b32 Improved performance of some commonly used queries 2013-06-01 13:51:43 +02:00
Kenneth Skovhede 7406420067 Updated the average string size 2013-06-01 13:51:23 +02:00
Kenneth Skovhede d696670598 Reworked the result reporting to support type safe values 2013-05-25 16:40:15 +02:00
Kenneth Skovhede c29d9d00b9 Implemented the backup command.
Rewrote filter handling across the entire project.
2013-05-13 22:32:05 +02:00