Closed tommymarshall closed 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.
cap staging wpcli:db:push --backup="./backups/"
wpcli:db:backup
I wanted this today, so I've just made a pull request with the feature if you're still interested (#27).
This is pushed to the lux branch right now.
Will release it shortly.
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 taskewpcli:db:backup
.