Log in

View Full Version : Error backup


caocao1
04-12-2008, 04:28 PM
Database error in vBulletin 3.6.9:

Invalid SQL:
SHOW CREATE TABLE postparsed;

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Saturday, April 12th 2008 @ 01:25:48 PM
Script : http://xxxxx/forum/admincp/backup.php?do=sqlfile
Referrer : http://xxxxxx/forum/admincp/backup.php?do=choose
IP Address : xx.xxxx.xxx.1xx
Username : abcd
Classname : vB_Database

A new error:
Database error in vBulletin 3.6.9:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate)
VALUES
('944c03b583b42dab7cff69fc41aa6020', 1, '58.187.203.124', 'b108bb1393dc758aed90972e0b0b2578', 1208021422, '/forum/admincp/repair.php?do=dorepair&do=dorepair', 0, 0, 1, 0, 0, 0, 0, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13', 0, 0);

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Saturday, April 12th 2008 @
Script : http://xxxxxx/forum/admincp/repair.php?do=dorepair
Referrer : http://xxxxxx/forum/admincp/repair.php?do=list
IP Address : xxx.xxx.xxxx.xxxx
Username : abcd
Classname : vB_Database


What is it ?
Pls help me''\

Lynne
04-12-2008, 04:38 PM
This is a server issue. See this: http://www.vbulletin.com/docs/html/troubleshoot_mysql_goneaway

caocao1
04-12-2008, 04:53 PM
thanks :D

Marco van Herwaarden
04-13-2008, 09:59 AM
The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file. Please see the instructions here:

Backup:
http://www.vbulletin.com/docs/html/maintenance_ssh_backup

Restore:
http://www.vbulletin.com/docs/html/maintenance_ssh_restore

P.S. If you don't have shell access, some people have also reported success with these scripts:

MySQLDumper:
http://www.mysqldumper.de/en/index.php

MySQLHotxcopy:
http://www.vbulletin.com/forum/showthread.php?t=134821&highlight=mysqlhotcopy

Bigdump:
http://www.ozerov.de/bigdump.php