freezer.mode.mysql module

freezer.mode.mysql module

class freezer.mode.mysql.MysqlMode(conf)

Bases: freezer.mode.mode.Mode

Execute a MySQL DB backup. currently only backup with lvm snapshots are supported. This mean, just before the lvm snap vol is created, the db tables will be flushed and locked for read, then the lvm create command will be executed and after that, the table will be unlocked and the backup will be executed. It is important to have the available in backup_args.mysql_conf the file where the database host, name, user, password and port are set.

name
prepare()
release()
version
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.