Stub for testing restore of a backup mande with the cloud_backup script.

This commit is contained in:
Stephan
2023-11-17 23:15:31 +01:00
parent 6dfb51cbf0
commit 6421b6b6c9
2 changed files with 10 additions and 0 deletions

6
test/README.md Normal file
View 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/`.