Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit number of backups stored in backup directory #14

Closed
dano1066 opened this issue Mar 13, 2015 · 2 comments
Closed

Limit number of backups stored in backup directory #14

dano1066 opened this issue Mar 13, 2015 · 2 comments

Comments

@dano1066
Copy link

Is is possible to set how many backup files can be stored in the backup directory?

E.g. If i set the total to 5 and i ran a backup when there were already 5 backups in the directory it would automatically delete the oldest backup and create a new backup.

@freekmurze
Copy link
Member

Currently the package does not clean the backup directory. You should schedule a job that cleans the directory yourself.

I can't give you a timeframe, but I'm planning to add this functionality in a future version.

@freekmurze
Copy link
Member

Version 2.1.0 of the package introduces a command to clean up old backups

@microdesign microdesign mentioned this issue Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants