WP Manifestindependent plugin directory
manifest / updates / wpcli-staging

WP-CLI Staging

WordPress plugin that extends WP-CLI with routines for managing staging from a local environment.

by Hudson Atwell · github.com/atwellpub/wpcli-staging

10stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/atwellpub/wpcli-staging/archive/refs/heads/master.zip

From the readme

WP-CLI Staging About WP-CLI Staging plugin extends WP-CLI with staging management tools for a local WordPress instance. Currently, it provides the ability to import and synchronize remote database (production) into a local database (staging) as well as provides other utilities such as quick backups, restorations, rollbacks and rollforwards. Commands WP-CLI Staging provides a suite of commands accessible via WP-CLI, enabling developers to efficiently manage their local staging environment: - wp staging backup: Creates a backup of the current local database. - wp staging rollback: Reverts the local database to the last backup, facilitating easy undo of recent changes. - wp staging rollforward: Advances the local database to a more recent backup if available, useful after performing a rollback. - wp staging import: Imports the database from the remote server, updating the local environment with production data. - wp staging restore: Restores the local database from a specified backup file, offering flexibility in managing local data states. Inspiration The development of WPCLI Staging was inspired by our use of WP Engine's Local WP for managing local WordPress instances and Cl

Read the full README on GitHub →