Adding PBS to PMG server Pemission error 500

Udbytossen

Active Member
Apr 25, 2019
17
0
41
50
Hi Forum.
I having some issues on how to add the PBS server correctly

I have 2 Psycal servers running at home
Code:
Server1  - MicroServer - running pve 8.3.0
         - Running PMG as a Container version 8.1.4

Server2 - Compulab uSRV - Running pbs 3.2-2
        - Storage1 config (configuration of the different services etc)
        - Storage 2 Data (Data from my different VM's running on PVE)

I have setup and added the PBS on the PVE, and thats running fine, with some machines etc are backup'ed as usual.
Now I want to add the PBS in the PMG directly, to get the configuration etc backed up. I've added the user in PBS
Whenever I try to add an user with the name backup@Domain.dk@pbs - its says the Regex are not accepted - so can only login as a user instead of API login
Adding the user through the PBS webinterface and added permission to the user backup@domain.dk,

Listing them Through CLI shows afterwards this user
Code:
# proxmox-backup-manager user list
┌────────────────────────┬────────┬────────┬───────────┬──────────┬────────────────────┬─────────┐
│ userid                 │ enable │ expire │ firstname │ lastname │ email              │ comment │
╞════════════════════════╪════════╪════════╪═══════════╪══════════╪════════════════════╪═════════╡
│ backup@webmeup.dk@pbs  │      1 │  never │           │          │ support@domain.dk │         │
├────────────────────────┼────────┼────────┼───────────┼──────────┼────────────────────┼─────────┤
│ root@pam               │      1 │  never │           │          │ support@domain.dk │         │
├────────────────────────┼────────┼────────┼───────────┼──────────┼────────────────────┼─────────┤
│ support@domain.dk@pbs │      1 │  never │           │          │ support@domain.dk │         │
└────────────────────────┴────────┴────────┴───────────┴──────────┴────────────────────┴─────────┘

And listing the permission for the user shows
Code:
# proxmox-backup-manager acl list
┌─────────────────────────────────────┬───────────────────┬───────────┬────────┐
│ ugid                                │ path              │ propagate │ roleid │
╞═════════════════════════════════════╪═══════════════════╪═══════════╪════════╡
│ backup@domain.dk@pbs               │ /                 │         1 │ Admin  │
├─────────────────────────────────────┼───────────────────┼───────────┼────────┤
│ backup@domain.dk@pbs               │ /datastore        │         1 │ Admin  │
├─────────────────────────────────────┼───────────────────┼───────────┼────────┤
│ backup@domain.dk@pbs               │ /datastore/Config │         1 │ Admin  │
├─────────────────────────────────────┼───────────────────┼───────────┼────────┤

And then adding it in PMG interface went OK - but afterwards getting this error - where proxmox-backup-client failing error 500
1733567388559.png
And giving me an email with this line in

Code:
starting update of current backup state
command '/usr/bin/proxmox-backup-client backup '--crypt-mode=none' pmgbackup.pxar:/tmp/pbsbackup_PBS-Server_416.1733564679 --backup-type host --backup-id pmg --repository backup@domain.dk@pbs.domain.dk:Config' failed: exit code 255

But somehow I can not find where this error come from and what I'm doing wrong here. Or is it just as simple as 2 client can not use the same Storage?

Thansks in advance for any replys or ideas on how to solve this,
 

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!