cardano-foundation / cardano-graphql

GraphQL API for Cardano
Apache License 2.0
259 stars 103 forks source link

RESTORE_SNAPSHOT: read from local file #833

Closed aghamir closed 2 weeks ago

aghamir commented 1 year ago

Ask a question

Hi, How I can set RESTORE_SNAPSHOT environment to read from local snapshot instead of url?

a0ngo commented 2 weeks ago

@aghamir assuming you're talking about cardano-db-sync, it will work with the absolute path. See: https://github.com/IntersectMBO/cardano-db-sync/blob/master/nix/nixos/cardano-db-sync-service.nix#L85-L110

Kammerlo commented 2 weeks ago

Thanks @a0ngo ! If anything else let us know.