You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Testing.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
## To test
1
+
## Testing Backup and Restore
2
2
To test the project we need to simulate running a live system , taking it down and restoring the system. For this test we have two Docker Compose files for the system `docker-compose-live.yaml` and `docker-compose-restore-test.yaml` in a real restore scenario we will only have on Docker Compose file as we expect the restore is being done on a separate instance. We also have separate files for Backup and Restore (`docker-compose-backup-service.yaml` and `docker-compose-restore-service.yaml`)
3
3
Run:
4
4
@@ -60,7 +60,7 @@ crond 4.5 dillon's cron daemon, started with loglevel notice
@@ -283,6 +283,7 @@ You should see logs similar to:
283
283
6 rows in set (0.001 sec)
284
284
285
285
```
286
+
### Validate volume restore
286
287
287
288
We have two services to validate that volumes are restored correctly. see `web` and `web-2` in the `docker-compose-restore-test.yaml` file. When the `docker-compose-restore-service.yaml` file is used the `web` and `web-2` will wait for restore to complete before starting. The service then run ls on the restored mounts to confirm that the restore happened run;
0 commit comments