Change Owner all vm's in repository

sander93

Active Member
Sep 30, 2014
44
1
28
Hello,

I used the root user for back-up, but i wan't to change it to a seperate user with the role DatastoreBackup.

i found you can change the owner with:
proxmox-backup-client change-owner vm/id new-user --repository localhost:datastore

But is there some way to change all back-up onwers at once? i have more then 170 vm's where i need to change the owner.

i tried vm/* but this isn't working.

Kind regards,

Sander
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
6,502
1,123
164
not via the API/GUI/CLI. the owner is stored in a file called 'owner' inside the backup group though, so.. ;)
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
6,502
1,123
164
yes, either by scripting the client or by scripting modifications to those files (the latter is obviously more dangerous if you get it wrong)
 

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 your own in 60 seconds.

Buy now!