MySQL Backup - seems a little quick?

Associate
Joined
2 Aug 2005
Posts
680
I've just run a backup of my MySQL database using a piece of software called Navicat and it seems to be very quick, is this normal? I have Joomla! and phpbb, and Joomla has about 250 news items, and the backup is taking about 10 seconds lol. Is this normal?

Thanks,
 
Are you sure you're backing up the data and not just the structure? In any case, it's just plain text, the only thing you have to wait for is the server to output the dump. Take a look at the back in a text editor, ctrl + f for a record you know should be there. Repeat 5 times then relax, safe in the knowledge that your backup is complete :).
 
I think it is, I'm just so surprised how quick it is. It says in the backup bit "note: this will only backup tables and their data. queries and reports are not included", am I safe enough with this?
 
theMAD2 said:
I think it is, I'm just so surprised how quick it is. It says in the backup bit "note: this will only backup tables and their data. queries and reports are not included", am I safe enough with this?

Yup, sounds good to me :).
 
theMAD2 said:
*Gulp* I might have to test this with another database first. How does everyone else backup their MySQL?
Daily out of hours backup of the data directory plus a daily dump using mysqldump.

mysqldump DBNAME -uUSERNAME -pPASSWORD > FILENAME

mysqldump doesn't backup in the conventional way but creates a text file with the 'create table' and 'insert into' lines necessary to restore the tables from scratch. Currently about 20seconds to produce a 12mb file.
 
Seems like a more managed backup solution, never used it myself. Personally mysqldump does what I need I don't think this thing would help me, hardly every have a problem with mysql anyway (touch wood).
 
Back
Top Bottom