Last active
May 1, 2020 20:16
-
-
Save amslezak/94c404d0641de33e207c3eb3e89fb668 to your computer and use it in GitHub Desktop.
dumps just structure. useful for rds dumps
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
/usr/local/mysql/bin/mysqldump --host=${hostname} --port=${port} --user=${dbuser} --password=${dbpass} --lock-tables=false --no-data --routines=true --verbose --set-gtid-purged=OFF --skip-tz-utc ${dbname} > ../dumps/AWS_${dbname}_${dt}.dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment