Hey @Squid
Nice work on this plugin!
I was going to roll something similar as a script before I found this. Nice Job.
Bug:
Docker img (libvirt) is not backed up if its not in the right location (which I cant find documented anywhere) or named correctly
I use /mnt/cache/docker.img as I setup docker ages before I found this plugin.
a field to allow customisation of the libvirt source image would be ideal
Comment on functionality:
The "Delete backups if they are this many days old" doesn't make a lot of sense when used with anything other than a daily schedule.
Eample scenario
Initial Setup
Set "Delete after" to 5
Set "Schedule" to Daily
Outcome: 5 backups kept
Changed my mind and I want weekly backups now
Set "Schedule" to weekly
Forgot to calculate how many days I want (7/14) to keep relative to the schedule type so it remains at 5
Outcome: the weekly backup is erased after 5 days leaving 2 days before the next scheduled backup takes place.
Worse again
Changed the "Schedule" to monthly and forgot to adjust the days to keep (31/62) so it stays at 5.
Outcone: a Backup is created at the specified monthly interval and is then sebsequently erased after 5 days leaving 3/4 of the month with no recovery option.
A possibly better and simpler solution to this issue would be to change the "Delete after" to "Backups to keep"
in this way it would not matter about the schedule at all as you always know there are X daily/weekly/monthly backups at any given time.
I did actually run into this exact scenario (the weekly one) and thought you should know.
Keep up the great work