This WP-CLI package allows you to back up plugins or themes by creating a zip or tar.gz archive.
wp package install mwender/wp-backup-command
To back up a plugin:
wp plugin backup <plugin-slug>
To back up a theme:
wp theme backup <theme-slug>
1.1.2
- Adding repository thumbnail.
1.1.1
- Updating composer.json
version
to force recognition of new release.
1.1.0
- Backup respective plugin/theme from the parent directory.
- Return to the original directory after execution.
- Move the backup file to the original directory.
1.0.0
- Initial release.
This package is licensed under the MIT license.