21, July 2008

How Do I properly backup database for my Forum - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  Databases  >  MySQL
Topic: How Do I properly backup database for my Forum
« previous next »
Pages: [1] Print

Author Topic: How Do I properly backup database for my Forum  (Read 1030 times)
Kill the googlebot
*
Posts: 6
48 credits
Members referred : 0


« on: Nov 13, 2006, 09:05:41 AM »

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.
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1807
9006 credits
Members referred : 6



« Reply #1 on: Nov 13, 2006, 10:54:13 AM »

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


Last blog : Are You Stumbling Yet?
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7970
40777 credits
Members referred : 3



« Reply #2 on: Nov 13, 2006, 11:45:43 AM »

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.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Kill the googlebot
*
Posts: 6
48 credits
Members referred : 0


« Reply #3 on: Nov 13, 2006, 11:43:51 PM »

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
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6279
38500 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Nov 13, 2006, 11:50:45 PM »

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...


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1807
9006 credits
Members referred : 6



« Reply #5 on: Nov 14, 2006, 01:43:29 AM »

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


Last blog : Are You Stumbling Yet?
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=4776
Tags : forums simple machines forum mysql php my admin databases Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  Databases  >  MySQL
Topic: How Do I properly backup database for my Forum
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 21, 2008, 01:12:37 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.669
Total Topics: 7.373
Total Members: 3.694
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: jinous@webdco.com

27 Guests, 4 Users online :

6 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.