[SOLVED] datastore question

RobFantini

Famous Member
May 24, 2012
2,022
107
133
Boston,Mass
Hello, we've been using pbs since shortly after it was released. we purchased a new system for pbs so i have some questions.

we have 8 datastores. some of the data is similar in most of them so i want to learn how to use pbs more efficiently.

for instance we have these 2 datastores:
desktops and nextcloud. all of the desktops for each user have some fairly large nextcloud folders . with two datastores there is wasted storeage space I assume.

is the best thing to just make one datastore and have the backups go to that one datastore?

is there a way to subdivide a datastore so that nextcloud and desktops have different retention periods?
 
is the best thing to just make one datastore and have the backups go to that one datastore?
If you don't want all data to be stored twice, yes.
is there a way to subdivide a datastore so that nextcloud and desktops have different retention periods?
I hope they will add a feature in the future to create groups inside a single datastore. If you are using the proxmox-backup-client you could use the prune command to use a individual prune like this: proxmox-backup-client prune <group> --keep-daily 7 --keep-weekly 4 --keep-monthly 3. And if you are using the PVEs webUI, since PVE7.1 / PBS2.1 you can create multiple backup tasks with individual backups retentions. But you need to make sure that a guest isn't part of multiple backup tasks or only the lesser restrictive retention will be used. So you basically want to let PVE and the backup client to initiate the pruning instead of a datastore wide pruning by PBS.
 
Last edited:
  • Like
Reactions: RobFantini

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!