Unable to perform the operation to delete old VMs ?

Discussions specific to VMware vSphere hypervisor

Unable to perform the operation to delete old VMs ?

Veeam Logoby albertwt » Mon 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 ! */
albertwt
Expert
 
Posts: 624
Liked: 20 times
Joined: Thu Nov 05, 2009 12:24 pm
Location: Sydney, NSW

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

Veeam Logoby v.Eremin » Mon 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.
v.Eremin
Veeam Software
 
Posts: 14227
Liked: 1066 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

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

Veeam Logoby albertwt » Mon 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 ! */
albertwt
Expert
 
Posts: 624
Liked: 20 times
Joined: Thu Nov 05, 2009 12:24 pm
Location: Sydney, NSW

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

Veeam Logoby foggy » Mon Apr 11, 2016 2:18 pm

It's still not clear what operation have you attempted to perform. A screenshot could help.
foggy
Veeam Software
 
Posts: 15732
Liked: 1182 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

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

Veeam Logoby kcusoundman » Wed 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?
kcusoundman
Lurker
 
Posts: 1
Liked: never
Joined: Thu Dec 03, 2015 3:08 pm
Full Name: Tim Holden

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

Veeam Logoby foggy » Thu Apr 21, 2016 7:20 pm

Tim, please contact technical support for assistance with this. Thanks.
foggy
Veeam Software
 
Posts: 15732
Liked: 1182 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

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

Veeam Logoby jolsonkdl » Fri 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
jolsonkdl
Lurker
 
Posts: 1
Liked: 1 time
Joined: Fri Jul 08, 2016 12:23 pm
Full Name: Jared Olson

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

Veeam Logoby dwclarknu » Wed 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.
dwclarknu
Lurker
 
Posts: 2
Liked: never
Joined: Thu Jan 15, 2015 4:07 pm

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

Veeam Logoby boatmn810 » Wed 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
boatmn810
Novice
 
Posts: 7
Liked: never
Joined: Fri Aug 28, 2015 8:12 pm
Full Name: Jared

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

Veeam Logoby Mike Resseler » Thu 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
Mike Resseler
Veeam Software
 
Posts: 3850
Liked: 427 times
Joined: Fri Feb 08, 2013 3:08 pm
Location: Belgium, the land of the fries, the beer, the chocolate and the diamonds...
Full Name: Mike Resseler


Return to VMware vSphere



Who is online

Users browsing this forum: No registered users and 1 guest