Update updating.md
This commit is contained in:
parent
7f44a6f187
commit
72d3ace0f9
@ -45,11 +45,14 @@ A full list of options to upgrade a database provide in the [official PostgreSQL
|
||||
``` bash
|
||||
docker exec -t {{database_container}} pg_dumpall -U {{djangouser}} > ~/tandoor.sql
|
||||
```
|
||||
|
||||
3. Stop the postgres container
|
||||
``` bash
|
||||
docker stop {{database_container}} {{tandoor_container}}
|
||||
```
|
||||
|
||||
4. Rename the tandoor volume
|
||||
|
||||
``` bash
|
||||
sudo mv -R ~/.docker/compose/postgres ~/.docker/compose/postgres.old
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user