Created
February 12, 2021 14:09
-
-
Save henno/7f9e6e7035a6d92f15f5b8feb7fb4f7d to your computer and use it in GitHub Desktop.
getLiveMySqlDbToDev.sh
This file contains hidden or 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
| ssh -C [email protected] "mysqldump -u myLiveUser -pMyLivePass myLiveDb --no-tablespaces" | mysql -u myLocalUser -pMyLocalPass myLocalDb | |
| # -C use compression |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment