Skip to content

Latest commit

 

History

History

MySQL

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

MySQL

Pre- and post-snapshot execution hooks for MySQL with NetApp Trident protect. Tested with MySQL 8.4 and NetApp Trident protect 26.02. The MySQL version must support the global read_only and super_read_only variables. The mysql.sh hook requires the bash shell to be installed in the container. The mysql_POSIX.sh version works with POSIX sh.

args: {quiesce|unfreeze} [host] [port]

quiesce: Flush all tables with read lock

unfreeze: Take database out of read-only mode

Action/Operation Supported Stages Notes
Snapshot pre Flush all tables with read lock
post Take database out of read-only mode
Backup ---
---
Restore ---

Notes:

  • Requires privileges to run SET GLOBAL ... (admin user).
  • This is instance-wide and covers all schemas in the MySQL server.