Thomas Förster wrote:
>
> Hi,
> > How to backup mysql..please help me..
>
> 1.) Stop mysql ( on RedHat : /etc/rc.d/init.d/mysql stop)
> 2.) cd to the DB-Dir, e.h. cd /usr/local/var
> 3.) tar czf /root/mysql-backup-DDMMYY.tar.gz *
> 4.) start mysql again /etc/rc.d/init.d/mysql start
>
> The Script can also be mysql.server or mysqld
>
> Greets,
> Thomas
You should be better doing a dump of the database. There is some doc on
how do this in the mysql site.
http://www.mysql.com/documentation/mysql/bychapter/manual_Common_problems.html#Backup
Hope it helps,
--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED]
GCSNet http://www.gcsnet.com.br/
--------------------------------------------------------------------
Se você não encontra
o sentido das coisas
é porque este não
se encontra, se cria.
Antoine Saint-Exupéry