Stub for testing restore of a backup mande with the cloud_backup script.
This commit is contained in:
4
test/Dockerfile
Normal file
4
test/Dockerfile
Normal file
@@ -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
|
||||
6
test/README.md
Normal file
6
test/README.md
Normal file
@@ -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/`.
|
||||
|
||||
Reference in New Issue
Block a user