Host-based backup of VMware vSphere VMs.
Post Reply
albertwt
Veeam Legend
Posts: 879
Liked: 46 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Unable to perform the operation to delete old VMs ?

Post 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 ?
--
/* Veeam software enthusiast user & supporter ! */
veremin
Product Manager
Posts: 20270
Liked: 2252 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 veremin »

I got this error when trying to delete the old VM
Delete from where? From backup job, from managed servers, etc.? Thanks.
albertwt
Veeam Legend
Posts: 879
Liked: 46 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 »

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: 21069
Liked: 2115 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 »

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 »

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: 21069
Liked: 2115 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 »

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 » 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 »

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: 9
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 »

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
Product Manager
Posts: 8044
Liked: 1263 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 »

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 89 guests