0 like 0 dislike
123 views
How to take mysql backup from A machine & Restore to B machine in centos?
asked Mar 4, 2015 in Education & Reference by Simmi (510 points) | 123 views
    

1 Answer

0 like 0 dislike

In CLI

A Machine:
mysqldump -u root -p database1 > database1.sql
scp -r database1.sql root@1.1.1.1:/

B Machine:
mysql -p database1 < database1.sql

answered Mar 4, 2015 by kirti

Related questions

0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer

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

Mathe Forum Schule und Studenten
1,164 questions
1,304 answers
275 comments
1,589 users