Change Owner all vm's in repository

sander93

Renowned Member
Sep 30, 2014
57
2
73
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
 
not via the API/GUI/CLI. the owner is stored in a file called 'owner' inside the backup group though, so.. ;)
 
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 yours easily in our online shop.

Buy now!