1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

correct command to restore SQL dump

This commit is contained in:
Sylvain 2020-03-10 12:28:37 +01:00
parent d40ae6fb2f
commit 32d29734fd

View File

@ -43,7 +43,7 @@ docker-compose down
docker-compose up -d postgres
docker-compose exec postgres dropdb -U postgres fabmanager_production
docker-compose exec postgres createdb -U postgres fabmanager_production
docker-compose exec postgres pg_restore -U postgres -d fablab_production /var/lib/postgresql/data/fabmanager_production_$(date -I).sql
docker-compose exec postgres psql -U postgres -d fablab_production -f /var/lib/postgresql/data/fabmanager_production_$(date -I).sql
```
<a name="postgresql-limitations"></a>