Releases: AresJef/MysqlBackupManager
Releases · AresJef/MysqlBackupManager
1.0.4
1.0.3
Harden backup helpers and temp staging
- Add configurable temp staging for backup artifacts, publish completed files safely, and expose helper functions from the package root.
- Improve restore helper database-selection behavior and update README/tests for the production helper API.
1.0.2
Refactor process management and enhance error handling in backup manager
- Updated
_stop_processto first attempt graceful termination of subprocesses before forcefully killing them if they do not exit within a timeout. - Enhanced exception handling in command execution functions to capture both
asyncio.CancelledErrorandKeyboardInterrupt, ensuring proper cleanup on cancellation. - Added logging for interrupted restore operations to provide better visibility into process interruptions.
- Improved scheduler service to log when scheduled backup runs are cancelled, enhancing traceability of scheduled tasks.
- Introduced tests for backup cancellation scenarios to ensure temporary files are cleaned up correctly.
- Added parameterized tests to reject password arguments in configuration options, ensuring security best practices.
- Implemented additional tests for handling stale temporary files and ensuring proper cleanup during backup operations.
- Created a new test helper module to facilitate testing of backup and restore functionalities with mock objects.
1.0.1
Reject misleading empty MySQL backups
- Add database visibility, object visibility, and post-dump content validation so successful native commands cannot leave header-only backup artifacts.
- Document validation behavior and cover the new safeguards with unit tests.
1.0.0
Prepare MySQL backup manager for production use
- Harden backup and restore configuration, subprocess streaming, retention cleanup, checksum handling, and scheduler behavior.
- Add helper workflows for replica bootstrap backup/restore, expand README guidance, and broaden unit test coverage.