What is the best practice for backing up MySQL InnoDB tables? (for myisam I use backuppc)
How can I do a backup and how can I restore it?
Thank you.
What is the best practice for backing up MySQL InnoDB tables? (for myisam I use backuppc)
How can I do a backup and how can I restore it?
Thank you.
mysql> mysqldump -u username -ppassword databasename tablename > Path to save
you can schedule in in windows scheduler or in cron job after creating the batch file or SH file.
You can use 'mysqldump' program from MySQL to dump individual tables..
shell> mysqldump [options] [tbl_name ...]
To restore the tables use command:
shell>mysql -uusername -ppassword -f -D databasename < /path/to/file/dbbackup.sql