Difference between revisions of "/scripts/postgresql-setup.sh"
Jump to navigation
Jump to search
m (Welcome moved page Postgresql-setup.sh to /scripts/postgresql-setup.sh) |
|||
Line 4: | Line 4: | ||
https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/state-snapshot.md | https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/state-snapshot.md | ||
PGPASSFILE=config/pgpass-mainnet scripts/postgresql-setup.sh --restore-snapshot db-sync-snapshot-schema-9-block-5796064-x86_64 ledger-state/mainnet | PGPASSFILE=config/pgpass-mainnet scripts/postgresql-setup.sh --restore-snapshot db-sync-snapshot-schema-9-block-5796064-x86_64 ledger-state/mainnet | ||
+ | |||
+ | |||
+ | Restore: | ||
+ | * [[pg_restore]] --jobs="${numcores}" --format=directory --dbname=cexplorer "${tmp_dir}/db/" | ||
Revision as of 04:02, 3 May 2023
https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/state-snapshot.md
PGPASSFILE=config/pgpass-mainnet scripts/postgresql-setup.sh --restore-snapshot db-sync-snapshot-schema-9-block-5796064-x86_64 ledger-state/mainnet
Restore:
- pg_restore --jobs="${numcores}" --format=directory --dbname=cexplorer "${tmp_dir}/db/"
See also
cardano-db-sync, db-sync-node, valency, [ --disable-ledger | --version | --help
],postgresql-setup.sh
, Kupo, Carp- Cardano, ADA, smart contract, Cardano blockchain, PoS (Ouroboros), UTXO, Charles Hoskinson, NAMI Wallet, Yoroi, NAMI Wallet, Daedalus, Cardano wallets, Yoroi, Adalite, Shelley address, CNFT,
cardano-cli
, oura, Blockfrost, Plutus, Hydra, Voltaire, Mesh, CIP, CCL, CSL, Cardano metrics,cardano-node, cardano-db-sync, cardano-db-tool
, blockchain explorers, Cardano blockchains, Core nodes, relay nodes, ISPO, SpaceBudz, Cardano Batchers
Advertising: