[ { type: install message: < $PGPASSFILE chmod 0600 $PGPASSFILE Create the "cexplorer" database: cardano-db-sync-pgsql-setup --createdb Restore the database from a snapshot ( or skip this step to sync from genesis ): IOG Repo - Mainnet: https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.1/ IOG Repo - Testnet: https://updates-cardano-testnet.s3.amazonaws.com/cardano-db-sync/index.html Koios Repo: https://snapshots.koios.rest/cardano-db-sync/ ( Koios repo usually has extra indexes and fresh syncs from genesis ) fetch https://XXXX/cardano-db-sync/13.1/db-sync-snapshot-schema-XX.X-block-XXXXXXX-XXXX.tgz cardano-db-sync-pgsql-setup --restore-snapshot db-sync-snapshot-schema-XX.X-block-XXXXXXX-XXXX.tgz /var/db/cardano_db_sync/mainnet-state/ EOM } { type: upgrade message: <