Kenneth Skovhede
7c8571ed33
Added LocalTestDatabase
2025-04-03 09:03:22 +02:00
Kenneth Skovhede
fe1cef3be8
Move away from positional parameters in SQL statements.
...
This is a move away from using positional parameters in SQL statements and rok towards only using named parameters.
2025-03-18 22:41:11 +01:00
Kenneth Skovhede
bb1aa8e1f7
Cosmetic cleanup
...
Removed superfluous namespaces.
Using `var` most places.
Using extension methods for common setup of commands.
2025-03-14 14:34:56 +01:00
Kenneth Skovhede
7234d43961
Fixed all SQL strings to use interpolation and forced them into the FormattableString handler using the invariant formatting.
2025-03-14 12:13:17 +01:00
Kenneth Skovhede
f342d70819
Implemented forced invariant locale on all SQL strings.
...
This fixes #6023
2025-03-13 23:06:32 +01:00
Kenneth Skovhede and GitHub
9464caf622
Feature/update license 2025 ( #5851 )
...
* Fixed some minor whitespace issues
* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede
db517a300b
Implemented a fix for compaction issues that could cause inconsistent views of the remote storage.
2024-11-01 14:50:26 +01:00
Kenneth Skovhede
49fb45859c
Fixed some incorrectly quoted literals in SQL statements
2024-04-15 08:24:01 +02:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
gpatel-fr and GitHub
0de4cb7968
allow full-remote-verification to target only list and index files ( #5037 )
...
The option is turned into an enum with values True, False, ListIndexes
True and False are for compatibility with the existing backups.
ListIndexes is equivalent to True but don't handle block volumes.
This is to make more workable a strategy of full remote testing
after each backup.
2023-12-10 00:24:07 +01:00
Kenneth Hsu
2aa76881a5
Mark fields that don't need to be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
Kenneth Hsu
6f231f9190
Avoid referencing virtual members in Basiclist constructor.
...
When referencing virtual members in a constructor, the behavior may be
ill-defined as the overridden implementation may depend on uninitialized
instance members.
Since the TABLE_PREFIX, TABLEFORMAT, INSERTCOMMAND, and INSERTARGUMENTS
properties were only referenced in the Basiclist constructor, we can
remove the abstract keyword and provide the values as constructor
parameters.
2018-10-17 20:11:06 -07:00
Kenneth Hsu
cb0a3ed2a1
Make constructors for abstract classes protected.
...
While this does not affect any behavior, it more accurately describes
the accessibility. Since abstract classes can only be instantiated by
an instance of a derived type, the constructors should at most have
protected access.
2018-04-07 18:04:41 -07:00
Kenneth Skovhede
5919309da9
Added additional checks to attempt to gather information from the remote destination, if the local database is somehow missing the size or hash
2017-02-27 00:43:06 +01:00
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
6fa57528a9
Fixed some cases where an interrupted upload would cause a deleted remote file to be attempted verified repeatedly.
2015-09-16 21:25:32 +02:00
Kenneth Skovhede
74bbf0f1f8
Added support for handling null values in the remotevolume table.
...
This fixes #1334 .
2015-05-17 13:38:25 +02: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
8d13e698eb
Updated copyright notices
2015-01-20 21:44:52 +01:00
Kenneth Skovhede
bc0417906f
Fixed to include files with no hashes in the verify process.
2014-08-26 12:50:03 +02:00
Kenneth Skovhede
4f968a592a
Fixed a bug with some version of SQLite that did not correctly detect the implicit column names
2013-09-13 13:27:19 +02:00
Kenneth Skovhede
78bfd56001
Updated the TEST command to also include data from DeletedBlock
2013-08-26 12:44:58 +02:00
Kenneth Skovhede
1a44eab08b
Added automatic backend volume testing with each backup
2013-08-24 20:59:09 +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
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
7e1ea91760
Added rolling checks to ensure equal testing of all files.
2013-07-30 22:42:59 +02:00
Kenneth Skovhede
f0d0dfb586
Implemented the test command
2013-06-26 21:59:01 +02:00