Hi there,

Quick poll:

How many have used Docker to run BackupPC in a container?

My question stems from Github/BackupPC issue #559. [1]

In private correspondence, one of the contributors to that issue has
been having trouble with setting up the recent *rc1 packages.

To test, I modified the Dockerfile from adferrand [2] and I used this
to build a Docker image and from that image start container that then
at startup configures BackupPC from scratch if it has not previously
been run (if it has been run it reads the configuration from the host
storage).  After the first start I configured BackupPC manually using
the Web UI and told it to make its first backup.

As until this I was quite unfamiliar with Docker that took about three
days in total.  Now that it's done I have a Dockerfile and a couple of
shell scripts which make firing up a container running the latest *rc1
versions of the three BackupPC packages entirely automatic.  Assuming
that the Docker daemon is already running and that the rc1 tarball for
rsync-bpc-3.4.1.0rc1 is in Docker's .../files/ directory it's a simple
matter to create empty directories for non-volatile data on the host,
then execute

./build

(which might take a couple of minutes) followed by

./run

(which takes seconds) to spin up the container then configure, install
and start a BackupPC installation based on

BackupPC-4.4.1rc1
BackupPC-XS 0.63rc1
rsync-bpc-3.4.1.0rc1

This setup did its first backup here this afternoon.

Perhaps more people might be interested in helping me test...?

[1] https://github.com/backuppc/backuppc/issues/559
[2] https://github.com/adferrand/docker-backuppc

--

73,
Ged.


_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to