-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Rotate backups #33
Comments
a quick option would be to cron something like rm replacing 10 with however many you want to keep. The above will keep the 10 newest, removing the rest. Dry run by removing the rm -rf command to see what it will do. I add the above to my crontab running weekly, i bash script move the archives to a longer term storage and delete. |
Thanks. I've currently thrown all the backups to my network drive for now. Im avoiding destructive |
This is great, I need to add it to my Raspberry Pi Java Minecraft server script as well. I'll add it here for the next version! |
Added in latest version |
Please add backup rotation feature as the backups tend to pile up after some time.
The text was updated successfully, but these errors were encountered: