Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wp plugin install: Accepts also path to full or partial database backup .sql (.zip) #345

Closed
porg opened this issue Dec 9, 2022 · 1 comment

Comments

@porg
Copy link

porg commented Dec 9, 2022

Proposal

  • For an automated reinstallation of the extensions (themes, plugins) in their exact state (Status: active/inactive ; auto updates: on/off) in theory the user only need access to a partial or full Wordpress database backup file.

  • As long as the program finds the relevant table wp_options with the relevant *_plugins rows in that database backup it restores the plugins accordingly.

  • Should support plaintext database dumps (.sql) or also compressed dumps (e.g. .sql.zip)

That would spare the use the need to back up an extensions-list (step °3 in wp-cli/ideas#171) in addition to a database backup (°2 in wp-cli/ideas#171).

@porg porg changed the title wp plugin install: Accepts also path to full or partial database backup .sql(.compression) wp plugin install: Accepts also path to full or partial database backup .sql (also compressed like .zip) Dec 9, 2022
@porg porg changed the title wp plugin install: Accepts also path to full or partial database backup .sql (also compressed like .zip) wp plugin install: Accepts also path to full or partial database backup .sql (.zip) Dec 9, 2022
@danielbachhuber
Copy link
Member

Thanks for the suggestion!

The suggested behavior is outside the scope of this particular command. It would make more sense in a standalone package: wp-cli/ideas#171 (comment)

@danielbachhuber danielbachhuber closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants