Difference between revisions of "/scripts/postgresql-setup.sh"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{cardano-db-sync}} * {{Cardano}} Category:Cardano") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://github.com/input-output-hk/cardano-db-sync/blob/master/scripts/postgresql-setup.sh | ||
+ | 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: | ||
+ | * <code>[[pg_restore]] --jobs="${numcores}" --format=directory --dbname=cexplorer "${tmp_dir}/db/"</code> | ||
Latest 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[edit]
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: