Skip to content

Releases: AresJef/MysqlBackupManager

1.0.4

15 May 02:28

Choose a tag to compare

Make retention limits opt-in

  • Default keep_last and keep_days to None so omitted retention limits are disabled across helpers and RetentionConfig.
  • Document the stricter retention semantics and add tests for keep_days-only scheduled cleanup behavior.

1.0.3

08 May 09:42

Choose a tag to compare

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

07 May 13:38

Choose a tag to compare

Refactor process management and enhance error handling in backup manager

  • Updated _stop_process to 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.CancelledError and KeyboardInterrupt, 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

07 May 09:28

Choose a tag to compare

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

07 May 08:06

Choose a tag to compare

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.