Move from WordPress VIP
Export code, database, and media from WordPress VIP, join them into one archive, and move the site to WP Waterfall with the free migration.
To move a site from WordPress VIP, export the code, database, and media, join them into one archive, give WP Waterfall a link to it, review the site on staging, then switch the domain. VIP keeps code in a GitHub repository and the database and media on the platform, which is why there are three parts. Git history is not imported.
What you need
- The VIP Dashboard, the GitHub repository, and Git. VIP-CLI is optional.
- A free site license, and a backup file in a format that Migrate a site to WP Waterfall lists.
Export production, because a non-production media backup leaves out media only production holds.
Export your site from WordPress VIP
- Code: run
git cloneon the repository. - Database: in the VIP Dashboard choose Database, Database Backups, pick a date, Configure Download, Entire database, then Download. Or run
vip @your-app.production export sql --generate-backup. The file is a.sql.gz. - Media: choose Media, Media Backups, Generate Backup, then Download under Available Backups. You get one or more
.zipfiles. VIP keeps them 7 days, and the button expires after 15 minutes.
A Multisite network lets you pick one network site or all. See Multisite and custom prefix.
Prepare the archive
VIP's repository has no WordPress core and no VIP platform mu-plugins.
- In a
buildfolder, makewp-contentand copy the repository'sthemes,plugins, andlanguagesinto it. Ifcomposer.jsoninstalls plugins, run Composer first. - Unzip every media archive into
wp-content/uploads, so the year folders sit directly underuploads. Put the.sql.gzinbuild. - Copy each plugin from
client-mu-pluginsintowp-content/plugins, and activate it on staging after the import. WP Waterfall leaves out the wholemu-pluginsfolder. - Zip with
zip -r site.zip wp-content site.sql.gz, then rununzip -l site.zip.
Port these VIP items by hand:
vip-config/vip-config.phpholds settings that normally live inwp-config.php. Recreate real constants in the Environment variables card on Info.- VIP sets
VIP_GO_APP_ENVIRONMENT,VIP_GO_APP_BRANCH, andVIP_GO_APP_ID. UseWPWATERFALL_ENVinstead (see Environment type variables). - Functions from VIP's mu-plugins, such as
vip_get_env_var()andEnvironment::get_var(), fail without them. Search your code and change them, for example togetenv(). - Copy anything you need from the
imagesandprivatefolders intowp-content.
What does not move?
Besides the usual list, these stay behind:
- Other VIP environments and Git history.
- Enterprise Search. It keeps its index at VIP.
Request the migration and switch the domain
Share the file as a public link, then follow Migrate a site to WP Waterfall to request the migration. That article also covers what moves, what you set up again, how to switch the domain, and how to roll back. The site arrives in Git mode with its code saved in one commit. See How Git deploys work. Edit DNS records where your nameservers point. VIP removes the GitHub repository when it retires an application, so keep your clone.
Troubleshooting
- The download button vanished: it expires after 15 minutes. Open it again.
- Images are missing: check the year folders under
wp-content/uploads. If only some sizes are missing, runwp media regenerate --yesover SSH. - A white screen or fatal error: code that calls a VIP function. Read
error.logunder Logs.
Related
Still stuck?
Email support at wpwaterfall dot com with your site name and what you tried, or send us a message.