MySQL Forums
Forum List  »  Newbie

Re: Need a SIMPLE and COMPLETE Backup Tool
Posted by: Barry Galbraith
Date: April 18, 2013 03:58PM

I use a gui tool called SQLYog from here http://code.google.com/p/sqlyog/downloads/list to do one off backups, and it can be used to restore as well.

But for a scheduled backup I use a batch file similar to what PB has described, run as a Scheduled Task in Windows. My batch generates the file name with the backup date embedded so you can keep multiple backups

> do not show how to restore a database.

c:\>mysql -uroot -p < backup_file.sql

The mysql commandline client can work in batch mode to load a file, as well as interactive mode.

Good luck,
Barry.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.