Commit Graph

55 Commits

Author SHA1 Message Date
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
Kenneth Hsu 4950e7c225 Unhide partial filesets from Sets property getter.
This concerns issue #3982.
2019-11-19 19:30:01 -08:00
Kenneth Hsu c395e77bc2 Unhide partial filesets from QuickSets property getter.
This concerns issue #3982.
2019-11-19 19:29:59 -08:00
drwtsn32x dc87ca1873 remove namespace reference 2019-10-05 11:39:05 -07:00
drwtsn32x 176558d68d roll back pr 3846 2019-10-05 11:34:49 -07:00
BlueBlock 5e2d4f789c correct field id's 2019-08-31 18:44:07 -04:00
BlueBlock 653e687b0e Merge remote-tracking branch 'upstream/master' into fix-stop-after-current-file 2019-08-25 14:19:00 -04:00
BlueBlock fc34f7abbf apply fix to all systems 2019-08-24 11:25:15 -04:00
BlueBlock c3f7923afa add braces but really is to kickoff travis again 2019-08-21 12:55:24 -04:00
BlueBlock c74505301b add braces 2019-08-21 12:20:07 -04:00
BlueBlock 9a6fc927d3 add missing check for id in dict 2019-08-21 12:17:21 -04:00
BlueBlock d11c7f1378 fix QuickSets to return results of expected sets in dict[]
older partial sets are being included that are not in dict[]
2019-08-18 18:42:49 -04:00
BlueBlock dfe8b817e3 rename variable and relocate BackupType() to base method 2019-08-18 14:41:37 -04:00
BlueBlock f3590cb7e6 fix db read for isfullbackup 2019-08-18 09:51:59 -04:00
BlueBlock 9bdee90e5c hide partials that are bracketed by full backups 2019-08-16 21:59:46 -04:00
BlueBlock 08e2c18185 add handling of a partial backup
- add backup state to DB table 'fileset' (job database upgrade to version 10)
- modify the Restore page dropdown to display if a backup is "partial"
- modify retention logic to remove partial backups only when the next recent full-backup has been removed
2019-08-05 20:14:05 -04:00
BlueBlock 1699d5e759 simplified logic 2019-08-03 19:25:27 -04:00
BlueBlock 0155131017 add logic to apply fix to Windows only 2019-08-03 19:16:52 -04:00
BlueBlock 6602664fb2 fix bug in GetLargestPrefix() which adds an ending slash to file name paths
for the section of code which handles files, AppendDirSeparator(() is being applied to files when it should n't be at all. This results in all file paths to have an ending slash. This adjusted path causes the sql query to have 0 results.
2019-08-02 16:42:18 -04:00
Max 65e79a276b fix for unc paths in prefixes (#3599) 2019-01-12 01:12:51 +01:00
verhoek b2cc18426c Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek c398dec768 Fixed relevant code issues brought up by codacity. 2018-10-29 12:11:56 +01:00
verhoek bc053df294 Moved basic IO helper functions to Library.IO. 2018-10-27 12:17:07 +02:00
Kenneth Hsu f12858e6a5 Mark fields that shouldn't be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Kenneth Hsu 8810e0130d Make string comparisons use ordinal (binary) sort rules.
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Roberto Ribeiro 1ce4ccd61f Changed subqueries to improve folder browsing in restore 2017-11-15 15:16:25 -02:00
Kenneth Hsu 0738c5b624 Remove unnecessary call to String.Format. 2017-09-26 20:43:27 -07:00
Kenneth Hsu 4edf8536da Remove unused argument in string formatting. 2017-09-26 19:56:29 -07:00
Kenneth Hsu b84e7bd34d Avoid hard-coded parameter names.
This makes it easier to rename the parameter in the future as we don't
have to search for the parameter name within strings.
2017-09-25 19:54:54 -07:00
Oliver Kötter 49b43a00d0 Stop iterating though the path if remaining path is \\
Fixes crash when restoring files backuped from unc paths 

Fixes #2469
2017-06-07 08:24:09 +02:00
Kenneth Skovhede 9a849a2b58 Improved support for cross-os restores.
This fixes #1302
This fixes #1983
2017-01-06 23:01:54 +01:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede 02423b5a46 Added additional logic for getting the backup path prefixes on multi-drive backups in Windows.
This fixes #1672.
This fixes #1527.
2016-04-19 10:04:22 +02: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 50743b06ed Implemented indexes as suggested in #1481 and #1391 2015-11-16 12:57:34 +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 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede f59eca060d Implemented a fast method for listing filesets, where no sizes are calculated 2014-08-19 20:26:21 +02:00
Kenneth Skovhede e0bc9d387a Removed some compile warnings 2014-08-07 21:03:47 +02:00
Kenneth Skovhede 5430f4bfc4 Fixed a problem with long paths 2014-07-18 00:34:34 +02:00
Kenneth Skovhede 416044b71a Fixed issues with restore and list under windows if sources contains two different drives 2014-03-24 11:49:25 +01:00
Kenneth Skovhede d4ecaa7437 Fixed listing files on Windows as well (empty start prefix) 2014-03-21 19:23:54 +01:00
Kenneth Skovhede 9dbb4ed633 Workaround for the missing INSTR function, need to test with prefix = "" 2014-03-21 17:29:58 +01:00
Kenneth Skovhede f261bc8034 Added support for listing files-n-folders within a backup.
Added improved browsing to the restore dialog
2014-03-21 15:01:49 +01:00
Kenneth Skovhede 63da23f7f9 Added list largest prefix to ListFiles command 2014-03-15 01:03:15 +01: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 b19eaacbd7 Implented ListControlFiles and added file count and file size to the normal list output 2013-05-30 21:54:43 +02:00
Kenneth Skovhede 3eebabef26 Added code to prevent overwriting files when restoring 2013-05-20 13:48:44 +02:00