WP Local Maker
WP CLI Exports with reduced datasets
★ 4stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/saucal/wp-local-maker/archive/refs/heads/master.zipDeclares an update source (saucal/wp-local-maker), so updates arrive through the plugin's own updater.
From the readme
WP Local Maker
Ever got into a situation where downloading a full database backup of a site is just too hard on your localhost? Loading a 1+ GB sql dump into mysql is killing it's resources?
Enters WP Local Maker, the tool that will create a copy of the database with a reduced amount of certain data types. Eg: Do you have a large WooCommerce + WooCommerce Subscriptions site? Do you really need all 300k+ orders on your local to develop the new theme redesign?
How this works
The way the plugin works, is that it goes through every table on the database, and copies the data entirely by default. If any module of the plugin setup a special handling of a certain table, that module will determine what data to copy.
The modular structure of the plugin allows other plugins to extend it's functionality. This way, some modules are bundled by default, and some are ok to keep as external plugins (eg: some specific custom table handling for a specific site).
Each module is intended as an organizational element for specific plugins. Eg: there's a module for WooCommerce, another for WooCommerce Subscriptions, another for Gravity Forms, etc.
All of the processing is done through as-optimized-