Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

flux db download-snapshot

Downloads a database snapshot. Without specified blocks, it fetches the full range. With start/end blocks, it downloads that range and merges it into the current database

$ flux db download-snapshot --help
Usage: flux db download-snapshot [OPTIONS]

Options:
      --endpoint <ENDPOINT>
          Snapshot endpoint
          
          [default: https://data.flux.xyz/]

  -s, --start-block <START_BLOCK>
          Optional start block

      --brontes-db-path <FLUX_DB_PATH>
          path to the flux libmdbx db

  -e, --end-block <END_BLOCK>
          Optional end block

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Display:
  -v, --verbosity...
          Set the minimum log level.
          
          -v      Errors
          -vv     Warnings
          -vvv    Info
          -vvvv   Debug
          -vvvvv  Traces (warning: very verbose!)

      --quiet
          Silence all log output