Commit Graph
46 Commits
Author SHA1 Message Date
Kenneth Skovhede bb17682b94 Indentation fixes 2015-01-25 12:33:00 +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 80885b94e7 Now repairing duplicate bloklist hashes in repair.
This fixes #1238.
2015-01-12 23:07:57 +01:00
Kenneth Skovhede d5079786bd Also remove links if deleting the index file 2014-12-30 18:26:29 +01:00
Kenneth Skovhede fdc9d4fdd4 Moved GetBlocklists into the common database class. 2014-12-30 18:26:08 +01:00
Kenneth Skovhede 76a5ba98f8 Imporved error message 2014-12-30 18:25:30 +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 7cbedb8f43 Refactored the synthetic filelist upload and added a check to prevent defect fileslist being uploaded. 2014-12-30 16:13:31 +01:00
Kenneth Skovhede 3c595b61c9 Fixed duplicate logging of operation results 2014-07-16 00:57:57 +02:00
Kenneth Skovhede 4414c2f0dd Moved SQLite related items into a separate project to avoid pulling in the extra content files when using the utility library for mini projects 2014-04-07 11:59:33 +02:00
Kenneth Skovhede e3b638a158 Pedantic fix 2014-01-19 23:25:17 +01:00
Kenneth Skovhede f94f564395 Update issue #902
Status: Fixed

Changed to set explicit names on the temporary table.
2013-11-20 19:16:35 +01:00
Kenneth Skovhede 3fd83514f4 Improved speed for verifying database consistency 2013-09-25 23:31:48 +02:00
Kenneth Skovhede d708828804 Restore now scans older backups to look for files, if the file(s) searched for are not found in the list 2013-08-24 22:27:30 +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 e2c713b9e4 Added VACUUM to the database 2013-08-23 22:15:07 +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 59776c4ecb Bugfix with listing filesets based on timestamp 2013-08-20 21:37:30 +02:00
Kenneth Skovhede af86206cd9 Fixed crash when selecting non-existing version to list or restore 2013-08-06 22:57:03 +02:00
Kenneth Skovhede 7e1ea91760 Added rolling checks to ensure equal testing of all files. 2013-07-30 22:42:59 +02:00
Kenneth Skovhede f0f465160f Changed the remaining DateTime columns to epoch seconds 2013-07-24 17:21:38 +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 4e7ed3458f Added auto-rename logic to work around faulty Apache WebDAV backends 2013-07-23 18:56:01 +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 7116f750c1 Fixed issue with empty blacklists written in index files 2013-07-19 00:42:24 +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 c182bf22e4 Removed unused method 2013-07-09 13:51:22 +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 a35710edef Rewrote some database methods to return enumerables instead of instantiated lists 2013-07-01 12:03:59 +02:00
Kenneth Skovhede b69cdcb136 Fixed filters to include everything if empty.
Will now include by default if there are only exclude filters.
If there are any include filters, the files are excluded by default.
2013-06-30 12:42:13 +02:00
Kenneth Skovhede 2bf912a0af Rewrote the filter system to distinguish between match and result, which allows filter combinations 2013-06-29 12:16:30 +02:00
Kenneth Skovhede 1a507fde23 Fixed issue with fileset lingering after an empty update 2013-06-28 14:58:56 +02:00
Kenneth Skovhede 421551fc18 Fixed equivalency of selecting file set with --time and --version 2013-06-26 21:53:15 +02:00
Kenneth Skovhede e36fa0c441 Implemented list-changes 2013-06-20 20:17:10 +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 d696670598 Reworked the result reporting to support type safe values 2013-05-25 16:40:15 +02:00
Kenneth Skovhede 3eebabef26 Added code to prevent overwriting files when restoring 2013-05-20 13:48:44 +02:00
Kenneth Skovhede c29d9d00b9 Implemented the backup command.
Rewrote filter handling across the entire project.
2013-05-13 22:32:05 +02:00
Kenneth Skovhede 3b70f99722 Implemented the new delete command and removed some more unused code 2013-05-11 22:56:21 +02:00
Kenneth Skovhede 37d05ef3f5 Fixed some debug-leftovers for the LIST command 2013-05-11 13:41:07 +02:00
Kenneth Skovhede 4d49af71de Bugfixes and simplifications to the list command and CLI interface 2013-05-11 13:04:01 +02:00
Kenneth Skovhede 524d096d5b Added the new LIST command 2013-05-11 12:03:15 +02:00
Kenneth Skovhede 23744d8915 More refactoring and cleanup 2013-05-08 21:29:59 +02:00
Kenneth Skovhede 8f704d9445 Moved stuff around and dropped the ForestHash namespace 2013-05-08 20:17:07 +02:00