WordPress Databases Exporter
This is a command line tool that scans local folders for WordPress sites and exports the database into site's folder as .ht_site_db.sql file.
wp_db_exporter.php /var/www/sites
As a WordPress developer you have lots of WordPress sites installed on your computer, you live or staging servers. Every WordPress site needs a folder to store its files and also a database to connect to to get and put contents to. For this reason it's always good to keep the files nicely organized to have the database exported inside the site’s root directory or one level above it. That way when you backup the site using your favorite archiving tool (zip, tar, 7zip) you know that all that is necessary is packaged.
If you find bugs or have a suggestion, create a ticket using the link below https://github.com/orbisius/wp_db_exporter/issues/issues
- php
- WP-CLI to be installed
- exec() functions to be available
Please, check your apache and WordPress debug.log files.
If you'd us to customize the tool or troubleshoot your site (both paid services) feel free to get a quote https://orbisius.com/contact
Author: Svetoslav Marinov (Slavi) | http://orbisius.com
1.0.0 - initial release