Query structure of dashboard and questions

I am looking for a way to list the objects used in my dashboards and save them as a text file, for example. Can I query this from the H2 database?
Example: Dashboard named "ABC" uses the questions "123", "456" etc.

Hi @Andreas_SQL

  1. Migrate away from H2 if you are using Metabase in production:
    https://www.metabase.com/docs/latest/operations-guide/migrating-from-h2.html
  2. Yes, it's all stored in report_dashboardcard - see Metabase Metadata SQL

Great! Thx!