Good way to backup from several PVE clusters to one PBS (I hope)

ednt

Well-Known Member
Mar 16, 2017
107
7
58
I thought this would be interresting for others too:

If you want to use a central PBS for more then one cluster, you run into the problem of double IDs.

Ok, you can use different datastores, but then you have to know the expected sizes.

We did an other aproach:
We build one big datastore and afterwards we add datastores via absolute backing path which are below the big datastore.

Datastore data-1 (the main ZFS datastore) is located in:

/mnt/datastore/data-1

So I added a datastore user-1 with the path:

/mnt/datastore/data-1/user-1

user-1@pbs has backup permission to this datastore


I added a datastore user-2 with the path:

/mnt/datastore/data-1/user-2

user-2@pbs has backup permission to this datastore

No one has permission to the main datastore data-1


Now we can use user-1@pbs and datastore user-1 in cluster 1
and user-2@pbs and datastore user-2 in cluster 2

The storage is for all, and there can be no conflicts of IDs.

Maybe someone find this usefull.
 
I know you're not actually asking a question, but I'm curious about the setup. Isn't this functionally equivalent to setting up two different datastores, but just with a third unnecessary datastore beneath them? If they're still sharing the one volume, it doesn't seem to fix the issue of having to know the expect sizes in advance.
Also note that although I can't find the post, I have a faint recollection that somebody had an issue in the past because of nesting datastores. However, I can't remember the context of the question, so the issue could be totally irrelevant here.
 
I know you're not actually asking a question, but I'm curious about the setup. Isn't this functionally equivalent to setting up two different datastores, but just with a third unnecessary datastore beneath them? If they're still sharing the one volume, it doesn't seem to fix the issue of having to know the expect sizes in advance.
Also note that although I can't find the post, I have a faint recollection that somebody had an issue in the past because of nesting datastores. However, I can't remember the context of the question, so the issue could be totally irrelevant here.
It might be this one where the root disk got filled because the logging got confused of nested datastores
https://forum.proxmox.com/threads/root-disk-filling-up.84215/#post-370415
 
Kind a help here!!
I'm truly needing some advice regarding proxmox. How can I take a piece a free space in a proxmox server and share it with other hosts as a backup storage???
Thanks in advance.
 
Ok, you can use different datastores, but then you have to know the expected sizes.
I don't get why, I might be missing something.

You create a pool, then you create datasets inside the pool (one per datastore) and you map each datastore to one dataset.
You don't have to know the size, thanks to the datasets.
 
You create a pool, then you create datasets inside the pool (one per datastore) and you map each datastore to one dataset.
You don't have to know the size, thanks to the datasets.
That was the idea, like in TrueNAS.
But it is not possible via the WEB GUI.

Also I did not found the corresponding zfs cmd.
(Personally I don't like zfs)
 
  • Like
Reactions: dominix
But from the directory structure it is then still 'nested'.
Or I have to remove the parent datastore from the PBS.

I have to check if this is possible without loosing the datasets below.
 
They're nested if you have a parent repository that points to the zpool.

I don't think repo and dataset are tightened together (ie: if you remove a repo, it won't touch the dataset/pool), because the repo can be something else than a ZFS pool/dataset (NFS mount, local LVM or USB disk).
 
  • Like
Reactions: DerDanilo

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!