14, February 2012

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

 
Webdigity webmaster forums
[ 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
Instabuck - The easy way to sell digital products online

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


« on: Nov 13, 2006, 08: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, 09: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: 5779
46271 credits
Members referred : 3



« Reply #2 on: Nov 13, 2006, 10: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 or twitter

Last blog : Butterfly Marketing 2.0
Kill the googlebot
*
Posts: 6
48 credits
Members referred : 0


« Reply #3 on: Nov 13, 2006, 10: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: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Nov 13, 2006, 10: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 : A new Wordpress theme for our blog
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1807
9006 credits
Members referred : 6



« Reply #5 on: Nov 14, 2006, 12: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....

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?
Feb 14, 2012, 02:55:40 pm





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!






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