diff --git a/test/Dockerfile b/test/Dockerfile new file mode 100644 index 0000000..e90f4bf --- /dev/null +++ b/test/Dockerfile @@ -0,0 +1,4 @@ +## Creates a docker image of debian + Apache + PHP + Maria DB. +# Build the Image and run a Container to test the restore of your cloud_backup. + +FROM debian:Bookworm \ No newline at end of file diff --git a/test/README.md b/test/README.md new file mode 100644 index 0000000..5d43d47 --- /dev/null +++ b/test/README.md @@ -0,0 +1,6 @@ +# Testing the Backup + +The backup created with cloud_backup.sh can be tested by restoring with `cloud_restore.sh`. That can be done in the sandboxed environment a docker container provides. + +With the [Dockerfile](./Dockerfile) an image of debian Bookworm + Apache + PHP + MariaDB is created. Run a container, check the correct deployment of your backup settings and run the `cloud_restore.sh` script from the users home inside the container. After that a copy of your cloud should be accessible via `http://localhost:8080/`. +