Hi,
I noticed unexpected behavior with proxmox-backup-client during restore tests and would like to clarify whether this is intended or a bug.
The latest snapshot shown is:
Since I do not define a specific snapshot, the command is expected to use the latest available snapshot of the group.
However, this snapshot is still being created (the backup task is not finished yet), and the restore fails.
If so, what is the reasoning behind selecting a snapshot that is still in progress?
If not, would it make sense to adjust the logic so that, when no snapshot is explicitly specified, only fully completed snapshots are considered?
Thanks in advance for your feedback.
I noticed unexpected behavior with proxmox-backup-client during restore tests and would like to clarify whether this is intended or a bug.
Environment / Setup
- Proxmox Backup Server 3.4.8
- Proxmox backup client version: 4.1.1
- I use one host per namespace.
- In this case, the namespace is: hosts/postgres-server
- A backup job is running for that host while I attempt a restore on a test server.
Listing Available Backups
When I list the available backups:proxmox-backup-client list --ns hosts/postgres-serverThe latest snapshot shown is:
host/postgres-server/2026-02-09T21:00:01ZRestore Command Used
I run the restore without specifying a snapshot name:proxmox-backup-client restore host/postgres-server postgres.pxar /mnt/test --ns hosts/postgres-serverSince I do not define a specific snapshot, the command is expected to use the latest available snapshot of the group.
Observed Behavior
Instead of restoring the latest completed snapshot (2026-02-09T21:00:01Z), the client attempts to restore a newer snapshot:2026-02-10T21:00:02ZHowever, this snapshot is still being created (the backup task is not finished yet), and the restore fails.
Question
Is this behavior expected?If so, what is the reasoning behind selecting a snapshot that is still in progress?
If not, would it make sense to adjust the logic so that, when no snapshot is explicitly specified, only fully completed snapshots are considered?
Thanks in advance for your feedback.
Last edited: