-
Notifications
You must be signed in to change notification settings - Fork 20
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
Max backups being ignored #13
Comments
So far it seems that the maxbackup count is working.. i've set my minimum time to 1 hour so i will confirm soon. |
Thanks; So in my test, i had the min time set to 0 and max backups set to 2. I then pressed the backup all button a few times and the backups were going past the max count of 2 |
So i've just tested again with the min time set to 1 and it is adhering to my max backup count. There is something else going on which i need to check though.. If you create an individual backup and then later run backup all, it deletes all but the last X (your max backup count).. |
so i deleted the docker and started from the start. I have max hours set to 0, days set to 5 and max count set to 1 - pressed save
|
I just tested the below Backup All Min Hours: 0 And this works.. After the 2nd backup; if i press backup all the 3rd time, it will adhere to the max count of 2 and only keep 2 files (recent and the one before) |
so.. it's working then? |
With the above setup yes; and then i have my unRaid run the backupall.php script monthly. |
In this case it would backup. If a backup is < max days old, or there are < max count backups, it is not deleted. |
Backups Min Hours limits backupall from backing up the same devices too many times in a given time period (one per day? or week) Backups Max Days old, lets it delete any backups older than this if max count is 0, or current number of backups is > max count Backups Max Count, lets it delete any backups exceed the requested count, if max days is 0, or only removed backups that are older than Max Days and exceed the count Setting any of the above to 0, will cause it to disable that option. My goal was to say, I want atleast a month history of backups, but I also want to make sure I always have atleast 3 backups of each device, no matter how old it is. |
Thanks for looking into this! That delete backup option would be awesome.
Originally posted by @iptvcld in #10 (comment)
The text was updated successfully, but these errors were encountered: