LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to get data off in rescue mode (http://www.linuxquestions.org/questions/linux-software-2/how-to-get-data-off-in-rescue-mode-85173/)

bmicielli 08-24-2003 11:44 AM

how to get data off in rescue mode
 
looking to rescue some data before blowing away my server. can tar files in rescue mode but how do i get them off the server. I also have MYSQL database is there a way to extract that data in rescue mode.

help

Mathieu 08-24-2003 12:24 PM

Are you able to activate your network service ?
You can transfer them off the server using the network.

If you want to dump all the databases to a text file, use the mysqldump command.
There are many options, so take a look at the MAN page.
Code:

mysqldump --all-databases > databases.sql

bmicielli 08-24-2003 12:43 PM

OK got ftp going...question how can you dump the dtabases if they are not up and running. Im in rescue mode.

Mathieu 08-24-2003 12:55 PM

If I remember correctly, you do not need to have the mySQL server running.
Try using mysqldump command.
If it does not work, you can always start the mySQLd service.

bmicielli 08-24-2003 01:00 PM

when i try mysqldump i get .....cant connect to local MYSQL server

when i try mysqld i get .....fatal error cant find message file


All times are GMT -5. The time now is 11:59 PM.