PDA

View Full Version : mysql dump question


0ptima
Thu 3rd Mar '05, 11:23pm
Is it OK to do do a mysql dump when the forum is open with 50 people on?

Steve Machol
Fri 4th Mar '05, 1:15am
I wouldn't recommend this. It could cause db problems if you restore that backup.

eva2000
Fri 4th Mar '05, 12:33pm
it's fairly okay provided your use mysqldump --opt command but for 100% in sync database you could temporarily close forum for the dump.. small forums won't take more than 1-15mins to dump their database to sql file

0ptima
Sat 5th Mar '05, 10:39pm
I use mysqldump --opt -Q

Byron
Sat 26th Mar '05, 1:48pm
I thought it should be lowercase -q and not -Q?

http://www.vbulletin.com/forum/showpost.php?p=831873&postcount=10

mysqldump --opt -q -uADMIN -pPASSWORD DATABASENAME | gzip > /Server/Path/BackupFileName.sgl.gz

Icheb
Sat 26th Mar '05, 5:46pm
Actually it's no problem at all to run mysqldump because it automatically locks the entire database before performing the backup.