Created
November 17, 2021 12:30
-
-
Save vitorjustin/0e3e5c1fb7258611b3819e26f8fb1f3b to your computer and use it in GitHub Desktop.
MySQL export and import commands
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
#!/bin/bash | |
# https://twitter.com/fideloper/status/1460646396172939266/photo/1 | |
# Export from one DB, import into another | |
mysqldump some_db_name | pv | mysql -h remote-host another_db_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment