REBELinBLUE / deployer

Deployer is a free and open source deployment tool.
http://phpdeployment.org
MIT License
912 stars 185 forks source link

Delete old database backups #328

Open REBELinBLUE opened 7 years ago

REBELinBLUE commented 7 years ago

The updater backs up the database before running, but it never deletes old backups. Should be changed to only keep a few backups

bbashy commented 7 years ago

Would this package not be better? https://github.com/spatie/laravel-backup

Can backup files as well as DB + clean them.

REBELinBLUE commented 7 years ago

It already uses that, just don't have it set up to purge old backups currently ;)

REBELinBLUE commented 7 years ago

Tell a lie, currently using https://github.com/backup-manager/laravel I will have a look at that package

bbashy commented 7 years ago

Yeah I checked to see what you used. Didn't see a purge/clean command for backup-manager?

REBELinBLUE commented 7 years ago

Yeah it doesn't seem to have it