Last active
February 9, 2019 10:19
-
-
Save epynic/4edafa94c880f6dc29d7ada7dfa116a6 to your computer and use it in GitHub Desktop.
mysqldump - for Large DB and Repliaction
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 RDS instance endpoint \ | |
-u user \ | |
-p password \ | |
--port=3306 \ | |
--single-transaction \ | |
--routines \ | |
--triggers \ | |
--databases database database2 > path/rds-dump.sql | |
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Exporting.NonRDSRepl.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment