Jump to content

Recommended Posts

Posted

Hi I'm new to PW so please be nice :)

I've an existing site that I have backed up from previous host.  Trying to move it to new host presented some errors so I decided to start fresh.  I've a fresh install working OK but I'd like to import the old site to the new site.  What's the best process to do this?

Thanks for your help

R

Posted

Almost always the answer to that question is: Write an importer script, where you read the backup data and insert them to processwire via the api. There are various topics here in the forum about importing and importers with more detailed description. If you've still questions afterwards feel free to ask them.

Posted

If you are talking about moving content from one PW installation to another, you have several options, which are related:

1) Master Adrian's Migrator module.

2) Exporting and importing templates/fields with built-in functionality.

3) Creating a site profile.

4) DB backup + moving file data manually.

But you should really just fix your errors, not run from them :) .

  • Like 1
Posted

Just how many pages is your old website, 10 - 30 pages ? Copying text and images manually from one backend to the other

isn't that much of a work. What else is on your old website ?

Posted

rickblackdog,

I think you will find some folks willing to assist if you can give some more details about the site you importing. @pwired is on the right track — if it's just a small site, then manually moving things over might be pretty quick. If it's a larger site, then setting up a script to assist is probably the way to go. I've imported sites and other systems from a variety of sources (including WP) — it's easier than it might seem.

Posted

I got it working, just created a new db with old data (old site was earlier version of process wire) then dropped in the site files and it all works OK.  Thanks for the help.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...