WP-CLI

DEV NOTE DEV

Automatically Back Up WordPress with `rsync wp db export` [Mac × launchd]

This guide explains how to automatically back up your entire WordPress site using rsync and WP DB Export without relying on plugins. It provides a practical, step-by-step overview covering everything from the full script for VPS and shared servers, to setting up scheduled tasks with macOS launchd, implementing dual protection with Time Machine, and the restoration process.
DEV NOTE DEV

How to Safely Deploy WordPress from Local to Production Using wp-db and rsync

This guide explains how to securely deploy WordPress from a local environment to a production environment using the WP-CLI’s `wp db` command and rsync. We cover everything from designing a deployment workflow that relies solely on the command line without plugins, to considerations for URL substitution, rsync exclusion rules, a secure workflow via staging, and automation using GitHub Actions.
DEV NOTE DEV

Herd Set Up a Local WordPress Environment with DBngin in 5 Minutes [Mac]

This guide explains how to set up a local WordPress development environment on a Mac. With Herd DBngin, you can enjoy a lightweight and fast setup that runs natively without the need for Docker. We’ll walk you through the process step by step—from installation to setting up WordPress using WP-CLI, managing multiple sites, and troubleshooting—complete with screenshots.
DEV NOTE SERVER

A Complete Guide to WordPress Server Migration: A Professional’s Manual Migration from a Shared Server to a VPS [Summary Version]

Unlike the plugin-based migration methods typically used by beginners, this guide outlines the complete process for migrating WordPress from a shared server to a VPS, assuming a manual migration performed by professionals with a focus on reproducibility. In addition to SSH connections, wp-db export, rsync, wp-config.php configuration, and—where necessary—wp-db create, wp-db import, hosts file verification, and DNS switching, this guide also covers preparing to install WP-CLI on Lolipop and how to configure Xserver VPS.
DEV NOTE TIPS

How to Use WP-CLI: Commands That Dramatically Streamline WordPress Management

From an overview of WP-CLI to installation instructions, bulk updates, and database "search-replace" operations, we’ll explain practical ways to use it to significantly streamline and speed up your WordPress operations and management.