<div class="gmail_quote"><br><br>Hi ,<br><br>Help is needed  to restore mysql data <br><br>This is the the setup.<br><br>2 Servers running on CentOS. <br><br>one server has both apache an mysql. <br><br>the other server only has mysql database. This server has about 12000 records in the database. Last week, It had  about 6000 records. then, Someone has  backed up these 6000 records to the web server. Now , We need to backup all 12000 records to the webserver. 
<br><br>How to archive this task? <br><br>If I restore these 12000 records to the web server, it already has 6000 records. Then, whall will happen? Shoud I override them? <br><br>Remember, this is a PRODUCTION SERVER.. I should do it properly. 
<br><br><br>I think I will have to do following steps. <br><br>first, I will have to dump the mysql server backup from database server. <br><br>This is the command I will have to enter from the database server.
<br><br><br><b>
mysqldump -u root -p databasename > 
database.txt</b><br><br><br>then, I will have to mount a flash drive and copy <b>database.txt</b> to the flash drive. <br><br>Then, I will have to go to the web server and mount it there. <br><br>Then, finnaly, I have to restore 
<b>database.txt</b> to web server as follows. 
<br><br><b>mysql -u root -p databasename < databas.txt</b><br><br><br>Am I RIGHT? <br><br>This data is extremely essential. I should be able to do it properly. <br><br>Any IDEAS? <br><br><br>-- <br>Thank you<br><font color="#888888">
Indunil Jayasooriya
<br>
</font></div><br><br clear="all"><br>-- <br>Thank you<br>Indunil Jayasooriya<br>