Created
January 3, 2019 12:50
-
-
Save BenSlabbert/94dd680722105fc6d804c236640c1b21 to your computer and use it in GitHub Desktop.
RDS Dump Download
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
Dumping from RDS: | |
Below the command to get the dump from the RDS instance to EC2 | |
mysqldump -C -K -h {{rds instance}} -P {{rds port}} -u {{user}} -p {{schema}} | zip > dump.zip | |
SFTP this zip archive to my local machine (I used FileZilla) | |
Then push this dump to local: | |
unzip -p dump.zip | mysql -h 127.0.0.1 -P 3307 -u {{user}} -p {{schema}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment