Host-based backup of KVM-based VMs (Red Hat Virtualization, Oracle Linux Virtualization Manager, Proxmox VE and Scale Computing Hypercore)
Post Reply
MaPf
Enthusiast
Posts: 39
Liked: 5 times
Joined: Apr 07, 2020 6:23 pm
Full Name: Markus Pfohl
Contact:

PVE: Failed to clear resources from previous backups

Post by MaPf »

Hi all,

since yesterday we are getting an error on all PVE Backups:
01.07.2025 09:55:23 :: <servername>: Failed to perform backup: Failed to clear resources from previous backups


there were some minor updates installed on PVE beforehand:
2025-06-30 10:54:58 status installed libicu72:amd64 72.1-3+deb12u1
2025-06-30 10:55:01 status installed ca-certificates:all 20230311+deb12u1
2025-06-30 10:55:01 status installed libtpms0:amd64 0.9.7+pve1
2025-06-30 10:55:01 status installed libxml2:amd64 2.9.14+dfsg-1.3~deb12u2
2025-06-30 10:55:04 status installed man-db:amd64 2.11.2-2
2025-06-30 10:55:04 status installed libc-bin:amd64 2.36-9+deb12u10
2025-06-30 10:55:05 status installed ca-certificates:all 20230311+deb12u1

from the logfile I can see the following errors:

Code: Select all

2025-07-01 06:46:55.7225 00006 [1518] INFO  | [SshClientExtensions]: Successfully created the shell stream
2025-07-01 06:46:55.7263 00006 [1518] INFO  | [SshClientExtensions]: Executing the following SSH command with sudo using the shell stream: "pvesh get storage/plx_pve_nfs2 --output json"
2025-07-01 06:46:56.3376 00006 [1518] INFO  | [SnapshotFileManager]: Failed to obtain the storage path: Newtonsoft.Json.JsonReaderException: Error parsing undefined value. Path '', line 1, position 1.
2025-07-01 06:46:56.3376 00006 [1518] INFO  | [SnapshotFileManager]:    at Newtonsoft.Json.JsonTextReader.ParseUndefined()
2025-07-01 06:46:56.3376 00006 [1518] INFO  | [SnapshotFileManager]:    at Newtonsoft.Json.JsonTextReader.ParseValue()
2025-07-01 06:46:56.3376 00006 [1518] INFO  | [SnapshotFileManager]:    at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
2025-07-01 06:46:56.3376 00006 [1518] INFO  | [SnapshotFileManager]:    at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
2025-07-01 06:46:56.3376 00006 [1518] INFO  | [SnapshotFileManager]:    at Newtonsoft.Json.Linq.JObject.Parse(String json)
2025-07-01 06:46:56.3376 00006 [1518] INFO  | [SnapshotFileManager]:    at Veeam.Vbf.BackupAgent.BackupProxmox.Utils.SnapshotFileManager.GetStoragePath(String storageName)
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]: "Failed to clear resources from previous backups": Newtonsoft.Json.JsonReaderException: Error parsing undefined value. Path '', line 1, position 1.
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Newtonsoft.Json.JsonTextReader.ParseUndefined()
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Newtonsoft.Json.JsonTextReader.ParseValue()
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Newtonsoft.Json.Linq.JObject.Parse(String json)
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Veeam.Vbf.BackupAgent.BackupProxmox.Utils.SnapshotFileManager.GetStoragePath(String storageName)
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Veeam.Vbf.BackupAgent.BackupProxmox.Utils.SnapshotFileManager.DeleteSnapshotFile(Int32 vmId, BlockDevice device, String sessionId, String deviceStorageName, String defaultSnapshotStorageName, Func`2 checkStorageEnabled)
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Veeam.Vbf.BackupAgent.BackupProxmox.Utils.ResourceCleaner.CleanStorageAsync(Int32 vmId, VmBackupParams vmBackupParams, Func`2 checkStorageEnabled, CancellationToken cancellationToken)
2025-07-01 06:46:56.3421 00006 [1518] ERROR | [NbdEngine]:    at Veeam.Vbf.BackupAgent.BackupProxmox.Engine.NbdBackupEngine.CleanResourcesFromPreviousRunsAsync(Int32 vmId, String jobId, CancellationToken cancellationToken)
2025-07-01 06:46:56.3460 00006 [1518] INFO  | [QmpCommands]: Stopping the NBD server...
There is an open case 07749688

Does anybody have an idea, whats up?
MaPf
Enthusiast
Posts: 39
Liked: 5 times
Joined: Apr 07, 2020 6:23 pm
Full Name: Markus Pfohl
Contact:

Re: PVE: Failed to clear resources from previous backups

Post by MaPf » 2 people like this post

It turned out there was an invalid user in the Domain sync which caused the veeam-worker to receive some extra lines from a script command that coulnd't be interpreted and caused the backup to fail.
After deleting the user backups ran fine again.
TFC253
Lurker
Posts: 1
Liked: never
Joined: Jul 02, 2019 12:20 pm
Contact:

Re: PVE: Failed to clear resources from previous backups

Post by TFC253 »

Can you explain in some detail? I'm having the same issue. We are very new to Proxmox and are trying it out as an alternative to VMware.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest