Unverified Commit 9cbb3361 authored by Oleh's avatar Oleh

edit backup-procedure.md

parent b2d3a68d
...@@ -23,12 +23,24 @@ docker-compose down ...@@ -23,12 +23,24 @@ docker-compose down
command: -s -y -d -b command: -s -y -d -b
``` ```
2. Copy the backed up `sgx_data` directory to the recovery `sgx_data` directory. 2. Edit the `docker-compose.yml` and add `stdin_open: true` option.
3. Execute:
```yaml
version: "3"
services:
app:
image: app:1.2.3
stdin_open: true
```
3. Copy the backed up `sgx_data` directory to the recovery `sgx_data` directory.
4. Execute:
```bash ```bash
docker-compose up docker-compose up -d
``` ```
4. Enter the backup key when prompted. 5. Open another terminal window and run `docker attach container_name` there.
5. Edit the `docker-compose.yml` file and remove the `-b` flag.
6. Enter the backup key when prompted.
7. Edit the `docker-compose.yml` file and remove the `-b` flag `stdin_open: true` option.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment