This was built to run on an unraid server, so here are some specific setup steps for that.
SSH into unraid and perform the following:
mkdir -p /mnt/user/appdata/pbclient && chown nobody:nousers /mnt/user/appdata/pbclient
docker run --rm -i -v /mnt/user/appdata/pbclient:/config kwatson/pbclient:latest proxmox-backup-client key create /config/client.key --kdf none
You can use the userscripts application to setup a recurring schedule for this.
docs.pxar:/data
is a friendly name for the unraid share, and/data
is where it's mounted in the containerunraid@pbs\!unraid-agent
is the API usernamePBS_PASSWORD
is your api token--backup-id unraid-docs
is a friendly name that's displayed under Content in the proxmox backup UI. Without this, it would default to the hostname of the container, which is different after each run.MYPBS
is the ip or url to your proxmox backup serverDATASTORE
is the name of your datastore
docker run --rm \
-v /mnt/user/appdata/pbclient:/config \
-v /mnt/user/Docs:/data \
-e PBS_PASSWORD=CHANGEME \
-e PBS_REPOSITORY=unraid@pbs\!unraid-agent@MYPBS:DATASTORE \
kwatson/pbclient:latest proxmox-backup-client backup docs.pxar:/data --keyfile /config/client.key --backup-id unraid-docs