You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to extend wp-sync-db-cli to set the wp-sync-db settings.
For example you start from blank wordpress.
Install and activate wp-sync-db , wp-sync-db-media-files, wp-sync-db-cli with wp-cli.
Then set wp-sync-db settings with wp-sync-db-cli then run a wp-sync-db-cli pull.
The text was updated successfully, but these errors were encountered:
i found a way to do this by exporting the settings from a working local site that can already sync pull. wp option get wpsdb_settings --format=json --skip-plugins
then once you have that json string, use this wp option set wpsdb_settings --skip-plugins --format=json $CONTENTS"_OF_JSON_STRING_IN_QUOTES
you could probably also just modify the json the first time if you know the settings you want
hope this helps!
Would it be possible to extend wp-sync-db-cli to set the wp-sync-db settings.
For example you start from blank wordpress.
Install and activate wp-sync-db , wp-sync-db-media-files, wp-sync-db-cli with wp-cli.
Then set wp-sync-db settings with wp-sync-db-cli then run a wp-sync-db-cli pull.
The text was updated successfully, but these errors were encountered: