Commit Graph
530 Commits
Author SHA1 Message Date
Kenneth Hsu 83ac03843d Fix spelling errors in comments.
In doing so, we also normalized some line endings.
2019-12-14 09:52:55 -08:00
Kenneth Hsu 60b4c8479c Fix bug where filesets considered for deletion had wrong version.
The ID in the Fileset table is the auto-incremented integer.  When
considering filesets for deletion (in particular, when deleting specific
versions), we need to reference the backup version number that is
exposed to the user (integers where the newest backup version is 0).
2019-12-12 18:38:17 -08:00
Kenneth Hsu 68ffd86594 Refactor fileset deletion code.
This extracts the logic for various fileset deletion strategies into
separate classes.  This simplifies the code and makes it easier to test
the individual functionalities.
2019-12-11 17:59:20 -08: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
Kenneth Hsu d60248e26a Unhide partial filesets from FilesetTimes property getter.
This concerns issue #3982.
2019-11-19 19:29:52 -08:00
Kenneth SkovhedeandGitHub 99d0cb3c57 Merge pull request #3953 from warwickmm/make_fields_readonly
Mark fields that don't need to be reassigned as readonly
2019-10-21 08:36:17 +02: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 afab61a05b Use pattern matching to simplify casts. 2019-10-19 10:15:38 -07:00
Kenneth SkovhedeandGitHub e0d5a7d43e Merge pull request #3929 from warwickmm/bugfix/purge_with_simple_filter
Fix purge operation with simple filters and case-sensitive filesystems
2019-10-19 14:27:18 +02:00
warwickmmandGitHub 25b714561e Merge pull request #3939 from drwtsn32x/roll-back-pr3846
Fix restore from backup set containing only a single file
2019-10-05 13:49:07 -07: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
Kenneth Hsu 2f29df5c7e Fix incorrect comment. 2019-09-29 09:52:35 -07:00
Kenneth Hsu 9333517950 Fix query used by purge operation for case-sensitive fileystems.
The table we are inserting into should contain the files that are to be
deleted, not the files that are to be kept.

This fixes issue #3927.
2019-09-29 09:52:35 -07:00
BlueBlock cd4b653771 fix sql and comment 2019-09-23 05:22:06 -04:00
BlueBlock 75335414d5 add comment 2019-09-21 10:31:07 -04:00
BlueBlock 8377a2bfb2 fix deleting old remotevolume records that use the old datetime method 2019-09-21 10:27:57 -04:00
Kenneth SkovhedeandGitHub 472c15346b Merge pull request #3906 from warwickmm/test/stop_after_current_file
Add tests for stopping after current file
2019-09-19 22:16:44 +02:00
Kenneth Hsu 8f2b38ac50 Remove unused GetFilesetID method.
The last reference was removed in revision cbc18970d5 ("Re-applied the
path-storage fix as the merge failed somehow").
2019-09-18 11:38:29 -07:00
Kenneth Hsu 5e9dd9a7b8 Expose BackupType to test classes. 2019-09-17 12:46:23 -07:00
Kenneth SkovhedeandGitHub 153a972853 Merge branch 'master' into fix-stop-after-current-file 2019-09-17 10:06:36 +02:00
BlueBlock 23e08811ca modify to pass the actual IsFullBackup state
changed here because the method was refactored
2019-09-10 12:55:29 -04:00
BlueBlock e60a9a9b1a add param to method so it can set the IsFullBackup state 2019-09-10 12:53:37 -04:00
BlueBlock e8f3bccef8 spelling fix 2019-09-09 18:28:25 -04:00
BlueBlock a230e3b228 Revert "spelling fix"
This reverts commit 8bb4bfaeb4.
2019-09-09 18:26:01 -04:00
BlueBlock 8bb4bfaeb4 spelling fix 2019-09-09 18:25:29 -04:00
BlueBlock 7f73616614 add purging of deleted remote volumes 2019-09-07 17:16:34 -04:00
BlueBlock 488aed3823 fix merge 2019-09-07 15:02:10 -04:00
BlueBlock c8bb889f6d Merge remote-tracking branch 'upstream/master' into fix-stop-after-current-file 2019-09-07 11:27:20 -04:00
Max 62d64c3ab0 upstream 2019-09-05 15:34:09 +02:00
Kenneth Hsu 0a390bd31a Move NormalizeDateTimeToEpochSeconds method to Utility class. 2019-09-01 12:38:23 -07:00
Kenneth Hsu 40cae529e6 Move NormalizeDateTime method to Utility class. 2019-09-01 12:38:23 -07:00
BlueBlock dfa05e68be use refereence value 2019-09-01 13:18:17 -04:00
BlueBlock f6075a26d7 carry isFullBackup value over to new replacement filesets created by purge 2019-09-01 13:13:45 -04:00
BlueBlock c8df8c5354 move method to base 2019-09-01 13:12:03 -04:00
BlueBlock 5e2d4f789c correct field id's 2019-08-31 18:44:07 -04:00
BlueBlock d82d146322 fix case of parameter 2019-08-30 11:16:12 -04:00
BlueBlock ace4b39655 remove unused method 2019-08-30 11:15:26 -04:00
BlueBlock cc0b0472dc codacy is very particular with sql
codacy uses sqlint so formatting looks to be inportant or an error is found.
Format the SQL using sqlint or a tool that uses sqlint such as https://www.onlinegdb.com/online_sqlite_editor and run Beautify.
2019-08-28 15:00:02 -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 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 e0915febe4 Merge remote-tracking branch 'upstream/master' into bugfix-GetLargestPrefix 2019-08-16 23:57:05 -04:00