Sign inSign up

fdrake/proxmox-backup-client

By fdrake

Updated over 2 years ago

Dockerized Proxmox Backup Client for both AMD64 and ARM64 architectures

Image
Databases & storage
2

10K+

fdrake/proxmox-backup-client repository overview

Dockerized Proxmox Backup Client

Benefits

There are two primary benefits to using this container:

  • The PBS client is only officially available for Debian or Ubuntu. This container enables backups on servers that have docker, but are either not based on Debian or do not want the app installed directly on the server. Unraid is a great example.

  • The PBS client is only officially available for AMD64 architecture. A workaround has been bundled which allows this to also run on ARM64. The most popular use would probably be Raspberry Pi servers.

Usage

The official client environment variables are leveraged, along with additional environment variables:

VariableRequired?DescriptionExample
CRON_SCHEDULEYesSchedule you want backups to run00 03 * * *
BACKUP_TARGETSYesTargets you wish to back upetc.pxar:/etc var.pxar:/var
CUSTOM_HOSTNoSets the host label on the backup server, defaults to container host namenas1
Note

When running your docker container, you need to set the tmpfs mount to /tmp. If you don't, your fidx and didx files from the previous backup will not be readable and you won't get an accurate incremental backup.

Example
docker run \
    -e BACKUP_TARGETS="home.pxar:/mnt/bob" \
    -e CRON_SCHEDULE="00 03 * * *" \
    -e PBS_REPOSITORY="root@[email protected]:backup1" \
    -e PBS_PASSWORD="93ad57ba-4881-4538-9023-a2d7c24c8451" \
    -e CUSTOM_HOST="bobs-server" \
    --tmpfs /tmp \
    -v /home/bob:/mnt/bob:ro \
    -d \
    fdrake/proxmox-backup-client:latest

Tag summary

Content type

Image

Digest

sha256:aa2aa0160

Size

61.6 MB

Last updated

over 2 years ago

docker pull fdrake/proxmox-backup-client