Best way to persist or back up the Sample Database?

Hello,

I’ve created a fairly large dashboard using the Sample Database.
I know this database is volatile, and I’d like to back it up so I don’t have to rebuild everything.

What would be the best solution?

The Sample Database is easier for me because I can upload CSV files directly from the browser.
With PostgreSQL, I would need to place the CSV files in the folder linked to my Postgres database (which is hosted on a VM), and that requires more steps.

PS: For French speakers, we can also exchange in French if that works for you :slightly_smiling_face:
Thanks!

The Sample Database is an H2 database file, located on a filesystem wherever Metabase is running (JAR or container). Here's how you can back it up: Backing up Metabase | Metabase Documentation