[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Who can I backup and restore MYSQL database on my RaQ?



On Wed, 23 May 2001, Carlos F. Moreno wrote:

> Who can I backup and restore MYSQL database on my RaQ?
> 
> Anyone knows what are the steps to backup a mysql database and restore
> it?
> 
> Regards...
> 
> 
> Carlos F. Moreno
> cmoreno@xxxxxxxxxxxxx
> 

make a copy of the directory /var/lib/mysql (that's where mysql puts his
files on my box, but  I don't remember if it was a package installation
from cobalt or not. I think not. your directory location may vary)

and after you put the new box or whatever and install mysql, just remove
the /var/lib/mysql directory of the new installation, and place your
backup instead of it.

HTH,

- shimi.