neomediatech/pbs
Proxmox Backup Server on a Docker container
95
Warning**Maybe something is not working, use this image with caution, bad things can happens. YHBW**
Proxmox Backup Server on a Docker container
./run.sh
;-)
What does run.sh do:
.envs
file.shell-vars
file (see example)ordocker run -d --name pbs neomediatech/pbs
Name | Description | Default |
---|---|---|
ADMIN_PASSWORD | Password to access PBS web interface (mandatory) | (none) |
RELAY_HOST | Hostname to use to relay email from Postfix | |
PBS_ENTERPRISE | If set to "yes", enterprise repository will be retained | no |
Set vars in run.sh
script and/or set them in .envs
file.
Example .envs
file:
ADMIN_PASSWORD=myrealsecretpassword
RELAY_HOST=10.40.50.4
Name | Description | Default |
---|---|---|
INTERACTIVE | Run the container in "interactive mode" (run it in foreground) CTRL+C will end the container | no |
MOUNT_PBS_MOUNT | mount the mountpoint set in PBS_MOUNT var? Must be in the fstab host | yes |
CREATE_DATASTORE | Create the datastore if it doesn't exists? (The name will be "pbs") | no |
NAME | Proxmox Backup Server name | pbs |
PBS_DATASTORE_NAME | The datastore name | pbs |
BASE_PATH | Path where to store PBS configurations, users, etc... | /srv/pbs |
PBS_MOUNT | Path to store backups | /media/pbs-backup |
.shell-vars
example file:
NAME="myserver-pbs"
PBS_DATASTORE_NAME="backups"
BASE_PATH="/srv/pbs"
INTERACTIVE="no"
MOUNT_PBS_MOUNT="no"
CREATE_DATASTORE="yes"
PBS_MOUNT="/mnt/pbs-backup"
Put your docker bindmount in the script run.sh or in the .volumes
file.volumes
example file:
${BASE_PATH}/data:/data
${BASE_PATH}/config:/etc/proxmox-backup
${BASE_PATH}/data/logs:/var/log/proxmox-backup
${BASE_PATH}/data/lib:/var/lib/proxmox-backup
${BASE_PATH}/data/bin:/srv/bin
docker pull neomediatech/pbs