1
Fork 0
mirror of https://github.com/Steffo99/alexandria.git synced 2024-10-16 13:37:27 +00:00

Aggiorna comando per il dump

This commit is contained in:
Steffo 2020-06-06 15:02:11 +02:00
parent fd49550d31
commit 3fcd2351f9
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -45,7 +45,7 @@ SELECT version();
Esso è stato ottenuto tramite [`pg_dump`](https://www.postgresql.org/docs/9.3/app-pgdump.html), un'utilità per l'archiviazione di database Postgres, eseguito con il seguente comando Bash:
```bash
pg_dump --dbname="alexandria" --schema="public" --file="5-database.sql"
pg_dump --dbname=alexandria --schema='public' --file="5-database.sql" --no-owner --no-acl
```
È possibile ricreare il database eseguendo manualmente tutte le istruzioni contenute nel file `.sql`, oppure eseguendo [`pg_restore`](https://www.postgresql.org/docs/9.3/app-pgrestore.html), la controparte di `pg_dump` per il ripristino, con il seguente comando Bash: