Sync Events glm-member-db-events

From GLMWiki
Jump to: navigation, search

How to sync the glm-member-db-events plugin data and files.

  • Export database for just the events tables
wp db export --tables=$(wp db tables --all-tables 'glm_glm_membersEvents*' --format=csv) ~/events-data.sql
  • Transfer the sql file over to the correct server.

Use your home directory to store files. Don't use the web directory.

  • Import/Update new site with data
wp db query < ~/events-data.sql
  • Get all new files and images.
Admin > GlmAssociate > Management > Events > Events Image Importer
  • Fill in the remote url (include ending slash)
example --- https://www.turkeyville.com/