Skip to content

Dockerized Proxmox Backup Client for both AMD64 and ARM64 architectures

Notifications You must be signed in to change notification settings

fred-drake/proxmox-backup-client-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Variable Required? Description Example
CRON_SCHEDULE Yes Schedule you want backups to run 00 03 * * *
BACKUP_TARGETS Yes Targets you wish to back up etc.pxar:/etc var.pxar:/var
CUSTOM_HOST No Sets the host label on the backup server, defaults to container host name nas1

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@pam!mytoken@backup.myhost.com: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

About

Dockerized Proxmox Backup Client for both AMD64 and ARM64 architectures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published