WP DB Bridge Plugin
What is this?
The WP DB Bridge plugin is a lightweight REST API that allows this platform to export and manage the database of remote WordPress sites where only FTP access is available (no SSH).
It provides three endpoints:
/wp-json/wp-db-bridge/v1/status— Health check/wp-json/wp-db-bridge/v1/export— Download full SQL dump/wp-json/wp-db-bridge/v1/run-commands— Execute WP-CLI-style commands (for deploying DB changes back)
All endpoints are protected by a randomly generated auth key.
Installation Steps
- Download the plugin file using the button below
- Connect to the remote site via FTP
- Navigate to
wp-content/mu-plugins/(create themu-pluginsfolder if it doesn't exist) - Upload
wp-db-bridge.phpto that folder — it activates automatically as a must-use plugin - Log into the WordPress admin area, go to Settings → DB Bridge
- Copy the Auth Key shown on that page
- On this platform, edit the site in Sites and paste the auth key into the DB Bridge Auth Key field
Security Notes
- The auth key is a random 48-character string generated on first activation
- All API requests require the auth key — no anonymous access
- The key can be regenerated from Settings → DB Bridge in the WordPress admin
- The
run-commandsendpoint only acceptswpcommands (option updates, post creation, etc.) — no raw SQL - Installing as a must-use plugin (mu-plugins) prevents accidental deactivation