Migrate from Metabase Cloud to self-hosted Metabase

Bringing a Metabase Cloud instance in house keeps questions, dashboards, people and settings, but depends on a vendor-supplied snapshot, a matching version and a license switch. This page covers the work and its drivers.

On this page

Migrate from Metabase Cloud to self-hosted Metabase: what the move involves

A team moving off Metabase Cloud keeps its saved questions, dashboards, people and settings, but the move depends on two things the customer cannot do alone: a snapshot of the application database from Metabase's success team, and a self-hosted license for the plan you already run. Metabase's documentation states that customers cannot generate this snapshot themselves, so the request is the first dependency to plan around. Ask the success team what format the snapshot arrives in, how long they expect the handover to take, and which Cloud instance version it reflects.

The effort is driven by four things: when the snapshot is taken relative to your cutover, whether your self-hosted Metabase version matches the Cloud instance's major version, how PostgreSQL is set up as the new application database, and how the Pro plan switch is handled. Each one can stall the others. A snapshot taken weeks before cutover means content created in Cloud in the meantime must be re-entered or reconciled. A version mismatch blocks the load step. Confirm the Cloud instance's version with Metabase before you choose a JAR or image, and confirm the current license terms for your plan before you cancel anything in Cloud.

The planning checklist is short but each item needs an owner. Name who receives the snapshot, who owns the PostgreSQL instance and its backups, who handles the license token and billing change, and who signs off that dashboards and permissions match after load. Decide whether the old Cloud instance stays read-only for a validation window, because users who keep editing Cloud will create content the new instance never sees. This section does not give a duration for the move. Your timeline depends on the snapshot turnaround, the size of your instance and your own change window, so request those figures in writing from Metabase and from any partner you consider before committing to a date. The sections that follow cover each step in order.

What carries over from Metabase Cloud and what needs rework

This table compares what moves with your Metabase Cloud content and what your team must run after the switch. Read the middle column for what arrives in the snapshot and the right column for what becomes your responsibility. The main takeaway: content carries over, but hosting, backups, upgrades, licensing and every integration that points at a URL must be re-owned and retested.

AreaWhat happens in the moveWhat your team owns afterward
Questions, dashboards, people and settingsCarry over from the application database snapshot, including saved questions, dashboards, users and settings.Check that collections and cards open, that queries still return results, and that admin accounts and group memberships match what you expect.
Application databaseThe Cloud snapshot arrives as an H2 file and is loaded into an empty PostgreSQL database with load-from-h2.Your team owns the PostgreSQL server, its supported major version, access control, backups and recovery procedures from this point on.
Hosting and upgradesMetabase Cloud hosts the instance and applies upgrades on your behalf.Your team runs the JAR or container, chooses the version, plans each upgrade and backs up the application database before every upgrade.
Backups and TLSHandled by Metabase on Cloud, with no customer setup of the instance's certificates.Set your own backup schedule and test restores. Terminate TLS at your reverse proxy or load balancer and renew certificates yourself.
Email and outbound connectionsNot configured by the customer on Cloud.Configure SMTP for alerts and subscriptions, and confirm which outbound destinations your firewall must allow, including license activation.
Pro licenseCloud Pro does not move with the content. The Cloud Pro subscription must be cancelled.Buy a self-hosted Pro plan, obtain the license token and activate it on the new instance before users rely on Pro features.
Single sign-onConfigured in Cloud. Pro includes SSO, and documented SAML setups exist for several identity providers.Re-register Metabase with your identity provider using the new address, then recheck login, group mapping and sign-out behavior.
EmbeddingEmbed code points at Cloud addresses, so it must be updated for the new host.Update embed origins and URLs, retest every embed, and confirm that SSO-based embedding is covered by your Pro or Enterprise plan.
Data source connectionsConnection definitions come across with the application database snapshot.Confirm that each warehouse accepts connections from the new network, and verify credentials, firewall rules and sync schedules.

Documented import path and the tools around it

The documented path starts with your organization asking Metabase's success team for a snapshot of the application database. Customers cannot generate this snapshot themselves, so it sets the pace of the whole move. The snapshot arrives as an H2 file with a .mv.db extension. You then load it into an empty application database with the load-from-h2 command, using a Metabase JAR of the same major version as the Cloud instance, and start the self-hosted instance against that database.

  • Request the snapshot first: Ask the success team for the application database snapshot and confirm the Cloud major version it was taken from.
  • Prepare an empty target: The load step expects an empty application database, so create a new PostgreSQL database rather than reusing one that already holds Metabase tables.
  • Match the JAR major version: Download the Metabase JAR that matches the Cloud major version before running the load command.
  • Start the instance after the load: Point the self-hosted instance at the loaded database and confirm that questions, dashboards, people and settings appear.

Before starting, confirm the snapshot timing, the exact Cloud version and whether the success team has any restrictions on the file.

How the cutover sequence runs with a parallel run

The sequence moves a Metabase Cloud instance onto infrastructure you control in a fixed order, with a test load and a parallel run that prove the copy works before users, SSO and licensing move over. It ends with the Cloud subscription cancelled and the self-hosted Pro license active.

  1. Inventory data sources, groups, SSO and embeds

    Before anything is requested, the team lists every database connection in Metabase Cloud, every permission group, the SSO or LDAP setup in use, any public links or embeds, and the outbound addresses your warehouses allow. Your Metabase administrator and the owner of each warehouse firewall rule do this together. The output is a written inventory that the parallel run will check against, so a missing connection or group shows up as a named gap rather than a surprise on cutover day.

  2. Request the application database snapshot

    Ask Metabase's success team for a snapshot of the Cloud application database, because customers cannot generate it themselves. The snapshot is an H2 file (.mv.db) that reflects the instance at one point in time, so every change made after it is absent from the copy. Record the snapshot date and the Cloud version it came from. Done when you hold the file and the date is written into the cutover plan.

  3. Provision PostgreSQL and the matching Metabase JAR

    Stand up an empty PostgreSQL database for the application database and a Metabase JAR of the same major version as the Cloud instance. Metabase recommends PostgreSQL for production. Confirm the PostgreSQL major version you choose is currently supported under PostgreSQL's versioning policy, and confirm the Metabase release against the version support page before installing. Done when the JAR starts against an empty database and reports the version you expected.

  4. Load the snapshot into a test instance

    Run the one-time load-from-h2 command against the empty PostgreSQL database, using the JAR version that matches the snapshot. Start a test instance pointed at that database and check that collections, questions, dashboards, groups and data source definitions appear. Compare the counts with the inventory from the first step. Done when the test instance loads without migration errors and every inventory item is either present or logged as a known gap.

  5. Run a parallel comparison against the Cloud instance

    Keep the Cloud instance running and point a small group of testers at both systems for a defined period. Run the same saved questions and dashboards on each, and compare results, permissions and scheduled subscriptions. Because the snapshot is point-in-time, anything created or edited in Cloud after the snapshot date must be recreated on the self-hosted copy or re-exported, and the team tracks each item in a delta list. Done when the delta list is empty or each remaining item has an agreed owner and resolution.

  6. Cut over DNS, SSO callbacks and firewall rules

    Repoint the public hostname to the self-hosted instance, update the redirect URLs registered with your identity provider, and open the self-hosted server's outbound address on each data warehouse firewall. Confirm each change with the team that owns the identity provider or warehouse. The check is a successful SSO sign-in and a fresh query from a user group on the new hostname, with no errors in the Metabase logs.

  7. Cancel Cloud Pro and activate the self-hosted license

    Cloud Pro customers must cancel the Cloud Pro plan and buy a self-hosted Pro plan, then activate it with a license token on the self-hosted instance. Confirm the license reports the Pro features you rely on, such as SSO and row and column permissions, before cancelling Cloud. Agree the timing with your finance and procurement contacts, since the subscription change is a commercial step. Done when the self-hosted instance shows an active Pro license and the Cloud subscription is cancelled in writing.

  8. Decommission the Cloud instance and retain records

    After a period you agree in advance, retire the Cloud instance and keep the final snapshot, the inventory and the parallel-run delta list under your normal records policy. Remove the temporary test and parallel access, and close the migration tasks. Confirm with your security and compliance leads which records they need to keep for access review. Done when the Cloud instance is no longer in use, the records are filed, and the self-hosted backup schedule covers the application database.

Which integrations and data connections need rework

Moving from Metabase Cloud to self-hosted Metabase changes where connections originate, where secrets live and which features depend on your plan. Each item below needs confirmation in your own environment before cutover, because the Cloud instance may have handled some of these settings for you.

Warehouse connections and network allowlists

Metabase Cloud connects to your data warehouses from Metabase's network, so your firewalls may allow only Cloud egress addresses. A self-hosted Metabase connects from your own host, so the source address changes and each database, proxy or private endpoint must allow it. Confirm the connection list, credentials and driver versions for every database, and test a sync and a query from the new host.

Cloud migration docs

SSO and group mapping

SAML, OIDC and SCIM require a Pro or Enterprise plan on self-hosted Metabase, and Google sign-in and LDAP are available on Open Source and Starter. Check which sign-in method your Cloud instance uses, then confirm the identity provider redirect URLs, the callback addresses and the group mappings against the new hostname. Test with a non-admin account before you move users.

People and groups docs

Email delivery

Cloud sends Metabase email for password resets, invitations and subscriptions from infrastructure Metabase operates. Self-hosted instances need your own SMTP settings, sender domain records and an allowed route out of your network. Confirm the sending address, the relay and the reply-to address with your mail team, then send a test invitation and a password reset before users depend on them.

Embedding and signed embed secrets

Embeds that use signed JWTs depend on a secret key, and that key is set on the Metabase instance, not copied from Cloud. Plan a new embedding secret, update every application that signs embed tokens, and confirm the allowed origins for each embedding site. Check whether your embeds use SSO-based embedding, which also requires Pro or Enterprise.

Embedding docs

Encryption key and environment variables

Saved database credentials in the application database are encrypted with a key that must match on the new instance. Ask how your Cloud instance handles this key and confirm that your self-hosted deployment sets the same value before loading the snapshot. Record every environment variable the new JVM needs, including the site URL, database connection settings and licensing values, and keep the key in your secrets store.

Subscriptions and alerts

Scheduled subscriptions and alerts send results on a schedule, so a missed rework shows up as silent failures or as duplicate messages sent from both instances. Pause schedules on Cloud at cutover, confirm the new instance's time zone and send times, and verify that recipients still resolve to valid addresses. Check that each channel and Slack or webhook destination is reachable from your network.

Running the self-hosted application database on PostgreSQL

Choose PostgreSQL as the self-hosted application database unless you have a specific reason not to. Metabase recommends PostgreSQL for production, and the application database holds the questions, dashboards, people, groups and settings you migrate from Metabase Cloud. MySQL 8.4.0 or MariaDB 10.6.0 and later with utf8mb4 are also supported, but the migration path and operational tooling in this topic assume PostgreSQL. Before loading the snapshot, confirm which PostgreSQL major version your platform team supports. The PostgreSQL versioning policy lists version 18 as supported until November 14, 2030, 17 until November 8, 2029, 16 until November 9, 2028, 15 until November 11, 2027 and 14 until November 12, 2026, with 13 and earlier unsupported. Choose a version whose end-of-support date fits your planning horizon, and check the PostgreSQL versioning policy for current dates before you commit.

Plan backups and recovery for this database before the first login to the migrated instance. A nightly logical dump is not enough for point-in-time recovery, so confirm that your team has continuous WAL archiving and tested restores, as described in the PostgreSQL continuous archiving documentation. Take a fresh application database backup before every Metabase upgrade, because Metabase runs migrations automatically on upgrade. High availability needs a clear scope: PostgreSQL supports hot standby servers and both synchronous and asynchronous replication, but it does not detect a failed primary or promote a standby on its own. Automatic failover requires external tooling that you select, install, test and operate. Confirm whether a standby is needed at all, since a single node with verified restore procedures may meet your recovery targets.

Put connection pooling and authentication in place before Metabase connects. Each Metabase node opens connections to the application database, so a pooler such as PgBouncer can keep connection counts predictable when you run more than one instance. Review its compatibility with the Metabase JDBC driver and your session settings in a test environment first. For authentication, PostgreSQL documents password, GSSAPI, SSPI, LDAP, RADIUS, certificate, PAM and OAuth methods. PostgreSQL 18 deprecates MD5 password authentication in favor of SCRAM, so use SCRAM-SHA-256 and a dedicated database role for Metabase with the least privileges needed to own its schema. Restrict network access to that role in pg_hba.conf and record which client certificates or service accounts are allowed.

What drives the effort and cost of the move

Most of the effort in a Cloud to self-hosted move comes from what the instance holds and how it connects to the rest of your stack. The cards below cover the inputs that shape scope, the recurring license cost, and the items to confirm before a fixed-scope quote is written.

Instance size and user count

The number of questions, dashboards, collections and users in the Cloud instance sets how much content must be checked after the load. Users matter for licensing as well: the Pro plan includes 10 users and charges for each additional user. Ask your Metabase admin for active user counts and the number of saved questions and dashboards before requesting the snapshot, so the verification plan matches the real content.

Data sources and SSO integrations

Each database connection must be recreated and tested from the self-hosted network, including firewall rules and credentials that were previously managed on Metabase Cloud. Each identity provider needs its own configuration. SAML, OIDC, JWT, SCIM and advanced LDAP sync need a Pro or Enterprise plan, so confirm which of these your current sign-in uses before choosing a plan.

People and groups docs

Number of embeds

Embedded dashboards and questions depend on signing keys, allowed origins and the embedding method in use. Each embed must be retested on the new host because its URL, key configuration and CORS settings may change. Static embedding is deprecated, so an instance with many static embeds may also need a separate migration to guest or SSO-based embeds.

Embedding introduction

Existing PostgreSQL platform

If your team already runs PostgreSQL with backups, high availability and monitoring, the application database fits into that platform with less new work. If not, the team must add backup, patching and restore testing for a database it has not operated before. Confirm the PostgreSQL major version you will run, since the supported versions have different end-of-support dates.

PostgreSQL 18 support ends
2030

Pro plan price for your user count

Pro is listed at $575 per month, or $517.50 per month billed yearly, with 10 users included, and additional users cost $12 per month. Cost recurs for as long as you run the plan. Compare that recurring figure with the cost of your own team's time and the DeployOpen fee set in the written scope, and confirm the current price on the pricing page before budgeting.

Metabase pricing

Parallel run length and team experience

A parallel run keeps Metabase Cloud and the self-hosted instance available so users can compare results before cutover. Its length depends on how many teams must sign off, how many dashboards are critical and how quickly your staff can operate the new host. A team new to Metabase administration should plan for more review time. Ask for the parallel run length and handover to be written into the scope.

Questions buyers ask before moving off Metabase Cloud

Can our team request the Metabase Cloud application database snapshot ourselves?

No. Only Metabase's success team can provide a snapshot of the application database, and customers cannot generate it themselves. Plan to open that request early, because the rest of the sequence depends on the file. The snapshot is an H2 file (.mv.db), and it is loaded into an empty self-hosted application database with the load-from-h2 command. Confirm with Metabase how the request is submitted, what format it arrives in and how long their side takes before you set a cutover date. Your team then handles everything after receipt: the matching Metabase JAR, the PostgreSQL target and the verification of the migrated content.

Do our questions, dashboards and settings survive the move?

Yes. The documented path from Metabase Cloud to self-hosted keeps saved questions, dashboards, people and settings, because they live in the application database that the snapshot carries. Connections to your data warehouses are configured again on the self-hosted instance, and their network paths, credentials and firewall rules must be checked against the new host. Verify a sample of dashboards against the original Cloud instance before you retire it, including scheduled subscriptions and alerts, which depend on email and outbound settings you will need to re-enter. The full path is described in Metabase's Cloud to self-hosted migration guide.

What changes in licensing when we leave Metabase Cloud Pro?

Cloud Pro customers must cancel Cloud Pro and buy a self-hosted Pro plan, which comes with a license token that the self-hosted instance uses. Cloud and self-hosted billing are separate, so confirm the overlap period and the cancellation date with Metabase in writing to avoid paying for both. On the pricing page, Pro is listed at $575 per month, or $517.50 per month billed yearly, with the first 10 users included and additional users at $12 per month. Those list figures are the starting point for your own quote, which will depend on your user count and contract terms. Check the Metabase pricing page for current terms before you budget.

How long does a Metabase Cloud to self-hosted migration take?

The duration depends on scope, and no fixed timeline applies to every instance. The main variables are how long Metabase's success team takes to provide the snapshot, the number of data sources and users to reconnect, the amount of content to verify, the time needed to stand up PostgreSQL and the network, DNS and SSO work that follows. Ask for a written plan that lists each step, its owner and the dependencies, including the snapshot request. DeployOpen delivers most engagements on a fixed scope, with scope, deliverables and timelines agreed in writing before work starts, so the duration you receive should trace back to those agreed items.

What do we need to provide for the migration to succeed?

The work needs access and decisions from your side in four areas. Warehouse access means credentials and network paths so the self-hosted instance can reconnect to each data source. DNS and TLS ownership lets you point the new address at the instance. SSO administration matters because identity settings from Cloud must be repointed, and SSO is available only on Pro and Enterprise plans. A named owner should make decisions on cutover, verification sign-off and the Cloud cancellation date. Without these, the migrated instance can load but still fail to serve users or data correctly.

Which PostgreSQL version should the self-hosted application database run on?

Metabase recommends PostgreSQL for the self-hosted application database, and PostgreSQL 18 is the newest supported major version. Supported versions are 18, 17, 16, 15 and 14, with 14 supported until November 12, 2026, so avoid choosing it for a new target. Check the Metabase version support page against your chosen Metabase release before you pick a PostgreSQL version. PostgreSQL is released under a permissive license similar to BSD or MIT. Confirm the PostgreSQL version with your Metabase release and your operations standards before installation.

Must the Metabase JAR version match the Cloud instance during the load?

Yes, the load must use a Metabase JAR of the same major version as the Cloud instance. The load-from-h2 command must run with the Metabase version that last updated the H2 file, so ask Metabase's success team to confirm the exact version in the snapshot before you download a JAR. After the load, upgrade to your target release in steps, taking an application database backup first. Upgrades run database migrations automatically, and the documented rollback path is restoring that pre-upgrade backup, so take the backup before any version change.

Who should own the migrated instance after the cutover?

Ownership should sit with a named internal owner who can approve cutover, sign off the verification of content and access, and decide when Cloud is cancelled. Operational duties after cutover include backups of the application database, patching, upgrades, monitoring and access reviews, and these recur for as long as the instance runs. If DeployOpen supports the work, the retainer options cover ongoing support, upgrades and continuous testing. Ask any partner for a written handover that names the owner for each recurring task before the Cloud subscription ends.

What usually goes wrong and how to prevent it

Most failed Cloud-to-self-hosted moves come from a small set of mismatches: versions, the target database, the encryption key, URLs, network paths and content drift. Each risk below pairs with a check to run before or during cutover, so the new instance opens with the same content and working access.

Mismatched Metabase JAR version

The load-from-h2 command must run with a Metabase JAR of the same major version as the Cloud instance, and the snapshot is an H2 file (.mv.db). A different major version can fail the load or leave the application database in a state you cannot easily reverse. Ask Metabase's success team which version produced the snapshot, download that exact major version, and confirm the version string before running the command.

Cloud migration docs

Loading into a non-empty database

The snapshot must load into an empty self-hosted application database. If the target PostgreSQL database already holds Metabase tables from a test start, the load can collide with existing data or mix two instances. Create a new, empty database and role for the migration, confirm it has no tables, and keep first-run test instances pointed at a different database.

Losing the encryption key

Metabase encrypts stored database connection details and other secrets with an encryption key. If the new instance is started without the same key, saved warehouse credentials cannot be read and connections fail after the load. Ask your team to record the key from the Cloud arrangement you are given, store it in your secrets manager, and set the same value on the self-hosted instance before first start.

SSO callbacks pointing at the old URL

Identity provider applications, such as SAML assertion consumer URLs or OIDC redirect URIs, are registered against the Cloud hostname. After cutover, sign-in redirects to the old address or fails with a mismatch error. Before cutover, list every SSO application that references the Cloud URL, add the new hostname as an allowed callback, and test sign-in with a non-admin account on the new instance.

Warehouse firewall rules blocking the new host

Cloud connects to your data warehouses from Metabase's network. Self-hosted Metabase connects from your servers, so allow lists, private endpoints and IP-based rules that named Cloud addresses will block queries. Inventory each database connection, record the outbound source addresses of the new host, and run a test query from every connection before users are moved over.

Content changed after the snapshot

The snapshot captures questions, dashboards, people and settings at one point in time. Edits made in Cloud after that point are not in the self-hosted copy, so users may find missing or outdated work after cutover. Agree a content freeze window with the Metabase team, announce it to editors, and compare key dashboards and collections on both instances before retiring the Cloud instance.

How the snapshot, load and license switch fit together

The migration starts with a request to Metabase's success team, because customers cannot generate the application database snapshot themselves. The H2 file that comes back is loaded into an empty PostgreSQL database with load-from-h2, using a self-hosted Metabase JAR of the same major version as the Cloud instance. Run the new instance alongside Cloud before cutover, then cancel Cloud Pro and apply the self-hosted Pro license token. Check that questions, dashboards, people and settings all appear before you switch users over.

The vendor-supplied snapshot is the only step you cannot run yourself.

Proving the self-hosted instance before cutover

Before the Cloud instance is switched off, the self-hosted Metabase needs a test pass that proves people, data and automation behave the same way. Start with sign-in. Test every identity method your users will rely on, including Google sign-in or LDAP on open source or Starter, and SAML, OIDC or JWT on Pro, with a named account for each group. Confirm that group membership maps to the same data and collection permissions it had in Cloud, because a user who can log in but sees the wrong tables has not passed. Check two-factor settings and session timeouts as well, since these are often reset during the move.

Next, compare results rather than screens. Pick a set of sample questions and dashboards that business owners use every week, run them on the Cloud instance and on the self-hosted instance against the same warehouse, and record row counts and key totals. Differences usually point to a database connection that was not recreated, a timezone or currency setting, or a saved filter that refers to a removed field. Verify scheduled subscriptions and alerts by confirming that the self-hosted instance sends them to a test recipient and that email delivery works from your network. Also test each embed with its signing key and check that public links are disabled or deliberately re-created.

Restore the backup into a second, empty PostgreSQL database and start a throwaway Metabase instance against it. A backup that has never been restored is an assumption, not a control. Confirm the encryption key is set on both sides, since encrypted connection details will not load without it. Only after these checks pass, and the owners of the data and the identity provider have signed off in writing, should the team decide to decommission the Cloud instance. Ask your Metabase contact in advance how the Cloud subscription will end, and keep the Cloud snapshot until your retention policy allows deletion. Your Pro licence and the Metabase pricing page should be reviewed in the same sign-off so billing stops on the agreed date.

How DeployOpen works on this

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a Metabase Cloud migration, we start from the written scope, build the self-hosted instance and PostgreSQL application database in your environment, and hand over documented runbooks your team can operate.

How we scope

  • Inventory the Cloud plan, Metabase version, users, SSO configuration and connected data sources before any work starts.
  • Confirm with Metabase's success team that the application database snapshot request is in progress and who receives it.
  • Agree in writing which hosting target, PostgreSQL version and license plan the migration covers, with deliverables and timelines.

How we build

  • Stand up the self-hosted Metabase and an empty PostgreSQL application database on infrastructure you control, matching the Cloud major version.
  • Load the snapshot with load-from-h2 using the same Metabase version, then record each step and its output.
  • Verify questions, dashboards, people, groups, settings and data source connections against a checklist agreed with your team.

How we hand over

  • Deliver documentation covering the build, configuration, license activation, backup and rollback steps for your team.
  • Walk your administrators through daily operation, upgrade planning and how the PostgreSQL application database is backed up.
  • Provide a cutover record showing the Cloud subscription cancellation point and the self-hosted license token activation.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Support can cover planned Metabase upgrades, backup tests and PostgreSQL maintenance in the environment we built.
  • Ask any provider which upgrade and patching responsibilities sit with them and which stay with your team in the quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.