recovering blog after changing domain host

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
RuthRinehart
Posts: 2
Joined: Wed Mar 12, 2008 7:52 am
Location: Golden Colorado
Contact:

recovering blog after changing domain host

Post by RuthRinehart »

Greetings. I moved my domains to a new hoster. My previous host zipped up my blog. Now, I don't really know how to get it back going again. Any suggestions?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: recovering blog after changing domain host

Post by garvinhicking »

Hi!

Hopefully your old host also zipped up your database?

You now need to unzip the archive on your new host, import the database at the new host, then edit the serendipity_config_local.inc.php file to point to your new database.

Then login to your new s9y installation, go to the configuration and change the old paths to the new paths. In some cases you might need to check the database dump file for occurences of the old paths and replace them with the new paths.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RuthRinehart
Posts: 2
Joined: Wed Mar 12, 2008 7:52 am
Location: Golden Colorado
Contact:

cypressblog.sql

Post by RuthRinehart »

I have in my root directory a file called cypressblog.sql. I presume that's the database, right?

So, unfortunately, I feel out of my comfort range on this. My last hosters set up the blog for me. Now I'm at HostMonster, and running the whole show myself.

I know I can do it; I just wonder if it will take me 2 hours or 20 hours to get the thing up and running again. I'll call the HostMonster support line, and see if they can get me through it quickly.

Thanks so much.
Ruth
www.threetrusts.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: cypressblog.sql

Post by garvinhicking »

Hi!
RuthRinehart wrote:I have in my root directory a file called cypressblog.sql. I presume that's the database, right?
This sounds as if, yes. However without seeing the actual file, I can't tell for sure. ;)

It's hard to judge how easy you can do it: For someone that has never worked with MySQL or phpMyAdmin, it can very well be a thing of 20 hours. For someone like me, it's more a matter of 10-15 minutes. I hope your hoster might be helpful enough to do that for you.

If not, I can offer to have a look at it if you provide me with FTP and MySQL accounts to your new server. In that case, contact me via PM.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Unzipping the archive should be within your comfort level. Most people find their first problems transferring the files to their new host; CuteFTP (or another graphical FTP client) can cure most of that.

The biggest new knowledge is the database. Changing all the old paths to the new paths (after you figure out what they are) can be done by opening that cypressblog.sql file in a text editor and using its search-and-replace function.

Importing the database is almost always the hardest part. You need to create a database with the proper name on your new server, add the Serendipity user to it with the proper permissions, and then use a tool like myPhpAdmin to 'import' the cypressblog.sql file.

Your provider should be able to help you with all this stuff. If you have any questions, though, we'll be here.
Judebert
---
Website | Wishlist | PayPal
Post Reply