Hello there,
I've been using BackupPC recently but I want to switch to a more modern solution. I'm using Hetzner Cloud VMs for Proxmox-Server and my servers (proxmox clients) as well. I've setup Proxmox from repo on ubuntu 24.
I've setup backup@pbs user with Permissions to my Datastore:
and API token for client authentication as well:
on my proxmox-client (server vm to be backup'ed):
Gives me:
Same for proxmox-backup-client backup (actually skipped by exit in the script).
What is wrong here?
By the way without PBS_FINGERPRINT proxmox-client is continously asking me to confirm the fingerprint for ever!
proxmox-backup-client version
client version: 3.4.1
I've been using BackupPC recently but I want to switch to a more modern solution. I'm using Hetzner Cloud VMs for Proxmox-Server and my servers (proxmox clients) as well. I've setup Proxmox from repo on ubuntu 24.
I've setup backup@pbs user with Permissions to my Datastore:
Path | User/Group/API-Tooken | Role | Propagate |
/ | backup@pbs | DataStoreBackup | Yes |
/datastore/ds0-hetzner-backup | backup@pbs!server01 | DatastoreBackup | Yes |
and API token for client authentication as well:
User | Token Name | Enabled | Expire | Comment |
backup@pbs | server01 | Yes | never |
on my proxmox-client (server vm to be backup'ed):
Bash:
PBS_HOST='proxmox.vlan.my-proxmox-server.net'
PBS_TOKEN_NAME='server01'
PBS_TOKEN_SECRET='043****-****-****-****-********576'
PBS_DATASTORE='ds0-hetzner-backup'
export PBS_FINGERPRINT="c5:07:70:ea:7e:02:e9:77:e7:c5:15:ed:cd:c5:d1:57:53:30:d9:eb:75:1b:41:49:91:f5:b0:ff:f8:21:6f:8c"
export PBS_REPOSITORY="backup@pbs@${PBS_TOKEN_NAME}@${PBS_HOST}:${PBS_DATASTORE}"
export PBS_PASSWORD="${PBS_TOKEN_NAME}!${PBS_TOKEN_SECRET}"
proxmox-backup-client snapshot list
exit
proxmox-backup-client backup \
etc.pxar:/etc \
vmail.pxar:/var/vmail \
--repository "${PBS_REPOSITORY}" \
--backup-id $(hostname --fqdn) \
--exclude '*.cache'
Gives me:
Code:
Error: permission check failed.
Same for proxmox-backup-client backup (actually skipped by exit in the script).
What is wrong here?
By the way without PBS_FINGERPRINT proxmox-client is continously asking me to confirm the fingerprint for ever!
proxmox-backup-client version
client version: 3.4.1
Last edited: