Database Migration
What's the fast way of copying a large database (size is around 150Gb) onto another server? Both old and new servers are cPanel ones and mariadb 10.5 version. I only need to move the db to another server.
-
Pretty much the only "safe" way to move it is: - CLI MysQL dump on the old server
- Transfer the dump from old to new
- CLI MysQL load
0 -
Hello, First take mysqldump mysqldump XYZ > XYZ.sql second scp the dump file from old server to new server third on new server create DB and user lastly mysql command on new server mysql -u abc -p abc_blog < XYZ.sql Regards, 0
Please sign in to leave a comment.
Comments
2 comments