mirror of
https://github.com/alexgo-io/stacks-node-mainnet.git
synced 2026-01-12 14:53:47 +08:00
fix: specify the database to restore dump into
This commit is contained in:
@@ -14,4 +14,4 @@ curl -o postgresql/latest.dump https://archive.hiro.so/mainnet/stacks-blockchain
|
||||
|
||||
docker-compose up -d stacks-blockchain-postgres
|
||||
WAIT_HOSTS='127.0.0.1:5432' ./wait
|
||||
docker exec -it stacks_postgres pg_restore -j 16 -Upostgres -v -C /var/lib/postgresql/latest.dump
|
||||
docker exec -it stacks_postgres pg_restore -j 16 -Upostgres -v -C -d stacks_blockchain_api /var/lib/postgresql/latest.dump
|
||||
|
||||
Reference in New Issue
Block a user