Solved

Moving a Drupal Site

Posted on 2013-05-16
8
368 Views
Last Modified: 2013-05-17
Hello,

Following the instructions I obtained on EE in Feb., I was ALMOST able to move a Drupal site from one host to another, seamlessly,

The only thing missing on the new sire is the images that I had uploaded from other sources to be included in blocks in my site.

On the old site, the image files were all in sites/default/files/.

I looked in the new site, they are there on the new site too in the same place.

Why don't they show up?

4 are on the main page:

Old site: rkassoc.org/amc
New Site: http://amcindustries.com.previewdns.com/
0
Comment
Question by:Richard Korts
  • 3
  • 3
  • 2
8 Comments
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 350 total points
ID: 39173394
Your image paths point to the old amc path (/amc/sites/default/files). You'll need to update your paths to remove that amc portion.
0
 

Author Comment

by:Richard Korts
ID: 39173401
Gottcha.

I was working on something else & I thought of that.

I'll be FLABBERGASTED if that's all; that would mean moving the site was as easy as you (& others) said it would be.
0
 
LVL 17

Assisted Solution

by:nanharbison
nanharbison earned 150 total points
ID: 39174250
You can use the Backup and migrate module:
http://drupal.org/project/backup_migrate

The module has to be installed on the old and the new site. Back up the old site and then use that DB backup in the module on the new site to migrate the files. Then all the images will be found.
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 17

Expert Comment

by:nanharbison
ID: 39174253
The new site looks great by the way!
0
 

Author Comment

by:Richard Korts
ID: 39174770
I did not know how to use the Backup / Migrate to upload to new.

So I unzipped the gz file (it was all sql) & imported the sql into my new database, It created all the tables, etc.

But as Arrow_1 pointed out, on the old host, there is an amc folder at the top level; no such folder at the new because when live I want it at the root.

I can fix the path to the images; there are (currently) only 3 effected blocks.

Thanks
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39175023
For future reference, to use the back up and migrate module, you go to Conguration-> Back Up and Migrate in the upper right side of the page, click on the restore tab and upload the database created from going to the same page and making a backup.
0
 

Author Comment

by:Richard Korts
ID: 39175073
Thanks, Nan.

I didn't notice that.
0
 
LVL 13

Expert Comment

by:Arrow_1
ID: 39175586
In this particular case, the backup and migrate module isn't the issue. It's just the manually created links that need to be manually updated.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Export Log Messages ? 1 445
Add links to content type Drupal 7 6 349
Drupal Custom View 1 131
How to get this page layout correct 13 28
This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now