2 datacenters, one PBS backup : VM names conflict ?

polopolo92

Member
May 12, 2020
25
2
23
61
Hello

I have 2 separate datacenters, one is hosting a PBS server
As the name of the backups displayed are based on the VM Id, I was wondering if I can do backup for a second datacenter (same VM Id are used startin from 100) without issue ?
Is there a "unique id" somewhere which contains the datacenter id also ?

Thanks
 
You could use one datastore per datacenter to keep them nicely separated.

Is there a "unique id" somewhere which contains the datacenter id also ?
Someone else might correct me but AFAIK no.
 
But if multiple datastores or backup servers are managed across clusters, it is inconvenient. Can comments automatically add datacenter, host, vmname and other information during backup?
Or the directory is not based on vmid but based on vm name? I see that there is a host but I don’t see how to configure it. Is it backup server sync dir?
 
We have a "namespace" feature on the roadmap, allowing to use a shared datastore cleanly, until then, you need to use separate datastores.

Note, separate datastores are always required if you do not trust the different users, a datastore is seen as a trust domain.
 
Hi everyone,
are there any updates about using the same datastore of one PBS backup shared as the same target of backup between 2 PVE datacenters?
Thanks a lot
Tommaso
 
no, the current state is still the same - use multiple datastores to backup multiple PVE clusters. those datastores can share a single disk/storage underneath - a datastore is just a directory (hierarchy).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!