Sublime directory Surf the web anonymous Pagerank Monitor


How Do I properly backup database for my Forum

udeze
Mon 13 November 2006, 08:05 am GMT +0100
Hello,

I have an SMF based forum that is gradually increasing in it's membership, however, I haven't performed any Mysql datase backup, or I don't know whether what I did is actually a backup. If I login to my Cpanel, I see MySQL Disk Space: 10.18 Megabytes but I tried to perform the backup using the backup Icon on my Cpanel ie (Download a MySQL Database Backup) and I got about 1.51 MB.

I thought the way of doing this is by going to PhpMyAdmin, if that is true, how do I do this, I will need step by step b/c I went to PhpMyAdmin and I couldn't figure out exactly what to do there.

Mind_nl
Mon 13 November 2006, 09:54 am GMT +0100
The size of your backup doesn't sound too much off. Database files generaly allow a very good compression and I bet your backup file is compressed as a .zip or .tar

Nikolas
Mon 13 November 2006, 10:45 am GMT +0100
The mysql disk space you see at the control panel indicates the size of the binary mysql files, which is much more than the actual data, as the binary files has also indexes and duplicate records for faster response of the database server.

So the file that you get on the backup is propably right. Just be sure that you get both schema and data when you backup and it will be fine.

udeze
Mon 13 November 2006, 10:43 pm GMT +0100
ok thanks, but I can't see any Schema or data when I click backups, all I can see is "Download a MySQL Database Backup" and it starts backing up

olaf
Mon 13 November 2006, 10:50 pm GMT +0100
ok thanks, but I can't see any Schema or data when I click backups, all I can see is "Download a MySQL Database Backup" and it starts backing up
why not using the cpanel backup? that look more safe for you...

Mind_nl
Tue 14 November 2006, 12:43 am GMT +0100
When you open the backup file (you will probably have to unzip it first) you should be able to see the database file description (create table statement) and after that there should be a lot of INSERT statements containing your data

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional