PBS Sync Job

Byphone

Active Member
Jan 9, 2017
20
0
41
48
Hello,

Just setup pbs server to evaluate the solution, and my first impressions are really good. I wonder if it's possible to have sync job for only some vm(s) backup, and not the full datastore. I want to send to another pbs server only vm(s) for a specific client.

Any idea ?

Regards
 
Is there any idea that the feature will be made available on the enterprise repository ?

Do you have more explanations about this workaround ?
"while it's possible to achieve similar results with hacky workarounds
based on group ownership and reduced "visibility", implementing it
properly is not that complex."
 
it will be made available in the pve-enterprise repository once it's been implemented (there will be another iteration of the patch for review soon) and gone through the usual testing (internal -> public test repo -> public community repo).

the workaround is the following
- create new user/token
- change owner of groups you want to sync to newly created user/token
- set permissions so that newly created user/token can only access its own backups, and not those of other users
- setup new remote using new user/token as accessing entity
- setup sync using new remote

since the remote entry can only access the groups owned by the newly created user/token, sync jobs using it can also only sync the same groups. be careful to not set 'remove_vanished', else other groups previously synced/created in other ways might be deleted!
 
  • Like
Reactions: Byphone

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!