I run a daily sync to a USB drive that is mounted on a VM on a Proxmox host. Every day the sync fails, but the VM/CT that fails can vary. Last week it was CT102 and today it is VM100. The error message complains about the Directory not being empty. Manually deleting the folder and running the sync job solves the problem, temporarily anyways.
Any idea how to prevent these errors from occurring?
Any idea how to prevent these errors from occurring?
Code:
2024-06-03T00:00:36-06:00: re-sync snapshot vm/100/2024-06-02T03:00:02Z
2024-06-03T00:00:36-06:00: percentage done: 27.78% (2/9 groups, 1/2 snapshots in group #3)
2024-06-03T00:00:36-06:00: sync snapshot vm/100/2024-06-03T03:00:01Z
2024-06-03T00:00:36-06:00: sync archive qemu-server.conf.blob
2024-06-03T00:00:36-06:00: sync archive drive-scsi0.img.fidx
2024-06-03T00:10:28-06:00: downloaded 1.767 GiB (3.056 MiB/s)
2024-06-03T00:10:28-06:00: sync snapshot vm/100/2024-06-03T03:00:01Z done
2024-06-03T00:10:28-06:00: percentage done: 33.33% (3/9 groups)
2024-06-03T00:10:28-06:00: delete vanished snapshot vm/100/2024-05-20T03:00:02Z
2024-06-03T00:10:28-06:00: sync group vm/100 failed - removing backup snapshot "/mnt/backup_usb/vm/100/2024-05-20T03:00:02Z" failed - Directory not empty (os error 39)
2024-06-03T00:10:28-06:00: skipped: 6 snapshot(s) (2024-05-27T03:01:04Z .. 2024-06-01T03:00:56Z) - older than the newest local snapshot