Log in

View Full Version : Database Backups


Aadil
01-14-2009, 01:10 PM
Hey I do backups via VB and they come out like 40MB but the database is like 76MB big?

does this mean I have some sort of problem?

Thanks

PAKIDIL
01-14-2009, 01:14 PM
yeah its mean you are not getting it 100% are u trying to download it from myphpadmin ?

markbolyard
01-14-2009, 01:16 PM
Depending on the size of your database, backing up through the admincp in vBulletin is probably timing out.

You are best to either use phpmyadmin and the export function, or if you have SSH access follow these instructions: http://www.vbulletin.com/docs/html/main/maintenance_ssh_backup

Phaedrus
01-14-2009, 01:37 PM
Hey I do backups via VB and they come out like 40MB but the database is like 76MB big?

does this mean I have some sort of problem?

Thanks

It is possible that you are getting your backup compressed.

Does it end with tar.gz?

If so, it is simply compressed and you are likely backing up just fine.

Marco van Herwaarden
01-14-2009, 03:07 PM
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

Aadil
01-15-2009, 07:49 PM
sorry for late reply and thanks all for replying.

Its not a tar.gz its mysql file, I do have phpadmin and root ssh, but i would like the normal way to do it via VB to work..

Dismounted
01-16-2009, 07:35 AM
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.