0 like 0 dislike
154 views
in Education & Reference by (630 points)
How to take mysql backup from A machine & Restore to B machine in centos?

1 Answer

0 like 0 dislike
by

In CLI

A Machine:
mysqldump -u root -p database1 > database1.sql
scp -r database1.sql [email protected]:/

B Machine:
mysql -p database1 < database1.sql

Related questions

0 like 0 dislike
1 answer 81 views
1 like 0 dislike
1 answer 186 views
0 like 0 dislike
1 answer 91 views
0 like 0 dislike
1 answer 105 views
1 like 0 dislike
1 answer 2.1k views
1 like 0 dislike
1 answer 608 views
0 like 0 dislike
1 answer 75 views
0 like 0 dislike
1 answer 81 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

...