Skip to main content
Run common maintenance commands:
sitectl wp core version
sitectl wp core update-db
sitectl wp cache flush
sitectl wp db update
Export and import the database through the template Makefile:
sitectl wp db export /tmp/site.sql
sitectl wp db import /tmp/site.sql
Importing a database replaces the target database. Use it only when the target environment can be overwritten.

Reference

core

Run WordPress core maintenance helpers
sitectl wp core <command>

cache

Run WordPress cache helpers
sitectl wp cache <command>

db

Run WordPress database helpers
sitectl wp db <command>