I have this cron script setup and working "ok" on three of four servers of ours : goal is to backup PVE directories and key directories in case of "server crash" for a fast restore.
I am using client version: 1.1.5 and latest proxmox server 6.4.5
This script has been debuged and is working very well on three of our four servers.
On the last server it is pulling out an error which is weird and impossible to understand to me :
I could use some help since this is looking like a bug at this stage to me.
Sincerely yours.
I am using client version: 1.1.5 and latest proxmox server 6.4.5
Code:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PBS_PASSWORD="94dc2daa-blablablalabla-0a1199377a5a"
46 0 * * * root proxmox-backup-client backup etc-pve.pxar:/etc/pve var-lib-pvecluster.pxar:/var/lib/pve-cluster root.pxar:/root etc-network-interfaces.pxar:/etc/network --all-file-systems true --repository 'backup@pbs!backup_etc@mysrv.domain.lan:BackupPMX' > /dev/null
This script has been debuged and is working very well on three of our four servers.
On the last server it is pulling out an error which is weird and impossible to understand to me :
Code:
root@mysrv:/home/user# proxmox-backup-client backup etc-pve.pxar:/etc/pve var-lib-pvecluster.pxar:/var/lib/pve-cluster root.pxar:/root etc-network-interfaces.pxar:/etc/network --all-file-systems true --repository 'backup@pbs!backup_etc@mysrv.domain.lan:BackupPMX'
Starting backup: host/mysrv/2021-05-05T06:05:20Z
Client name: mysrv
Starting backup protocol: Wed May 5 08:05:20 2021
Error: backup owner check failed (backup@pbs!backup_etc != remotebckp@pbs!remote_bckp)
- I am not asking this cron script to be executed using "remotebckp@pbs!remote_bckp" but "backup@pbs!backup_etc"
- PBS_PASSWORD is properly set and works as expected on all servers
- I don't understand why this server seems to switch user / token when asked to do his backup ???
- No previous file level backup have been done for this PMX server and keys are properly set (AFAICT)
I could use some help since this is looking like a bug at this stage to me.
Sincerely yours.