lavmeiker / capistrano-wpcli

Provides command line tools to facilitate Wordpress deploy.
MIT License
117 stars 34 forks source link

[Proposal] Backup DB upon wpcli:db:push #17

Closed tommymarshall closed 9 years ago

tommymarshall commented 9 years ago

It's be great to pass an optional flag (cap staging wpcli:db:push --backup="./backups/") to save a copy of the sql dump before deleting it, which would also be accessible via a separate taske wpcli:db:backup.

davestevens commented 9 years ago

I wanted this today, so I've just made a pull request with the feature if you're still interested (#27).

jeremyzahner commented 9 years ago

This is pushed to the lux branch right now.

Will release it shortly.