Micfo.com, LLC. - Official Forums  

Go Back   Micfo.com, LLC. - Official Forums > Webhosting Services > Clients Chat

Clients Chat Introduce yourself and talk with other Micfo valued clients about anything. Within this forum you may discuss anything but your web hosting account or related issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-18-2006, 07:22 AM
Micfo Newbie
 
Join Date: Jan 2005
Posts: 9
Mysql database - Backing up problems.

Well I setup another domain on my account to move a forum to. Seems when I try to restore the backed up Database, it looses all the post and membership data. Some reason the back up fails to retrieve this data during backup. I did the backup through the Backup panal in Cpanal. Tried it through phpmysql panel and receive SQL errors during backup. The database is now at 10 megs and I have done this before without problems but the database was only around 5 or six megs. Is there a limit on database size that will be backed up and why is the data being dropped during backup?

Now if there is a limit how would you move or backup large databases????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Blue Dot this Post!
Reply With Quote
  #2 (permalink)  
Old 08-27-2006, 10:32 AM
Micfo Advanced
 
Join Date: Mar 2005
Posts: 90
You should use SSH to backup. I believe you have to create a ticket and REQUST SSH access an/or Fax a copy of your drvers license etc. Call and ask if that is still true
Then get an SSH client such as the freee "Putty"

Then you login via putty as you would CPANEL then to backup use this command
Code:
mysqldump --opt -Q -u username1_username1 -p username1_mydatabase > /home/username/backups/07-29-06-mydatabase.sql
Replace "username" with your login name and make sure the path is correct for you - I have a "\backups" directory above public_html and I add the date in front of "mydatabase". Tweak it to your settings and preferences

To Restore:
Code:
mysql -u username1_username1 -p username1_mydatabase < /home/username1/backups//backupname.sql
A good idea is to immediately restore this backup to another database, close your site, change the database login stuf in config.php and go to your site, making sure it was a good backup (then switch and empty the test database to save space on you account)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Blue Dot this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -8. The time now is 10:41 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2002-2009 Micfo.com, LLC. - All Rights Reserved.