|
|
|
1. Copy the backup in to the server.
|
|
|
|
|
|
|
|
2. Modify the `docker-compose.yml` file to add the backup instead the `import-postgres.sql` file:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
...
|
|
|
|
#- /home/opencell/input-files/import-postgres.sql:/docker-entrypoint-initdb.d/import-postgres.sql
|
|
|
|
- /home/opencell/opencell_12-09-19.sql:/docker-entrypoint-initdb.d/opencell_test.sql
|
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
3. Done! |