Hello,
i have problems to connect the pbs client with api token to the pbs server.
generally it works with the command:
proxmox-backup-client backup backup.pxar:/ --all-file-systems true --repository ip_pbs_server:data
then a password request follows, the backup is performed.
My target:
automate the backup command with a script with api token without pw request.
Steps so far:
on the server:
Token created, admin rights
user and token added to datastore as admin
at the client:
export PBS_PASSWORD=token secret
export PBS_REPOSITORY=testuser@pbs!token@ip_pbs_server:data
-> Error, event not found.
What am I doing wrong and where are the environment variables stored on the client?
i have problems to connect the pbs client with api token to the pbs server.
generally it works with the command:
proxmox-backup-client backup backup.pxar:/ --all-file-systems true --repository ip_pbs_server:data
then a password request follows, the backup is performed.
My target:
automate the backup command with a script with api token without pw request.
Steps so far:
on the server:
Token created, admin rights
user and token added to datastore as admin
at the client:
export PBS_PASSWORD=token secret
export PBS_REPOSITORY=testuser@pbs!token@ip_pbs_server:data
-> Error, event not found.
What am I doing wrong and where are the environment variables stored on the client?
Last edited: