10up/wpsnapshots

Add option to snapshot entire installation

Opened this issue · 2 comments

Some of repositories contain entire WordPress installation instead of only wp-content. Good example are sites on WPEngine using Git Push deployment feature. These sites have to have entire WordPress in repository as they're pushed this way to servers.

Having an option to export full WordPress installation (also .git directory is located in the root of WordPress directory instead of inside wp-content/ or it children) would allow that kind of projects to easily ramp up new engineers as they would have all git remotes set out of the box.

Great suggestion.

benlk commented

Seconding this; some client-owned site repositories end up stored outside of the wp-content/ directory. For example:

.
├── config
│   ├── elasticsearch
│   ├── nginx
│   └── php-fpm
├── docker-compose.yml
├── example-client-site-git-root
│   └── docroot
│       ├── wp-content
│       ...
├── wordpress
│   ├── wp-content
|   ...
...

If you need the specific example, please message me on Slack.