Commit Graph
428 Commits
Author SHA1 Message Date
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 1cf8864193 add logic to Filesettimes for isFullBackup 2019-08-18 14:41:05 -04:00
BlueBlock f3590cb7e6 fix db read for isfullbackup 2019-08-18 09:51:59 -04:00
BlueBlock 9ae3f88dd5 Merge remote-tracking branch 'upstream/master' into fix-stop-after-current-file 2019-08-16 23:46:55 -04:00
BlueBlock 9bdee90e5c hide partials that are bracketed by full backups 2019-08-16 21:59:46 -04:00
BlueBlock 54da323a1a fix codacy curly brace issue 2019-08-16 00:37:52 -04:00
BlueBlock 226cd337ff modify db update 10 to conform to structure of others db updates 2019-08-16 00:26:52 -04:00
BlueBlock 7984e474da fix unittest
IsFullBackup should not be added since it apple to Fileset and not FilesetEntry
2019-08-16 00:25:25 -04:00
Rune HenriksenandGitHub bd5662f309 Merge pull request #3842 from drwtsn32x/improve-bugreport-db-santization
Improve bugreport db sanitization
2019-08-13 00:46:24 +02: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
drwtsn32x b8d71b7ada Remove debug message 2019-07-31 07:11:00 -07:00
drwtsn32x 065ca97e7d Fix for issue 3308 - deletion of too many Filesets 2019-07-31 07:09:37 -07:00
drwtsn32x af66faf721 update 2019-07-30 21:07:17 -07:00
drwtsn32x 6af03f7eb7 Improve debug database sanitization 2019-07-30 21:03:58 -07:00
Kenneth Hsu 3e0f1d5e5e Fix issue where block was not recognized as being used.
This fixes an occurrence of the "Unexpected difference in fileset
version" error due to a deleted block having the same hash as one that
is currently in-use.

This fixes issue #3800.
2019-06-22 09:51:57 -07:00
Rune Henriksen 3c986a3fe5 Check the block size to avoid scavenging behavoir when Duplicati can't locate the 'empty' block which doesn't exist 2019-05-05 02:20:32 +02:00
Kenneth SkovhedeandGitHub 83bb725dc6 Merge pull request #3740 from warwickmm/remove_unused_local_variables
Remove unused local variables
2019-04-25 13:22:39 +02:00
Kenneth Hsu a7779225b9 Run PRAGMA optimize when closing SQLite connection.
It's recommended that PRAGMA optimize be run just before closing each
database connection "to achieve the best long-term query performance
without the need to do a detailed engineering analysis of the
application schema and SQL".  Some users have been running this manually
and experiencing significant improvements in performance:

https://sqlite.org/pragma.html#pragma_optimize
https://forum.duplicati.com/t/verifying-backend-data/348/65
https://forum.duplicati.com/t/verifying-backend-data-forever/5324/32

This addresses issue #3745.
2019-04-22 21:16:29 -07:00
Kenneth Hsu 457254d9e1 Remove unused local variables. 2019-04-17 20:10:53 -07:00
Rune Henriksen ae5b3b2e95 remove an invalid trailing parenthesis and change the drop clause to drop view since File was changed from a table to a view in 2.0.4.13 2019-04-09 21:12:25 +02:00
Kenneth Skovhede c01ab02712 Added support for "splitting" a root path.
This is a potential fix for #3637
2019-02-04 17:32:56 +01:00
Kenneth Skovhede 8b3dfcace8 Fixed the database upgrade script to copy over file IDs to avoid breaking databases on upgrade 2019-01-30 11:03:44 +01:00
Rune HenriksenandGitHub f5f353fe19 Merge branch 'master' into feature/fix_path_storage2 2019-01-25 23:37:57 +01:00
Kenneth Hsu b5d9451b33 Remove redundant casts. 2019-01-21 19:30:52 -08:00
Kenneth SkovhedeandGitHub b961fbd744 Merge pull request #3584 from Pectojin/remove_build_lookup_table_method
Remove unsed method and call
2019-01-13 10:31:24 +01:00
MaxandRune Henriksen 65e79a276b fix for unc paths in prefixes (#3599) 2019-01-12 01:12:51 +01:00
Rune Henriksen 639edc1e36 removed reference to deleted method 2019-01-11 20:16:59 +01:00
Rune Henriksen f696842877 remove unsed method and call 2019-01-05 00:30:43 +01:00
Kenneth Hsu fcf89764c3 Remove unnecessary calls to ToString. 2018-12-31 14:29:44 -08:00
Kenneth Hsu e65bf19221 Remove unused String.Format arguments.
We also make use of string interpolation to improve readability.
2018-12-31 14:24:14 -08:00
Kenneth SkovhedeandGitHub ac606d887f Merge pull request #3510 from LacunaSoftware/improve-backup-logs-ui
Improve UI for backup logs
2018-12-11 10:28:05 +01:00
Mikael MelloandGitHub 172b0284ab localDatabase: Remove trailing exclamation mark on exception text 2018-12-03 08:13:58 -02:00
Mikael Mello ff2f89f00b Merge branch 'master' of github.com:duplicati/duplicati into improve-backup-logs-ui
# Conflicts:
#	Duplicati/Library/Main/ResultClasses.cs
2018-11-27 10:50:12 -02:00
Mikael Mello 1c94decf6c Serialize backup results in JSON format 2018-11-14 08:47:01 -02:00
verhoek ab12be6bbd Renamed IsClientLinux to IsClientPosix . 2018-11-03 09:26:04 +01:00
verhoek 8bb406cd15 Migrated to use the platform class. 2018-11-02 22:17:16 +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 9fb38ebe9a Continuation of Util.DirectorySeparatorString replacements. 2018-11-02 17:48:17 +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 Skovhede 03722fcba1 Merge branch 'master' into feature/fix_path_storage2
# Conflicts:
#	Duplicati/Library/Main/Database/LocalRecreateDatabase.cs
2018-10-23 11:33:35 +02:00
Rune HenriksenandGitHub 0b3efc5dbb Merge pull request #3439 from warwickmm/constructor_virtual_members
Avoid referencing virtual members in Basiclist constructor
2018-10-18 17:02:29 +02: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 Skovhede 68d2f10475 Merge branch 'master' of github.com:duplicati/duplicati 2018-10-17 14:37:52 +02:00
Kenneth Skovhede 2826dbe6f0 Improved error message for faults in database filelists 2018-10-17 14:37:23 +02:00
Kenneth Hsu 9e0b031fee Remove unused members. 2018-10-15 21:20:30 -07:00
Kenneth Hsu beb552fa9e Remove unnecessary use of partial keyword.
These classes are defined in a single location.
2018-10-13 16:53:28 -07:00
Kenneth Hsu 07c1d85b4a Remove empty statements. 2018-10-10 21:22:31 -07:00