/docker-backuppc-automated

Docker container running BackupPC on Ubuntu. Optimized for automated deployment (e.g. by scheduled upgrade scripts).

Primary LanguageDockerfile

Summary

  • BackupPC based on Ubuntu 18.04.
  • Support for sending status mail using msmtp.
  • Support for external settings, to allow automated container update/stop/rm/start. Use a script like this one.

How to use

  • Change the smtp host in msmtprc.
  • Place config.pl, localhost.pl and passwd config files into . Passwd should contain just a password for the backuppc user.
  • Cd into the repository's directory.
  • Run docker build ..
  • Run the image docker run -d -P -v /<your-backup-folder>:/var/lib/backuppc -v /<your-settings-folder>:/opt/backuppc_settings <image-id>.