Solved

Moving a Drupal Site

Posted on 2013-05-16
8
366 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
 
LVL 17

Expert Comment

by:nanharbison
ID: 39174253
The new site looks great by the way!
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Export Log Messages ? 1 434
is there a php content managment system for providing referals 2 466
Drupal Security Issue 2 158
Drupal 7 Feeds 1 102
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 …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

19 Experts available now in Live!

Get 1:1 Help Now