Discussions specific to the VMware vSphere hypervisor
Post Reply
albertwt
Expert
Posts: 628
Liked: 20 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Unable to perform the operation to delete old VMs ?

Post by albertwt » Apr 11, 2016 6:50 am

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 ?
--
/* Veeam software enthusiast user & supporter ! */

v.Eremin
Veeam Software
Posts: 15412
Liked: 1164 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

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

Post by v.Eremin » Apr 11, 2016 10:40 am

I got this error when trying to delete the old VM
Delete from where? From backup job, from managed servers, etc.? Thanks.

albertwt
Expert
Posts: 628
Liked: 20 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

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

Post by albertwt » Apr 11, 2016 12:26 pm

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 ?
--
/* Veeam software enthusiast user & supporter ! */

foggy
Veeam Software
Posts: 17116
Liked: 1399 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

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

Post by foggy » Apr 11, 2016 2:18 pm

It's still not clear what operation have you attempted to perform. A screenshot could help.

kcusoundman
Lurker
Posts: 1
Liked: never
Joined: Dec 03, 2015 3:08 pm
Full Name: Tim Holden
Contact:

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

Post by kcusoundman » Apr 20, 2016 11:20 am

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?

foggy
Veeam Software
Posts: 17116
Liked: 1399 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

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

Post by foggy » Apr 21, 2016 7:20 pm

Tim, please contact technical support for assistance with this. Thanks.

jolsonkdl
Lurker
Posts: 1
Liked: 1 time
Joined: Jul 08, 2016 12:23 pm
Full Name: Jared Olson
Contact:

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

Post by jolsonkdl » Jul 08, 2016 12:26 pm 1 person likes this post

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

dwclarknu
Lurker
Posts: 2
Liked: never
Joined: Jan 15, 2015 4:07 pm
Contact:

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

Post by dwclarknu » Jul 19, 2017 12:01 am

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.

boatmn810
Novice
Posts: 8
Liked: never
Joined: Aug 28, 2015 8:12 pm
Full Name: Jared
Contact:

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

Post by boatmn810 » Jan 03, 2018 8:30 pm

imported old jobs - intentionally to be able to delete them
import ran fine - no errors
right click on backups / disk / imported and choose old vm to delete - get "unable to perform the operation while primary backup job or database transaction log backup job is running."

any suggestions
nothing appears to be running - all scheduled jobs have been disabled
under configuration backup - chose backup now just in case that was causing issue

Mike Resseler
Veeam Software
Posts: 5000
Liked: 530 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

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

Post by Mike Resseler » Jan 04, 2018 7:25 am

Hi Jared,

Since I can't check what the solution was for the other persons since they haven't posted the case ID here, please create a support case and log the ID here (and the outcome after working with our engineers)

Thanks
Mike

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests