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.

property name
prepare()
release()
property version