Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Download the .sql backup from the host. (Ensure it is unzipped)

    • Backups in WPEngine can be found in the installation you need a backup of under ‘Backup Points’

  • Search and replace the base url of the instance with your local base url

    • sed -i 's|https:\/\/wavelengthmusic\.ca|https:\/\/wav-test\.lndo\.site|g' wp_wavelengthto.sql

      • Note that on Macs you need to add an extension parameter or you get an “invalid command” error. The above line would need to be:

        sed -i .sql 's|https:\/\/wavelengthmusic\.ca|https:\/\/wav-test\.lndo\.site|g' wp_wavelengthto.sql

  • Import with lando db-import <db.sql>

...