Skip to content

Instantly share code, notes, and snippets.

@epynic
Last active February 9, 2019 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epynic/4edafa94c880f6dc29d7ada7dfa116a6 to your computer and use it in GitHub Desktop.
Save epynic/4edafa94c880f6dc29d7ada7dfa116a6 to your computer and use it in GitHub Desktop.
mysqldump - for Large DB and Repliaction
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