Hello everyone,

We are working on a website that currently resides on a server that is not our main server. We were wondering how we could migrate the entire website from the existing server to our main server. We already use Drupal and just want to migrate the content, themes, etc. onto our new server.

What is the easiest way to move the content?

Thank you so much for your time,
fanofcricket

Comments

netbabu’s picture

Has the domain name changed? Nevertheless, I hope you have NOT done any hard-coding of paths/links in your installation. If no hard-coding is done, you can safely do the following(we do that often without any issues):

1) copy all files and folders to the new server
2) export the db (via phpmyadmin) and import into the new server
3) Verify Modify settings.php in drupal so that the database username,password and hosting reflect the values in the new server.

-Babu
Promote Drupal with Tshirts/merchandise: http://paramprojects.com/drupalstore
Drupal Projects showcase: http://paramprojects.com/website/drupal-servicesprojects

aweaver’s picture

I have a similar issue and I'm hoping someone can provide me with a little more dtailed direction on what I need to do (the obvious answer being pay someone that can do this for you; something I am considering, based on the feedback I receive here).

I have a Drupal site, which was developed for me, at www.fooshenergy.ca. My company had an additional site developed at a later dat,e, which we decided to host with Bluehost. My fooshenergy.ca hosting subscription has come up for renewal and I approached the person that designed/developed it for me and suggested that it made more sense for us to use Bluehost's service, since we're already paying for it.

He sent me an email with the following attachments.

foosh_energy.sql (10 MB)
foosh_files.tar.gz (12 MB)
ATT00140.htm (238 B)
ATT00143.htm (8 KB)

Apparently I need to create and populate a database, and update a configuration in the Drupal config files to reflect that.

I'm looking for some guidance on what I need to do. I have a connection to my Bluehost server using Dreamweaver software, so ideally I will do this through it. I can also sign into my Bluehost control panel and access the file directory from there.

Any hints/tips/suggestions/guidance would be greatly appreciated.

Thanks,

Andrew

WorldFallz’s picture

themobilehomeless’s picture

I've had lots of problems moving my Drupal installs to Bluehost from other hosting companies. That said, it looks like you have the right files to put on your server as well as the database export. From your cPanel, you can create a new SQL database, and then literally just import from the "foosh_energy.sql file into it. Then unzip "foosh_files.tar.gz" and upload those to your root directory. Then just change the config files with the new DB location, username, and password and you should be all set to go. Hope that helps!

kingpanel’s picture

If we made some changes in hard-coding of paths/links,how we do?

anna123-dupe’s picture

1) copy all files and folders to the new server
2) export the db (via phpmyadmin) and import into the new server
3) Verify Modify settings.php in drupal so that the database username,password and hosting reflect the values in the new server.

willie.swann@stonebranch.com’s picture

I have a similar issue. I have copied the apache and drupal site files from the old server to the new. In addition to the importing the old database to the new server with the same name and user information. But I am only able to retrieve the "Hello World" page when trying to access the site.

Any ideas?

kevprout’s picture

We tried the same thing, once we transfer the database to the new server our template changed whenever we log to drupal. Does anyone has any idea why? Please help

sam moore’s picture

Not sure what you mean by your 'template changed" - do you mean your theme can't find its custom templates?
If so you'll need to rebuild the registry (a good idea after relocating your database in any case).
If you're using drush, do drush rr

Sometimes it's also helpful to visit your theme's settings page, and re-save the settings.