Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
7,917 Members
165,164 Posts
35 Users Online

Please welcome our newest member, clairlim!

Affiliates
Go Back AdminFusion » Getting Started » Domains and Hosting » Need help in moving large database to new server
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 01-15-2008, 03:42 PM   #1

jayunsplanet's Avatar

Title: Rookie

Points: 1,623, Level: 11Points: 1,623, Level: 11Points: 1,623, Level: 11
Level up: 12%, 227 Points neededLevel up: 12%, 227 Points neededLevel up: 12%, 227 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2006

Posts: 26

Location: MD

jayunsplanet is an unknown quantity at this point
 
 
Need help in moving large database to new server

A little background:
I run a forum for automobile enthusistast in Maryland.
MDStreetScene.com | Welcome!
MDStreetScene.com Forums - Powered by vBulletin
~2,000 users. 400 active. Maximum of 25 users online at any given time.
Shared Premium Hosting account w/ PHP/Perl w/ GoDaddy (yea yea, there's your problem, blah blah, I know)

Starting December 27, 2007, the forums, at various times, have been extremely slow. On that day the server load average hit 34.79 24.60 20.74 with 8 Users Online. I realize that those averages show the entire server, not just my site. Since that day, the load averages have hit 12.xx at various times. It will take 10-12 seconds (or sometimes longer) for the AdminCP to load or to do a "New Posts" search. About the same time to read a thread. Then again, sometimes the forum will be perfectly fine. However, even when the forums slow to a crawl, the averages may only be 2.x I have contacted GoDaddy and they say "everything" is as normal. I contacted them the other night, and they asked me to do a Trace Route to my site and send the results to them. I did it just to appease them. Well, the traceroute is going to mdstreetscene.com (the html site). The database is on http://mysql47.secureserver.net/ So I don't quite know how that is going to help them diagnose the problem. They probably just want to say that it's on my end with too many hops or something.

Anyway, I want to stop using GoDaddy for the database/forum part. They are alright for file hosting (I have 200GB of storage w/ 2TB of bandwidth. And my download speeds are ~750kb/s)

I have acquired a Virtual Server with Windows Administrator access. (I can install whatever program I want/need) I am running Apache w/ MySQL, PHP, etc. I want to upload/put my 400mb database on this server. I don't quite know how to do it. What file type should I be uploading and where? Using what program? I assume I would have to copy the actual vBulletin forum files to the new server too? That's fine, it'll take awhile, but it's doable.

Is there a way I can use a brand new vBulletin forum installation (which I currently have on this virtual server), and just add my database info such as users, posts, threads, and PM's? This way I kind of have a fresh start and I can build it up.

I know this may be a lot to ask, but thanks for any help you can give.
__________________
-Jason
www.mdstreetscene.com
Maryland Automobile Enthusiast Community
www.jayunsplanet.com
My personal site just for fun
Reply With Quote
Old 01-15-2008, 04:11 PM   #2

mh0825's Avatar

Title: Super Moderator

Points: 7,234, Level: 25Points: 7,234, Level: 25Points: 7,234, Level: 25
Level up: 26%, 316 Points neededLevel up: 26%, 316 Points neededLevel up: 26%, 316 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2007

Posts: 1,280

Location: Gainesville, FL

mh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud of

Recent Blog: WEC 37 Results
Send a message via AIM to mh0825  
 
Sure, just back up the DB and import it via SSH onto the new server.
Reply With Quote
Old 01-16-2008, 12:38 AM   #3

Title: Member

Points: 2,446, Level: 13Points: 2,446, Level: 13Points: 2,446, Level: 13
Level up: 14%, 4 Points neededLevel up: 14%, 4 Points neededLevel up: 14%, 4 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jan 2006

Posts: 144

Location: Southern California

lpxxfaintxx has a spectacular aura aboutlpxxfaintxx has a spectacular aura about
Send a message via AIM to lpxxfaintxx Send a message via MSN to lpxxfaintxx  
 
Yup, SSH is the way to go!

To download the database onto your new server, you can use wget.

wget http://yourdomain.com/mysqldatabase.sql (make sure to delete once done!)

Then in your control panel, create a database and a username. Then just use the following:

mysql -u username -p databasename < databasefile.sql

It will ask for your password.
Reply With Quote
Old 01-16-2008, 08:10 AM   #4

Title: Member

Points: 806, Level: 7Points: 806, Level: 7Points: 806, Level: 7
Level up: 8%, 144 Points neededLevel up: 8%, 144 Points neededLevel up: 8%, 144 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Dec 2007

Posts: 136

Location: Ringgold, GA

AirborneKim has a spectacular aura aboutAirborneKim has a spectacular aura about
Send a message via AIM to AirborneKim Send a message via MSN to AirborneKim  
 
Using SSH will be the quickest method of transferring the database from one server to another and then restoring it. You can also use SCP to transfer all of your files (html, php etc) over SSH from one place to another. SCP is helpful when your ISP's provided upload limit is capped and you don't want to download and re-upload via FTP.

Using SCP allows you to transfer using your upstream's (server providers) bandwidth connection, which is a plus.

If you have any questions or need help moving the database, feel free to PM me.
__________________
- AirborneFive - Simplified Web Hosting
- First Month is 100% Free - 60 Day Money Back Guarantee
- 99.99% Network & Server Uptime Guarantee
Reply With Quote
Old 01-20-2008, 10:15 PM   #5

hitboy's Avatar

Title: Rookie

Points: 304, Level: 3Points: 304, Level: 3Points: 304, Level: 3
Level up: 4%, 46 Points neededLevel up: 4%, 46 Points neededLevel up: 4%, 46 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Nov 2007

Posts: 17

hitboy is on a distinguished road
 
 
If you are unfamiliar with ssh I recommend having your host or someone you know do it for you
Reply With Quote
Old 01-20-2008, 10:48 PM   #6

Title: Member

Points: 806, Level: 7Points: 806, Level: 7Points: 806, Level: 7
Level up: 8%, 144 Points neededLevel up: 8%, 144 Points neededLevel up: 8%, 144 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Dec 2007

Posts: 136

Location: Ringgold, GA

AirborneKim has a spectacular aura aboutAirborneKim has a spectacular aura about
Send a message via AIM to AirborneKim Send a message via MSN to AirborneKim  
 
I sent over a detailed guide, I'm hoping that helps. If you have any questions, let me know and I'll be more than happy to help.
__________________
- AirborneFive - Simplified Web Hosting
- First Month is 100% Free - 60 Day Money Back Guarantee
- 99.99% Network & Server Uptime Guarantee
Reply With Quote
Old 01-21-2008, 12:07 AM   #7

mh0825's Avatar

Title: Super Moderator

Points: 7,234, Level: 25Points: 7,234, Level: 25Points: 7,234, Level: 25
Level up: 26%, 316 Points neededLevel up: 26%, 316 Points neededLevel up: 26%, 316 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Feb 2007

Posts: 1,280

Location: Gainesville, FL

mh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud ofmh0825 has much to be proud of

Recent Blog: WEC 37 Results
Send a message via AIM to mh0825  
 
Code:
mysql -u user_name -p db_name < backup.sql
Where user_name is the MySQL username, db_name is the MySQL database name and backup.sql is the location of your backup file.
Reply With Quote
Reply



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

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
50+ Databases With Resell Rights Cheap SKULL Buy and Sell 0 01-12-2008 10:23 PM
Lots of Free Databases! SKULL Buy and Sell 0 09-24-2007 04:37 PM
54 Databases With Resell Rights For 25 Posts SKULL Buy and Sell 19 06-16-2007 04:46 PM

AdminFusion

All times are GMT +1. The time now is 01:02 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved


From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72