[SOLVED] proxmox-backup-debug returns empty snapshot list

rahman

Well-Known Member
Nov 1, 2010
108
9
83
I am trying to list all snapshots in a datastore on PBS CLI with "proxmox-backup-debug" command. The command seems to work but does not list the snapshots:

Code:
root@pbs2:~# proxmox-backup-manager datastore list
┌─────────┬───────────────────────┬─────────┐
│ name    │ path                  │ comment │
╞═════════╪═══════════════════════╪═════════╡
│ default │ /datastore/default    │         │
├─────────┼───────────────────────┼─────────┤
│ ulakfkm │ /rpool/ulakfkms3cache │         │
└─────────┴───────────────────────┴─────────┘

Code:
oot@pbs2:~# proxmox-backup-manager datastore show default
┌───────────────────┬──────────────────────────────────────────────┐
│ Name              │ Value                                        │
╞═══════════════════╪══════════════════════════════════════════════╡
│ name              │ default                                      │
├───────────────────┼──────────────────────────────────────────────┤
│ path              │ /datastore/default                           │
├───────────────────┼──────────────────────────────────────────────┤
│ comment           │                                              │
├───────────────────┼──────────────────────────────────────────────┤
│ gc-schedule       │ 03:00                                        │
├───────────────────┼──────────────────────────────────────────────┤
│ notification-mode │ legacy-sendmail                              │
├───────────────────┼──────────────────────────────────────────────┤
│ notify            │ gc=error,prune=error,sync=error,verify=error │
├───────────────────┼──────────────────────────────────────────────┤
│ prune-schedule    │ daily                                        │
├───────────────────┼──────────────────────────────────────────────┤
│ keep-daily        │ 5                                            │
├───────────────────┼──────────────────────────────────────────────┤
│ keep-hourly       │ 8                                            │
├───────────────────┼──────────────────────────────────────────────┤
│ keep-last         │ 1                                            │
├───────────────────┼──────────────────────────────────────────────┤
│ keep-monthly      │ 5                                            │
├───────────────────┼──────────────────────────────────────────────┤
│ keep-weekly       │ 3                                            │
├───────────────────┼──────────────────────────────────────────────┤
│ keep-yearly       │ 1                                            │
└───────────────────┴──────────────────────────────────────────────┘

Code:
oot@pbs2:~# proxmox-backup-debug api get /admin//datastore/default/namespace
┌───────────────┬─────────┐
│ ns            │ comment │
╞═══════════════╪═════════╡
├───────────────┼─────────┤
│ client-backup │         │
├───────────────┼─────────┤
│ default       │         │
└───────────────┴─────────┘

Code:
root@pbs2:~# proxmox-backup-debug api get /admin//datastore/default/snapshots
root@pbs2:~#

Any idea why it can't list the snapshots?
 
  • Like
Reactions: rahman