diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-02-24 21:13:16 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-02-24 21:13:16 +0000 |
commit | ac9087794f6d57fa1e14f16f14b104983abf93fb (patch) | |
tree | 101d2ca02de23659e34cb03fefdead218820c52a /extraconfig | |
parent | ecfb2981124cd55f0cb6738fc8644c4b282dc0d5 (diff) | |
parent | 864cb733a3b11f62a79d724f979d672c234d8986 (diff) |
Merge "Adding definition of backup_flags"
Diffstat (limited to 'extraconfig')
-rwxr-xr-x | extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh b/extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh index 6bfe1239..8b900842 100755 --- a/extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh +++ b/extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh @@ -50,6 +50,7 @@ mysql_need_update if [[ -n $(is_bootstrap_node) ]]; then if [ $DO_MYSQL_UPGRADE -eq 1 ]; then + backup_flags="--defaults-extra-file=/root/.my.cnf -u root --flush-privileges --all-databases --single-transaction" mysqldump $backup_flags > "$MYSQL_BACKUP_DIR/openstack_database.sql" cp -rdp /etc/my.cnf* "$MYSQL_BACKUP_DIR" fi |