Hi,
Is there some special-sauce to getting the PBS Client working?
I've been following the docs (which need updating btw...) and a few youtube videos to try and work out what is going on, but it just seems....intermittant.
What works one minute, a few mins later doesn't work and either complains about permission errors, or the "$XDG_RUNTIME_DIR" error.
For the setup I'm attempting -
For the scripts I'm using to backup different data sets, I have them following this format -
The first time I ran this, it works, but wanted the root@pbs password.
Further changes to syntax and whether im using the API key or user password have been attempted, similar results.
What obvious thing am i missing here?
Thanks!
Is there some special-sauce to getting the PBS Client working?
I've been following the docs (which need updating btw...) and a few youtube videos to try and work out what is going on, but it just seems....intermittant.
What works one minute, a few mins later doesn't work and either complains about permission errors, or the "$XDG_RUNTIME_DIR" error.
For the setup I'm attempting -
PBS Server
I have setup on PBS -
- A backup user
- Added an API key
Set the permissions on PBS for both the user and key to be applied to '/', and with the role of 'Datastore Admin' - for the sole reason that that role includes both backup related permissions and a few others - the docs on what is needed for the client to function appear to be missing, so its kind of guess work, working down from full admin.
Client
The client is a fresh Ubuntu Server VM, 23.04, hosted on Unraid, passing through a backup share via Virtio-9P.
Variables for PBS_REPOSITORY, PBS_FINGERPRINT & PBS_PASSWORD have been set in /etc/environment, and verified via
set | grep PBS
.Settings used in variables -
- PBS_REPOSITORY = server name (DNS not IP)
- PBS_FINGERPRINT = Fingerprint of server
- PBS_PASSWORD = API key of backup user.
For the scripts I'm using to backup different data sets, I have them following this format -
proxmox-backup-client backup <name_of_archive>.pxar:<location_of_data_to_backup> --skip-lost-and-found true
The first time I ran this, it works, but wanted the root@pbs password.
Further changes to syntax and whether im using the API key or user password have been attempted, similar results.
What obvious thing am i missing here?
Thanks!