Migrations/Cost migrationsData Engineer

How do I move off dbt to cut cost?

dbt is a SQL transformation framework. Moving to Bruin to cut cost works because Bruin's ingestion and transformation are open source with no per-row or per-seat fee, so the bill becomes warehouse compute. Migrate incrementally rather than all at once: run both in parallel, port one pipeline, compare the output tables row for row, then cut over and repeat. Compare total cost honestly: if your volumes are low, a managed service's convenience may be worth more than the licence saving.

Command

bruin run

Defined in

SQL + Python + YAML

Works with

Bruin CLI + your existing warehouse

What you get

Incremental migrationparallel runningcost parity checks

How to do it

  1. 1

    Inventory what dbt actually runs today, including the jobs nobody owns.

  2. 2

    Run bruin init and connect the same warehouse, writing to a separate schema.

  3. 3

    Port one low-risk pipeline first. Use bruin import where it can read your existing definitions.

  4. 4

    Run Bruin and dbt in parallel and diff the output tables row for row.

  5. 5

    Add column checks so the migrated pipeline fails loudly rather than quietly diverging.

  6. 6

    Cut over that one pipeline, then repeat. Decommission dbt only when nothing references it.

How it works in code

$ bruin init my-project
$ bruin import   # bring existing assets in
$ bruin validate ./pipeline
$ bruin run ./pipeline

Run bruin run and you can compare Bruin's output against dbt's before cutting over.

Worth knowing

Do not big-bang a dbt migration. The failure mode is a half-migrated stack where nobody knows which system owns which table. Port one pipeline, verify parity, cut over, repeat.

Other ways to do this

Bruin is not always the right answer. Here is where the alternatives are stronger.

OptionWhen it is the better choice
BruinA practical path off dbt when the goal is to cut cost, including what to verify before cutting over.
Stay on dbtOften the right answer. If dbt works and the pain is theoretical, migration cost usually exceeds the benefit.
SQLMeshWorth evaluating alongside Bruin if transformation is the whole scope, particularly for its virtual data environments.
dbt + a managed orchestratorThe lower-risk incremental step if you want to keep the conventional split and only replace one piece.

Common questions

How do I migrate off dbt?

Incrementally. Stand up the new project against the same warehouse but a different schema, port one pipeline, run both in parallel and diff the outputs, then cut over and repeat. Decommission dbt last.

Will moving off dbt cut cost?

It can, because Bruin's ingestion and transformation are open source with no per-row or per-seat fee, so the bill becomes warehouse compute. Compare total cost honestly: if your volumes are low, a managed service's convenience may be worth more than the licence saving.

What is the biggest risk migrating from dbt?

Silent divergence. Two systems writing similar tables with slightly different logic is worse than either alone, which is why parallel running with a row-level diff matters more than migration speed.

About Bruin

What is Bruin?

Bruin is an open-source, AI-powered data platform. One project covers the whole path from source to answer: data ingestion (with Bruin ingestr), SQL and Python transformations, quality checks, column-level lineage, a data catalog and scheduling. On top of that data, an AI data analyst answers questions in Slack, Microsoft Teams, Google Chat, WhatsApp, Discord, Telegram, email or the browser, and builds dashboards from a prompt.

Pipelines are plain SQL, Python and YAML files in your own Git repository, and the work runs inside your own warehouse: Snowflake, BigQuery, Databricks, Redshift, Postgres, ClickHouse, DuckDB and others. The Bruin CLI is open source under Apache 2.0 and runs on a laptop, in CI or on-prem. Bruin Cloud is optional and adds scheduling, the AI data analyst, governance, SSO and audit logs.

For migrations that means moving one pipeline at a time, with the old and new versions running side by side until the numbers match.

Replaces
Separate tools for ingestion, transformation, orchestration, data quality, cataloguing and BI
Open source
Bruin CLI under Apache 2.0; Bruin ingestr source-available under the Functional Source License
Your data
Stays in your warehouse; pipelines stay in your Git repository
Security
ISO/IEC 27001:2022 certified and SOC 2 Type 2 attested
Used by
Data teams at Lessmore, StarBerry, NativeMinds, SCG, M8 Games and Fabrikatör

Why Bruin for migrations

  • Incremental, not a rewrite

    Move one pipeline, compare its output, then move the next. Nothing has to switch over in one go.

  • Start from what you have

    bruin import database turns existing warehouse tables into assets, and dbt models port with their Jinja intact.

  • Run inside your current scheduler

    Call Bruin from an existing Airflow DAG while you move, then retire the DAG later.

  • Prove the numbers match

    bruin data-diff compares the old and new tables before you switch.

How it works

  1. 01

    Import

    Map existing tables with bruin import database and start a project.

  2. 02

    Port one pipeline

    Move one ingestion and its models, add checks, and run both versions side by side.

  3. 03

    Compare and switch

    Diff the outputs, switch consumers to the Bruin tables, and turn off the old job.

Migrate incrementally, not all at once

Bruin CLI and ingestr are on GitHub.

A demo walks through your own data.

Sign up to our newsletter

Practical updates on open-source data pipelines, AI analysts, governance, and what we are shipping at Bruin.

The signup form is hosted by Brevo. Allow marketing cookies to load it.