WP-CLI available on all web hosting servers

14 Oct 2017

We have installed and activated WP-CLI on al web hosting servers. With this tool that is to be invoked directly on the command line interface (CLI) you can managed WordPress and the WordPress database directly from the shell, e.g. to create a database backup you would issue the following command:

wp db export backup-before-search-replace.sql

To perform a search and replace you could use the following command:

wp search-replace 'webhosting24.com' 'newwebhosting24.com' --skip-columns=guid