mirror of
https://github.com/gryf/openstack.git
synced 2025-12-17 11:30:24 +01:00
Open-source the OpenStack DB migration scripts and workshop
This commit is contained in:
7
migration-scripts/migration-workshop/take_db_dump.sh
Executable file
7
migration-scripts/migration-workshop/take_db_dump.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Copyright 2018, Oath Inc.
|
||||
# Licensed under the terms of the MIT license. See LICENSE file for terms.
|
||||
|
||||
MY_IP=192.168.33.10
|
||||
mysqldump -u root --password=kolla -h $MY_IP --all-databases --result-file=ocata_db_dump.sql
|
||||
docker stop $(docker ps -q)
|
||||
Reference in New Issue
Block a user