Add backup rotation settings with configurable retention#38
Merged
Conversation
- Add backup enable/disable toggle and rotation settings (retention days, max backup count) to XMLManager - CleanupOldBackups now reads settings from XML and enforces both age-based retention and count-based rotation - CreateBackup checks if backups are enabled before creating a backup file - Add new Backup tab in OptionsForm with checkboxes and numeric controls - Implement enable/disable cascading: backup disabled → rotation controls disabled; rotation disabled → retention/count controls disabled - Add GetBackupSettings/SaveBackupSettings methods to XMLManager - Add French translations for all backup tab labels, checkboxes, and tooltips https://claude.ai/code/session_013WsUNfpT7fUYnJkk67eFSn
- Replace all hardcoded English strings in MessageBox.Show calls with TranslationManager lookups (init error, load error, save success/error, test email success/error, validation errors) - Use translated test email subject/body from existing fr.xml keys - Translate BrowseLogFolder dialog description - Fix SqlTab tooltip keys to match existing fr.xml keys (SqlTab.Tooltip.* → Options.Tooltip.*) - Add missing French translations: Options.LoadError, Options.BrowseLogFolder https://claude.ai/code/session_013WsUNfpT7fUYnJkk67eFSn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CleanupOldBackupsnow reads settings from XML and enforces both age-based retention and count-based file count rotation (deletes oldest files when exceeding max count)CreateBackupchecks the backup enabled setting before creating backup filesGetBackupSettings/SaveBackupSettingsmethods toXMLManager