wefixit-AT / oVirtBackup

This is a tool, written in Python, to make online fullbackup's of a VM which runs in an oVirt environment.
MIT License
105 stars 54 forks source link

Export before delete_old_backups #91

Open tatref opened 8 months ago

tatref commented 8 months ago

The number of exports is always +1 with respect to keep_backups_by_number, because the purge is done before the export. Also, during the export, we are missing 1 backup.

This commit fixes the order of operations