public void deleteBackup(String backupTag){
  checkOnStandby();
  validateBackupName(backupTag);
  InterProcessLock lock=null;
  try {
    lock=getLock(BackupConstants.BACKUP_LOCK,BackupConstants.LOCK_TIMEOUT,TimeUnit.MILLISECONDS);
    deleteBackupWithoutLock(backupTag,false);
  }
  finally {
    releaseLock(lock);
  }
}

public void deleteBackup ( String backupTag ) { checkOnStandby ( ) ; validateBackupName ( backupTag ) ; InterProcessLock lock = null ; try { lock = getLock ( BackupConstants . BACKUP_LOCK , BackupConstants . LOCK_TIMEOUT , TimeUnit . MILLISECONDS ) ; deleteBackupWithoutLock ( backupTag , false ) ; } finally { releaseLock ( lock ) ; } }
delete backup file on all nodes
