My Oracle Support Banner

Oracle VM: ovm-bkp Utility Retention Policy Fails to Delete Legacy Backup with Error: "<VM name>-FULL-<date>-<time> hasn't a properly configured tag and won't be deleted." (Doc ID 2618871.1)

Last updated on DECEMBER 18, 2019

Applies to:

Oracle VM - Version 3.4.1 and later
x86_64

Symptoms

The ovm-bkp utility retention policy fails to delete legacy backup, ovm-backup.sh script has error like below:
# ./ovm-backup.sh <VM name> FULL y
=================
Oracle VM 3.4 CLI
=================
=====================================================
Adding VM <VM name> information to bkpinfo file /opt/ovm-bkp/bkpinfo/info-backup-<VM name>-FULL-<date>-<time>.txt
=====================================================
================================================
Creating Clone-Customizer to get VM snapshot....
================================================
=======================
Getting VM snapshot....
=======================
=====================
Backup Type: FULL....
=====================
=======================================================
Moving cloned VM to target repository ....
=======================================================
=======================================================
Waiting for Vm moving to complete......10 seconds
Waiting for Vm moving to complete......20 seconds
Waiting for Vm moving to complete......30 seconds
Waiting for Vm moving to complete......40 seconds
Waiting for Vm moving to complete......50 seconds
Waiting for Vm moving to complete......60 seconds
=======================================================
=================================================
Renaming VM backup to <VM name>-FULL-<date>-<time>....
=================================================
===================================
Adding propert TAG to backup VM....
===================================
Guest Machine <VM name> has cloned and moved to <VM name>-FULL-<date>-<time> on repository OVM_BKP
Guest Machine <VM name>-FULL-<date>-<time> resides under 'Unassigned Virtual Machine Folder'
Retention type is Redundancy-Based
Actual reference is: <date>-<time>
Latest 4 backup images will be retained while other backup images will be deleted!!!
===============================================
=====> FOLLOWING GUEST WON'T BE REMOVED: <<====
===============================================
<VM name>-FULL-<date>-<time> hasn't a properly configured tag and won't be deleted.
===============================================
===============================================
All backups of Virtual Machine that:
=================================
1) aren't in a stopped state
2) have physical disk configured
3) have configured vNIC
=================================
Won't be removed by the automatic retention even if are obsolete backups.

======================================================
=======>> GUEST BACKUP EXPIRED AND REMOVED: <<========
======================================================
=============================================================
Based on retention policy any guest backup will be deleted!!!
=============================================================
====================================================================================
=====> Backup available for guest <VM name> (sorted by date) : <====================
=============================================================================================
= BACKUP TYPE == BACKUP DATE == BACKUP TIME == BACKUP NAME == PRESERVED ==
=============================================================================================
= FULL == 20190831 == 0129 == <VM name>-FULL-20190831-0129 == NO
= FULL == 20190907 == 0118 == <VM name>-FULL-20190907-0118 == NO
= FULL == 20190914 == 0023 == <VM name>-FULL-20190914-0023 == NO
= FULL == 20191102 == 0249 == <VM name>-FULL-20191102-0249 == NO
= FULL == 20191109 == 1735 == <VM name>-FULL-20191109-1735 == NO
= FULL == 20191113 == 1616 == <VM name>-FULL-20191113-1616 == NO
= FULL == 20191116 == 1016 == <VM name>-FULL-20191116-1016 == NO
=============================================================================================



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.