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 ! */
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.
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:
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
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)