Last active
May 9, 2016 08:41
-
-
Save djravine/4f501ad0496205dd9b9207a59b1cf33e to your computer and use it in GitHub Desktop.
OpenShift V2 - MySQL - Dump All Databases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqldump -h $OPENSHIFT_MYSQL_DB_HOST -P ${OPENSHIFT_MYSQL_DB_PORT:-3306} -u ${OPENSHIFT_MYSQL_DB_USERNAME:-'admin'} --password="$OPENSHIFT_MYSQL_DB_PASSWORD" --all-databases > ~/app-root/data/tmp/all.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment