Closed kukoarmas closed 4 years ago
About backup retention, the functionality has been commited here from another PR : https://github.com/wefixit-AT/oVirtBackup/commit/5acd25af6b9876b883c02218f653812d5e7845f3 Maybe you should remove that changes from your PR or make another PR..
Adds functionality to backup to templates on a different storage domain Also, separate actions in different functions to simplify changes Cloned VM from snapshot can be created in a different storage domain to optimize space utilization
Backups can be done to export domain (original type), to template on a different storage domain, or both
Also, change backup retention to keep the last number of backups specified in the backup_keep_count option. Keeping the last backups per number and not age is safer, because if we delete backups older than 3 days (for example), if backups fails for more than 3 days we will have no backups. It's safer to keep a number of the last backups, no matter how old they are