FLW Staging/Live Push-Pull

Who It’s For

  • Agencies and in-house teams who need a safe, operator-driven way to push or pull between Dev and Live.
  • WordPress admins who want clear dry runs, automatic backups, and visible progress.
  • Developers who prefer practical rsync / WP-CLI workflows over heavyweight CI/CD setups.
Log in
BETA TESTING

Why This Plugin

  • Confidence first: dry runs, automatic backups, safe excludes, and optional maintenance mode.
  • Fast and practical: built on proven tools—rsync, WP-CLI, mysqldump, and mysql—with real-time logs.
  • Fewer surprises: handles URL replacements safely, purges caches automatically, and can send email summaries.
  • Operator-friendly: nothing runs behind your back; you trigger every sync intentionally.

Key Features

  • Push Dev → Live with safe excludes and optional maintenance mode.
  • Pull Live → Dev (database + wp-content) to keep environments aligned.
  • Database sync with serialized-safe URL replacement (uses WP-CLI when available).
  • Dry Run mode to preview every action before committing changes.
  • Automatic, timestamped backups of source and target with retention control.
  • Export / Import entire sites as .tar.gz (files + DB + metadata).
  • Real-time progress log in the admin UI, plus optional email notifications.
  • Optional GA4 tag injection with separate Dev and Live tracking IDs.
  • Optional cache purge after completion.
  • Restrict Dev access: redirect non-admins, block logins, and hide from search engines.
  • Ignore plugins on Push → Live by folder slug.
  • Support for extra directories beyond wp-content (e.g., wp-includes, wp-admin).
  • Live content lock toggle to temporarily block non-admin publishing on production.

Requirements

  • WordPress capability: manage_options.
  • PHP with shell_exec enabled.
  • Both Dev and Live servers must have:
    • rsync, tar, mysqldump, mysql
    • WP-CLI (recommended for serialized-safe DB ops)

Compatibility

  • WordPress 6.3 + tested.
  • Best suited for standard Linux hosting with required shell tools.
  • Single-site WordPress (multisite not yet tested).
  • Requires direct filesystem access to both Dev and Live WordPress roots.

What It’s Not

  • Not a managed migration or SaaS service.
  • Not a continuous deployment pipeline or scheduler.
  • Not a general backup plugin (it creates safety backups before syncs only).
  • Not a substitute for Git or version control.
  • Not compatible with hosts that disable shell tools or shell_exec.

Quick Start

  1. Install & activate FLW Staging / Live Push-Pull.
  2. Go to Settings → Staging / Live Sync and configure:
    • Mode (Dev or Live)
    • Dev / Live filesystem paths
    • Dev / Live domains
    • Backup directory, retention, and optional toggles (maintenance, cache purge, email, GA4)
    • Defaults for extra directories and ignored plugins
  3. Open Staging / Live Sync in the admin menu.
  4. Click Dry Run for Push or Pull to preview actions.
  5. When satisfied, run Push to Live or Pull from Live.
  6. Watch progress in real time and review the emailed log (if enabled).
Log in
BETA TESTING