Support

Home Forums Event Espresso Premium Importing events into new site

Importing events into new site

Posted: February 11, 2019 at 9:30 am


ty bonlando

February 11, 2019 at 9:30 am

Hello! I’ve just tried exporting the post type events from a live site, and importing them into my local machine. I didn’t want to export/import the entire DB as i’ll be creating a new site from scratch for my client, but still wanting to keep EE on it.

After importing the events, none of the date times or other values such as venues made it over.

If this is a known issue, is there a recommended way to export/import just the DB event tables?

Thanks!


Josh

  • Support Staff

February 11, 2019 at 9:45 am

Hi Ty,

The WordPress importer doesn’t actually export or import event data. If it’s a scenario where:
– The original site has Event Espresso data, and the new site doesn’t have Event Espresso data
– You want to preserve the new site’s posts & pages, because they’re different than the original site’s posts & pages

You could:
1. Run the WP export tool on the new site, then set that backup aside for now
2. Migrate the original site’s database to the new site (minimum of wp_posts table & all wp_esp_* tables)
3. Then delete all standard WP posts/pages on the new site
4. Then run the WordPress import tool to import the WP posts/pages (restoring the new site’s posts & pages)
5. If there are other custom things like theme options those would need to be re-imported too

This is best done on a staging server before moving the data to a live server.

The support post ‘Importing events into new site’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso