mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Add pg_restore option (#874)
This commit is contained in:
parent
22ae9cabc7
commit
a4dc91ac03
@ -62,7 +62,7 @@ createdb -T template0 mastodon_production
|
|||||||
Then import it:
|
Then import it:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pg_restore -U mastodon -n public --no-owner --role=mastodon \
|
pg_restore -Fc -U mastodon -n public --no-owner --role=mastodon \
|
||||||
-d mastodon_production backup.dump
|
-d mastodon_production backup.dump
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user