Monday, August 01, 2005

MySQL Import , Export Utility

Database Backups in Mysql

Database Backups

Because MySQL tables are stored as files, it is easy to do a backup.

mysqldump --user=root --password=xxxx --opt mysql > mysql.sql
mysqldump --user=root --password=xxxx --quick mysql > mysql.dump
mysqlhotcopy --user=root --password=xxxx --allowold --keepold mysql /home/zahn/backup

http://www.akadia.com/services/mysql_survival.html

No comments: