Difference between revisions of "User:Woozle/MySQL migration"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
==Notes== | ==Notes== | ||
* [https://www.maketecheasier.com/ssh-pipes-linux/ How to Use SSH Pipes on Linux] | * [https://www.maketecheasier.com/ssh-pipes-linux/ How to Use SSH Pipes on Linux] | ||
+ | * Add a link from [[MySQL/porting/data]] at some point. |
Revision as of 19:05, 8 July 2017
Export one database schema from local machine to cloud4's attached storage: <bash>mysqldump -uroot -p ispda_en_mw | ssh cloud4 "cat > /mnt/cloud4-01/migrate/ispda_en_mw.sql"</bash>
Import one database schema from cloud1 to local folder: <bash>ssh cloud1.hypertwins.net "mysqldump -uroot -p woozalia_mw" > /mnt/cloud4-01/migrate/woozalia_mw.sql</bash>
Notes
- How to Use SSH Pipes on Linux
- Add a link from MySQL/porting/data at some point.