MyISAM Datenbank sichern und wiederherstellen
Datenbank sichern:
mysqlhotcopy -u BENUTZERNAME -p PASSWORT DATENBANK /VERZEICHNIS
Datenbank wiederherstellen:
/etc/init.d/mysql stop
cp -R /VERZEICHNIS /var/lib/mysql
/etc/init.d/mysql start
mysqlhotcopy funktioniert nur mit MyIsam Tabellen. Mehr Infos und weitere Optionen gibt´s auf http://dev.mysql.com/doc/refman/5.1/de/mysqlhotcopy.html