Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
AlexLeadingEdge
Service Provider
Posts: 477
Liked: 60 times
Joined: Dec 14, 2015 9:42 pm
Contact:

Item [Backup Job] is locked by running session Backup Job [Agent Backup]

Post by AlexLeadingEdge »

Hi guys,

Case # 07570067

I have a home user who cannot backup. The backup starts and then fails with the below:
15/01/2025 10:06:43 AM :: Initializing
15/01/2025 10:08:08 AM :: Error: Item [Backup Job REDACTED] is locked by running session Backup Job REDACTED [Agent Backup]
15/01/2025 10:09:58 AM :: Email notification was sent
15/01/2025 10:08:12 AM :: Processing finished with errors at 15/01/2025 10:08:12 AM
They were using an earlier version of Veeam Agent but I've upgraded it to Veeam Agent 6.3.0.177 but no change (I didn't expect this would fix it but I had hoped).

In the past I could use the below commands delete the locks, but this no longer works:
sqlcmd -S (LocalDb)\VeeamEndPoint -d "VeeamBackup" -Q "delete from [Backup.TrackedActions.Leases]"
sqlcmd -S (LocalDb)\VeeamEndPoint -d "VeeamBackup" -Q "delete from [Backup.TrackedActions.LockItems]"
sqlcmd -S (LocalDb)\VeeamEndPoint -d "VeeamBackup" -Q "delete from [Backup.TrackedActions.Locks]"
Any ideas on how to get this up and running again without having to start from scratch?
Mildur
Product Manager
Posts: 9979
Liked: 2645 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Item [Backup Job] is locked by running session Backup Job [Agent Backup]

Post by Mildur »

Hello Alex

The database type changed between version 5 and 6 (localdb to a SQLite). I assume thats the reason why your command doesn't work anymore.
Please continue with our support team to investigate these locks.

From the error message it looks like two different jobs are configured and run at the same time. Which is theoretically not possible for our free agent (case was opened for our free agent).

Thanks,
Fabian
Product Management Analyst @ Veeam Software
AlexLeadingEdge
Service Provider
Posts: 477
Liked: 60 times
Joined: Dec 14, 2015 9:42 pm
Contact:

Re: Item [Backup Job] is locked by running session Backup Job [Agent Backup]

Post by AlexLeadingEdge »

Hi Fabian,

I haven't heard from the Veeam Support team, it would be good if someone could give them a nudge.
Mildur
Product Manager
Posts: 9979
Liked: 2645 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Item [Backup Job] is locked by running session Backup Job [Agent Backup]

Post by Mildur »

Hi Alex

The case was opened for one of our free products. As you may know, we offer support on a best-effort basis for users of our free products, so I am unable to escalate the issue or "give them a nudge".

If you are a service provider and this "home user" is a paying customer of yours, I recommend deploying an end-user or rental license. Our EULA does not permit offering services to third parties using any of our free product offerings; a license is required. This will ensure that you receive guaranteed support responses in accordance with our support policy.

Best,
Fabian


PS:
Please register yourself in our service provider user group if you are a service provider. This gives you access to our hidden service provider sub forums where service provider products are discussed: Apply for the Cloud and Service Providers user group
Product Management Analyst @ Veeam Software
AlexLeadingEdge
Service Provider
Posts: 477
Liked: 60 times
Joined: Dec 14, 2015 9:42 pm
Contact:

Re: Item [Backup Job] is locked by running session Backup Job [Agent Backup]

Post by AlexLeadingEdge »

Hi Fabian,

Yes, I understand. I don't want to invalidate the licensing or queue jump.

All of our "home users" are all staff of our corporate clients, we help them as a courtesy and it makes our life easier since they often work remotely, so having their home computers in proper order means better security for our corporate clients. This client in particular was the accountant for one of our clients that has VeeamB&R and available Instance licences. Unfortunately I was only informed on Friday that they retired at the end of December, my offsider forgot to let me know, but they remain our client.

I have joined the ProPartner and the Service Providers groups.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 37 guests