-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi,
you can create namespaces on PBS, so you can easily use one PBS for multiple PVE servers/clusters and separate their backups from each other. If all your backups are organized in namespaces, the current check doesn't see a single backup because it only looks at the root namespace:
root@pbs:/# proxmox-backup-client list --repository "$repo" --output-format json-pretty
[]
root@pbs:/# proxmox-backup-client list --repository "$repo" --output-format json-pretty --ns cust1 | head
[
{
"backup-count": 27,
"backup-id": "155",
"backup-type": "vm",
"files": [
"qemu-server.conf.blob",
"index.json.blob",
"client.log.blob",
...
You'd have to iterate namespace dependent commands over all available namespaces using the --ns switch. You can get a list of all namespaces like so:
proxmox-backup-client namespace list --repository "$PBS_REPO:$name" --output-format json-pretty
Metadata
Metadata
Assignees
Labels
No labels