Page 1 of 1

Unable to perform the operation to delete old VMs ?

Veeam LogoPosted: Mon Apr 11, 2016 6:50 am
by albertwt
People,

I'm currently trying to delete old VMs that are no longer available in the VMware VCetner environment and to reduce the Backup Repository disk space usage.

Hoever, I got this error when trying to delete the old VM:

---------------------------
Veeam Backup and Replication
---------------------------
Unable to perform the operation while primary backup job or database transaction log backup job is running.
---------------------------
OK
---------------------------


The currently running backup job is not the Backup job where this VM is residing.

Why this is happening ?

Re: Unable to perform the operation to delete old VMs ?

Veeam LogoPosted: Mon Apr 11, 2016 10:40 am
by v.Eremin
I got this error when trying to delete the old VM

Delete from where? From backup job, from managed servers, etc.? Thanks.

Re: Unable to perform the operation to delete old VMs ?

Veeam LogoPosted: Mon Apr 11, 2016 12:26 pm
by albertwt
I expand the Disk | then go to the backup job and then select the old VM to be deleted.

I need to reduce the disk space usage in the backup repository drive, Hence I am deleting old VMs. Is this the correct way of doing it ?

Re: Unable to perform the operation to delete old VMs ?

Veeam LogoPosted: Mon Apr 11, 2016 2:18 pm
by foggy
It's still not clear what operation have you attempted to perform. A screenshot could help.

Re: Unable to perform the operation to delete old VMs ?

Veeam LogoPosted: Wed Apr 20, 2016 11:20 am
by kcusoundman
I am also having issues with this.

Latest version of Veeam Backup and Replication.

Backup and replication page which lists the jobs, backups and Last 24 hours. No jobs running. Expand the Backups section, Disk section and then the backup in question. Then right click on the VM and select delete from disk. Then get the error message quoted.

Any ideas?

Re: Unable to perform the operation to delete old VMs ?

Veeam LogoPosted: Thu Apr 21, 2016 7:20 pm
by foggy
Tim, please contact technical support for assistance with this. Thanks.

Re: Unable to perform the operation to delete old VMs ?

Veeam LogoPosted: Fri Jul 08, 2016 12:26 pm
by jolsonkdl
I was able to get the server to delete after I disabled the backup job. So disable the backup jobs first. Hopefully that helps. :D

Re: Unable to perform the operation to delete old VMs ?

Veeam LogoPosted: Wed Jul 19, 2017 12:01 am
by dwclarknu
You can see what jobs are running with the following query:

Code: Select all
select * from [Backup.Model.JobSessions]
where [state] != '-1'


If you can 100% confirm that no jobs are running (every job, backup job, copy job, etc..) is disabled you can kill any "stuck" jobs with the following query:

Code: Select all
UPDATE [Backup.Model.JobSessions]
SET [state] = '-1'
WHERE [state] != '-1'


Please note: This recommendation is provided as a reference only, you're on your own if you screw up your environment. When in doubt, call support.