Hi I'm trying to use:
https://pbs.proxmox.com/docs/backup-client.html#environment-variables
PBS_PASSWORD_FILE=/etc/proxmox/filename1
PBS_ENCRYPTION_PASSWORD_FILE=/etc/proxmox/filename2
Contents of filename1 would be "ActualPassword" (no quotes)
But as soon as I run the client i get prompted for the password:
Password for "user@pbs":
Followed by
Encryption Key Password:
The user is part of the environment var "PBS_REPOSITORY" and it's picking that up without issue.
If i set "PBS_PASSWORD=ActualPassword" and the same for "PBS_ENCRYPTION_PASSWORD=" Then proxmox-backup-client picks up those values and carry's on without prompting. (But I need to be able to use the _FILE var's instead)
Can any one help confirm the issues or point out what I might be doing wrong?
Many Thanks
https://pbs.proxmox.com/docs/backup-client.html#environment-variables
PBS_PASSWORD_FILE=/etc/proxmox/filename1
PBS_ENCRYPTION_PASSWORD_FILE=/etc/proxmox/filename2
Contents of filename1 would be "ActualPassword" (no quotes)
But as soon as I run the client i get prompted for the password:
Password for "user@pbs":
Followed by
Encryption Key Password:
The user is part of the environment var "PBS_REPOSITORY" and it's picking that up without issue.
If i set "PBS_PASSWORD=ActualPassword" and the same for "PBS_ENCRYPTION_PASSWORD=" Then proxmox-backup-client picks up those values and carry's on without prompting. (But I need to be able to use the _FILE var's instead)
Can any one help confirm the issues or point out what I might be doing wrong?
Many Thanks