This project is no longer maintained. If someone would like to adopt it I'll be happy to transfer it.
Personally, I now prefer Restic.
- BackupPC based on Ubuntu 14.04
- Support for sending status mail using msmtp
- You can use environment variables MAILHOST and FROM to set the target mail relay host and mail "from" address, respectively.
- change backuppc htaccess password in Dockerfile line 19 (or you may change it in the mapped configuration volume)
If you use rsync
based backup, an SSH key is generated for you.
You can configure any backup target to accept this key
- cd into the directory
- run
docker build
- run the image
docker run -d -P -v /<your-backup-folder>:/var/lib/backuppc -v /conf-dir:/etc/backuppc <image-id>
This image declares /var/lib/backuppc and /etc/backuppc as volumes. You SHOULD map /var/lib/backuppc to a host volume (this will contain your backups). You MAY map /etc/backuppc to a location to preserve configuration if you re-create your docker container.