How to move Langfuse ClickHouse data to Cloud or BYOC without losing history
If your team runs self-hosted Langfuse on ClickHouse OSS and wants to move to ClickHouse Cloud or a bring-your-own-cloud (BYOC) deployment, you can keep historic traces, observations and scores, but only through a planned ingestion pause and a documented copy. Langfuse treats this move as a change of deployment model, not a Langfuse upgrade. It recommends running the latest Langfuse release unchanged during the move and keeping the work separate from any major version upgrade, so a failure has one cause you can isolate.
The documented path has three steps. First, you pause ingestion by scaling down the web and worker containers, so no new events land while the data is copied. Second, you copy the ClickHouse database either with remoteSecure or with BACKUP and RESTORE through object storage. Third, you update CLICKHOUSE_URL, CLICKHOUSE_MIGRATION_URL, credentials and SSL settings, then bring the containers back. Langfuse states that a live dual-write cutover has not been validated, so plan for the pause rather than hoping to avoid it. Read the Langfuse migration guide for ClickHouse OSS to Cloud or BYOC before you choose a copy method.
The effort depends mainly on two things: how much trace data sits in ClickHouse and how long an ingestion pause your application owners will accept. Measure the on-disk size of your ClickHouse tables and the event rate in your current instance, then confirm with the managed or BYOC provider how fast data can be restored into their environment. Ask the provider for the disk headroom they expect during restore, because Langfuse's own v4 guidance calls for extra ClickHouse disk when backfilling. Your partner's quote should price the environment preparation, the copy rehearsal, the cutover window and the post-cutover verification separately, and state which of those are one-time and which recur.
What carries over from ClickHouse OSS to Cloud or BYOC
This table maps each part of a self-hosted Langfuse data layer on ClickHouse OSS to its counterpart after the move to ClickHouse Cloud or BYOC. Read the notes column as the checklist of what to confirm before the ingestion pause starts. The main takeaway is that the database contents move through the documented copy path, while connection settings, credentials and network access must be reset and verified on the new side.
| Component | After the move | Migration note |
|---|---|---|
| Historic traces | Copied with the database contents | Copy through remoteSecure or BACKUP and RESTORE via object storage. Verify row counts after restore. |
| Observations | Copied with the database contents | Confirm the restored tables are complete before resuming ingestion, since observations are tied to their traces. |
| Scores | Copied with the database contents | Check that score records and their references to traces are present after the copy. |
| ClickHouse database | New ClickHouse Cloud service or BYOC cluster | Size the target for the data volume and disk headroom. Confirm the target version against the Langfuse release you run. |
| CLICKHOUSE_URL | Points to the new cluster endpoint | Update in the Langfuse Web and Worker configuration. Confirm the endpoint is reachable from every container. |
| CLICKHOUSE_MIGRATION_URL | Points to the new cluster endpoint | Update alongside CLICKHOUSE_URL so migrations target the new cluster. |
| Credentials | New database user and password | Create a dedicated user with the permissions Langfuse needs. Store secrets in your secret manager, not in plain configuration. |
| SSL settings | Enabled per the target's requirements | Confirm the TLS mode and certificate trust chain with your provider or BYOC platform team before the first connection test. |
| Network access | Allowlisted paths from your Langfuse hosts | Confirm egress from your Langfuse network to the target endpoint, including firewall rules and private connectivity where used. |
| Ingestion | Paused during the copy | The documented path stops web and worker containers. A live dual-write cutover has not been validated, so plan for the pause. |
Choosing between remoteSecure copy and BACKUP and RESTORE
The first question is whether the source ClickHouse can open a direct, encrypted connection to the target service. The remoteSecure method uses ClickHouse's remote table function over a secure connection, so data flows from the source cluster to the destination while both are reachable. That fits when the two environments can route to each other and firewall rules allow the native secure port. The BACKUP and RESTORE method instead writes a backup to object storage that both sides can reach, so it fits when there is no direct route between the environments or when the security team does not allow an inbound path. Confirm with your network team which option the firewall policy supports before you plan the window.
- Direct reachability: remoteSecure needs the source to connect to the target endpoint on the secure port, usually from the source side.
- Egress rules: BACKUP and RESTORE needs the source and target to reach the same bucket, not each other.
- Private endpoints: check whether your cloud or BYOC setup exposes ClickHouse only through private links, which can rule out one method.
- Credentials: each method needs its own credentials and TLS settings, so list them with the network owners early.
- Verification: after either method, confirm row counts and the latest timestamps per table match the source.
Settle the network path first, because it often decides the method before any other factor is weighed.
Data volume affects how much disk headroom and how much time the ingestion pause needs. Langfuse's v3 to v4 guide advises about 3x ClickHouse disk headroom when backfilling historic data, and that same caution applies to a copy that lands in a new cluster. Object storage makes large volumes easier to stage, because the backup is written once and restored from storage, while a direct transfer keeps both sides busy for the whole copy. Neither method is faster by default, so measure your own tables on a test copy before choosing. Ask your team for the current size of the traces, observations and scores tables, and ask the target provider how it sizes disks for restored data.
- Table sizes: list the largest tables and their growth since the last check, not just the total database size.
- Staging space: BACKUP and RESTORE needs room in object storage for the backup as well as disk on the target.
- Pause length: the ingestion pause lasts for the full copy, so a larger volume extends the outage window.
- Partial reruns: plan how an interrupted copy resumes, since a failed remoteSecure run may need to restart table by table.
- Retention: trim data you no longer need under your retention policy before the copy, so you do not move it.
Check the disk and staging headroom against the largest table before you schedule the pause.
BACKUP and RESTORE depends on object storage that both the source and the target can read and write. This is the method's main requirement, and it adds access policies, bucket lifecycle rules and encryption settings to the migration plan. remoteSecure avoids the intermediate bucket, which removes one place where data can be exposed and one set of permissions to manage, but it still needs an encrypted channel and credentials that the target trusts. Your security team should decide whether a temporary bucket is acceptable under your data handling rules, and whether it must be encrypted and deleted after the restore.
- Bucket permissions: grant write access to the source and read access to the target, scoped to a dedicated prefix.
- Encryption: confirm server-side encryption and key ownership for the staging bucket.
- Cleanup: set a deletion step after successful verification so copies of traces do not linger.
- Access logging: enable logs on the bucket if your audit rules require record of who read the backup.
- Credential scope: keep the keys used for the copy short-lived and remove them after cutover.
If your policy forbids a staging bucket holding trace data, the choice between the two methods is effectively made for you.
Both methods run through ClickHouse SQL, so the work is familiar to a team that already operates ClickHouse. The difference is in the moving parts. BACKUP and RESTORE involves a backup job, a storage target, status checks on both ends and a restore that must be monitored to completion. remoteSecure involves fewer moving parts but a longer single statement per table and tighter coupling between the two clusters during the window. Be honest about who will run the copy at night and who will check it. Ask whether the people on the change have run each method before, and whether the target provider has a runbook for either.
- Operator experience: a team that has used ClickHouse backups before can usually handle BACKUP and RESTORE with less risk of a stalled copy.
- Monitoring: remoteSecure is easier to watch per table, while a staged backup needs checks on both the backup job and the restore.
- Rehearsal: run the chosen method against a non-production copy before the real pause.
- Support: ask the provider which method they support for your setup and what they will help with during the window.
- Handover: write down the exact commands, credentials owner and rollback step before the day.
If the team has no recent ClickHouse backup experience, rehearse the method on a copy before committing to it.
Whichever method you use, the copy is not finished until the target has been checked against the source. Langfuse does not provide a live dual-write cutover that has been validated, so the source should stay frozen while you verify. Compare row counts, the earliest and latest timestamps, and a sample of traces, observations and scores per table. Then point Langfuse at the target by updating CLICKHOUSE_URL, CLICKHOUSE_MIGRATION_URL, credentials and SSL settings, and confirm that the web and worker containers start cleanly and that recent history is visible in the UI and API. Keep the source intact until the target has run through a full business cycle.
- Counts and ranges: compare row counts and min or max timestamps for every table, not only the largest one.
- Sampled records: spot-check specific traces and scores by ID, including their observations.
- Connection settings: confirm the URL, migration URL, credentials and SSL options match the target and not the source.
- Container health: check web and worker logs for schema or connection errors after the restart.
- Source retention: keep the old cluster read-only until you have accepted the target.
Do not resume ingestion until the counts, ranges and samples all match the source.
Documented copy paths and configuration keys
The documented move from ClickHouse OSS to ClickHouse Cloud or BYOC comes down to two copy methods and a short list of environment settings. Each card below names one of them and says what to check before the cutover window opens.
remoteSecure copy
The remoteSecure table function reads data from the source ClickHouse over a TLS connection and writes it into the target cluster in one step. It suits smaller histories and simple networks, since the copy runs through the network path between the two servers. Confirm that the source can reach the target over the secure port, that certificates are trusted on both ends, and that the copy is run table by table against a paused Langfuse.
BACKUP and RESTORE through object storage
The second method exports data with BACKUP to an S3-compatible bucket and then imports it with RESTORE on the target. It decouples the copy from a live network link between the two clusters, which helps with large histories or when the destination sits in a different network zone. Plan for bucket access from both sides, storage cost for the backup itself, and a restore test on a non-production target before the real cutover.
CLICKHOUSE_URL and CLICKHOUSE_MIGRATION_URL
CLICKHOUSE_URL is the endpoint that Langfuse Web and Worker use for reads and writes, and CLICKHOUSE_MIGRATION_URL is the endpoint used for schema migrations. Both must point at the new ClickHouse Cloud or BYOC service before ingestion resumes, and a mismatch can leave the app writing to one cluster while migrations run on another. Change them together in the same deployment revision and confirm both values in the running containers.
Credentials and SSL settings
Credentials for the new service and the SSL settings that go with them must be set in the same change as the URLs, since a valid URL with the wrong user or a missing TLS option will fail at startup or on the first query. Store the secret values in your normal secret manager, not in Compose files or Helm values checked into source control. Confirm the user has the privileges Langfuse needs on the target database before the pause begins.
Pause and resume the containers
The documented path scales Langfuse Web and Worker down before the copy, so no new rows land on the source while it is read. Scaling back up is the last step, after the settings point at the target and a health check passes. Record the pause start and end times, because traces sent by applications during that window may be queued by the SDK, dropped or retried depending on configuration, and you should confirm which behavior applies to your clients.
Verification after the copy
Compare row counts and time ranges for traces, observations and scores between source and target, and open a sample of recent and old traces in the UI. Check that prompts and datasets still resolve and that the API returns scores for a known trace. Confirm your own list of checks with the Langfuse documentation for your exact version, since the check depends on which tables your deployment uses.
Sequence for pausing ingestion, copying data and cutting over
This sequence moves historic traces, observations and scores from a self-hosted ClickHouse OSS cluster to ClickHouse Cloud or BYOC, with a verified copy and a planned ingestion pause at cutover.
Inventory ClickHouse version, disk and retention
Record the current ClickHouse server version, the size of the trace, observation and score tables, free disk on the OSS nodes, and the data retention settings in use. Confirm the Langfuse release you run and keep it unchanged for the move, since Langfuse recommends not combining this move with a major version upgrade. Ask your DBA to confirm the table list and row counts, because these become your verification baseline. The step is done when you have a written inventory signed off by the data owner.
Provision the ClickHouse Cloud or BYOC target
Create the target ClickHouse service in ClickHouse Cloud or in your BYOC environment, sized for the data inventory with headroom for the copy. Set up network access from the Langfuse Web and Worker containers, create the database user with the privileges Langfuse needs, and confirm the SSL settings you will use. Confirm with the ClickHouse vendor which version and features your target supports. The step is done when a test connection from the Langfuse network succeeds using the new credentials.
Rehearse the copy in a non-production target
Run the chosen copy method, either remoteSecure or BACKUP and RESTORE through object storage, against a non-production Langfuse environment and a separate target. Time the run and record any errors, schema mismatches or permission gaps. Start the rehearsal Langfuse on the new ClickHouse and check that the UI loads historic traces. The step is done when a full rehearsal completes and the row counts match the inventory baseline.
Pause ingestion by scaling down web and worker
Schedule a maintenance window with the teams sending traces, because a live dual-write cutover has not been validated and an ingestion pause is required. Scale the Langfuse Web and Worker containers down so no new events are written to the OSS cluster. Confirm that the queues have drained and that no containers are still writing. Tell application teams that events sent during the pause may need to be retried or buffered on their side. The step is done when no writes reach the OSS ClickHouse.
Run the final copy from the OSS cluster
With ingestion paused, run the production copy using the same method you rehearsed. Use the same object storage path or connection settings, and keep the logs of each table. Compare the final row counts for traces, observations and scores against the pre-pause inventory. Keep the OSS cluster read-only and untouched so you can roll back. The step is done when every table copy completes without errors and counts match the source.
Update connection settings and restart
Update the CLICKHOUSE_URL, CLICKHOUSE_MIGRATION_URL, credentials and SSL settings in the Langfuse configuration to point at the new target. Apply the change to the Web and Worker containers and confirm the migration URL is reachable. Start the containers and watch the startup logs for database connection errors. The step is done when both containers start cleanly and report a healthy connection to the new ClickHouse.
Verify traces, observations and scores
Check that historic traces, observations and scores are visible in the UI and API, and compare the counts for each table against the inventory baseline. Spot-check a sample of recent and old traces, including scores attached to them. Send a test trace from an instrumented application and confirm it appears in the new ClickHouse. The step is done when counts match, the spot checks pass and the test trace is stored, and the sign-off is recorded.
Resume ingestion and decommission the OSS cluster
Restore the Web and Worker containers to their normal scale and tell application teams that ingestion has resumed. Monitor queues and error rates for an agreed period before you retire anything. Once the new cluster has run cleanly, plan the decommissioning of the OSS cluster with a retained backup, and remove its credentials from the configuration. The step is done when ingestion is stable on the new target and the OSS cluster is archived or removed under your retention rules.
How the ingestion pause and copy fit together
The diagram starts with an inventory of the current ClickHouse OSS data, then a rehearsal copy into ClickHouse Cloud or BYOC while Langfuse keeps running normally. The cutover begins when the web and worker containers are scaled down to pause ingestion, followed by the final copy using remoteSecure or BACKUP and RESTORE through object storage. Operators then update CLICKHOUSE_URL, CLICKHOUSE_MIGRATION_URL, credentials and SSL settings, and verify row counts and sample traces. If verification fails, ingestion stays paused and the team repeats the rehearsal copy before trying the cutover again. Decommissioning the old ClickHouse OSS instance comes only after ingestion resumes cleanly.
Ingestion pauses only for the final copy and cutover.
Why this move should not be combined with a major Langfuse upgrade
Langfuse advises keeping the move from ClickHouse OSS to ClickHouse Cloud or BYOC separate from a major version upgrade, and the reason is that the two changes touch the same data in different ways. The deployment-model change moves your existing ClickHouse data to a new home and repoints CLICKHOUSE_URL, CLICKHOUSE_MIGRATION_URL, credentials and SSL settings. A major upgrade, such as the v3 to v4 path, changes the software and the data model itself. The v4 guide moves to an observations-first ClickHouse data model, requires ClickHouse 25.12 or later (26.4 recommended), and advises about 3x ClickHouse disk headroom when backfilling historic data. If both happen in one window, a copy or connection problem and a schema or migration problem can look identical in the logs, and you cannot tell which change caused the failure.
Combining the two also multiplies failure points during the ingestion pause. The documented path scales down the web and worker containers, copies the database, and then brings the application back. Every extra variable added to that window, such as a new ClickHouse major version, a new PostgreSQL requirement, a Redis or Valkey change, or a Helm chart move from v1 to v2 for bundled data stores, lengthens the time traces are not ingested and widens the set of things to check afterwards. Rollback becomes unclear as well. Reverting the ClickHouse connection is straightforward only while the Langfuse version stays the same, so you should confirm with Langfuse's documentation which steps are reversible after a backfill has started on the new cluster. Run the move on the latest Langfuse release unchanged, verify traces, scores and observations on the new cluster, and then plan the major upgrade as its own project through the Langfuse upgrade guide.
What makes the ingestion window longer or shorter
The ingestion pause lasts as long as it takes to copy, restore and verify your historic data, and each driver below stretches or shortens that work. Langfuse plans for an ingestion pause rather than a live cutover, so every item here is a question to settle before you choose a date. Measure each one in your own environment rather than assuming the window.
Total history size
The more traces, observations and scores in your ClickHouse tables, the longer the copy or backup and restore takes. Measure table sizes and row counts per table for the retention window you plan to keep, not only the total disk footprint. Ask whether any data can be dropped under your retention policy before the move, since that shrinks the copy directly.
Migration FAQDisk headroom on the target
The target ClickHouse needs room for the restored data plus working space during the restore. The v3 to v4 guide advises about 3x ClickHouse disk headroom when backfilling historic data, which is a useful reference point even though this move is separate from that upgrade. Confirm the target's storage tier and free space before starting the pause, because a failed restore on a full disk adds time.
Network path and encryption
If you use remoteSecure to copy data directly between the old and new ClickHouse, throughput depends on the network path between them, including any firewall, VPN or cross-cloud link. TLS adds CPU cost on both ends and must be configured correctly before the copy starts. Test the connection and certificates with a small table first, so a handshake failure does not surface in the middle of the pause.
Object storage access for backup and restore
The BACKUP and RESTORE path routes data through object storage, so bucket location, permissions, and request limits set the pace. Confirm that the source can write and the target can read the same bucket or prefix, and that credentials are scoped to that path only. Slow or throttled object storage stretches the window more than almost any other driver.
Verification scope
A broader check of row counts, sampled traces, scores and prompt or dataset references takes longer than a single count comparison. Decide before the pause which checks must pass before ingestion resumes, and which can run afterward against the live system. Keep the list short and written, so the team is not improvising under time pressure.
Number of teams that must stop
Every application, SDK or OpenTelemetry pipeline that sends traces to this Langfuse instance must be paused or redirected during the window. Each team that owns a sender adds coordination work, and a missed sender produces gaps that are hard to backfill later. Build a list of all ingestion sources, including scheduled jobs and third-party integrations, and confirm each owner before choosing the date.
Cost and effort components and what to ask for in a quote
This table breaks the migration into the work packages that carry cost, shows who is typically paid for each, and marks whether the cost is one-time or recurring. Use it to compare a DeployOpen quote with ClickHouse-side charges and your own internal effort, and to see which items to request in writing before work starts.
| Cost component | Who is paid or who carries it | One-time or recurring | What drives it and what to ask for |
|---|---|---|---|
| Inventory of the current ClickHouse OSS deployment | DeployOpen scope, or your internal platform team | One-time | Table count, data volume, retention settings and the Langfuse version in use. Ask for a written inventory deliverable. |
| Target provisioning on ClickHouse Cloud or BYOC | ClickHouse for the managed service fees, DeployOpen or your team for BYOC setup and networking | Setup is one-time, service fees recur | Region, sizing, private connectivity and whether the target is Cloud or BYOC. Ask ClickHouse for its current plan terms and any BYOC prerequisites. |
| Rehearsal of the copy on a non-production copy | DeployOpen scope, with your staff for test access | One-time | Data volume and the number of copy cycles needed. Ask for the rehearsal plan, success criteria and how many runs are included. |
| Ingestion pause window planning | Your team (business owners and SDK teams), with DeployOpen input | One-time | Length of the pause, which applications send traces and whether callers can buffer. Agree the window in writing. |
| Final copy using remoteSecure or BACKUP and RESTORE | DeployOpen scope, with object storage charges from your cloud provider | One-time, storage charges while staged | Data volume, network path and staging storage size. Ask who pays for egress and staging storage. |
| Configuration cutover and verification | DeployOpen scope, your team for approvals | One-time | Number of environments and checks for traces, observations and scores. Ask for the verification checklist and rollback steps. |
| Decommission of the old ClickHouse OSS data | DeployOpen scope or your infrastructure team | One-time | Retention obligations for the old copy and backup holds. Confirm the retention period with your compliance team before deletion. |
| Ongoing ClickHouse service and hosting | ClickHouse (managed service) or your cloud provider and team (BYOC) | Recurring | Compute, storage and support tier. Request the pricing model in writing from ClickHouse. |
| Optional retainer for support after cutover | DeployOpen, under a retainer agreed in writing | Recurring, if chosen | Support hours, response expectations and upgrade work included. Ask whether a separate Langfuse upgrade is excluded from the retainer. |
What usually goes wrong during a ClickHouse move and how to prevent it
Most problems in this move come from planning gaps rather than from the copy itself. The risks below cover storage, cutover method, connection settings, upgrade timing and the length of the ingestion pause. Each card names the check to run before the pause begins.
Missing the disk headroom
Copying historic data into a new ClickHouse needs free disk on both sides while the source remains in place. Langfuse's v3 to v4 guide advises about 3x ClickHouse disk headroom when backfilling historic data, and a move that copies data through object storage adds its own staging footprint. Measure the current ClickHouse data size, then confirm the target volume and any backup bucket can hold the copy with room to spare before scheduling the pause.
Attempting an unvalidated live dual-write
It can seem faster to write to both ClickHouse instances and avoid any pause. Langfuse states that a live dual-write cutover has not been validated, so the two stores can drift in ways that are hard to detect later. Plan for a stopped ingestion window, and treat any dual-write design as a change that needs its own test plan and a rollback path.
Mismatched SSL or credentials
After the copy, Langfuse must reach the new ClickHouse with the correct URL, user, password and SSL settings. A mismatch often appears only when the web and worker containers restart, so a successful copy can look like a failed deployment. Build a table of every CLICKHOUSE_URL, credential and SSL value for both containers, and check each one against the target before restarting.
Unverified migration URL
Langfuse uses a separate migration URL in addition to the main connection, and it is easy to update only the runtime value. If the migration endpoint still points at the old cluster, schema changes may run against the wrong server at startup. Confirm that CLICKHOUSE_MIGRATION_URL and CLICKHOUSE_URL both resolve to the new deployment, then check the logs during the first startup.
Combining the move with a major upgrade
Moving the deployment model and moving to a new major version change different things at once. Langfuse recommends running the latest release unchanged during the move, and the v3 to v4 path alone requires ClickHouse 25.12 or later and moves to a new data model. If both happen in one window, a failure cannot be attributed to either change. Schedule the upgrade as a separate change after the move is verified.
An ingestion pause that overruns
The copy duration depends on data volume, network path and whether the backup and restore runs through object storage, so the pause often runs longer than the first estimate. Trace producers that keep sending during the pause may also queue work or drop events, depending on their own retry behavior. Ask the team to measure a test copy on a snapshot first, define a go or no-go checkpoint, and agree how application teams will buffer or retry traces during the window.
Migration guideQuestions teams ask before moving Langfuse to ClickHouse Cloud or BYOC
What drives the effort and cost of moving Langfuse to ClickHouse Cloud or BYOC?
The main drivers are how much trace history you carry, how many ClickHouse tables and settings your current deployment has changed from defaults, and how many environments (staging, production, backup) must be moved and verified. Your internal platform team pays for the planning, the pause window and the verification, and any partner is paid against a written scope. Ask any quote to separate one-time work (copy method selection, rehearsal, cutover, verification) from recurring costs such as ClickHouse Cloud or BYOC infrastructure, which you pay to the platform provider. Ask for a rehearsal in a non-production copy before the cutover is priced.
How long does the ingestion pause last during the move?
The pause lasts from the moment you scale down the web and worker containers until the new connection settings are live and verified, so it is set by the data volume to copy and by how long your verification takes. The documented path pauses ingestion by scaling down web and worker containers, then copies the database with remoteSecure or BACKUP and RESTORE through object storage. Langfuse says a live dual-write cutover has not been validated, so plan for an ingestion pause rather than a zero-downtime switch. Rehearse the copy on a non-production instance to measure your own duration before you set a maintenance window.
Can our own team move Langfuse to ClickHouse Cloud or BYOC without outside help?
Yes, if your team has the skills to run ClickHouse backups, object storage access and Kubernetes or Docker operations, because the documented path is a set of steps rather than a custom build. The work still needs someone who owns the copy method, the environment variables (CLICKHOUSE_URL, CLICKHOUSE_MIGRATION_URL, credentials and SSL settings) and the rollback plan. Teams that lack ClickHouse operations experience often use a fixed-scope engagement to rehearse the copy and document the cutover. Decide this after a rehearsal shows your data volume and access constraints.
What must our team provide before the move starts?
You need to provide access to the current Langfuse deployment and its ClickHouse nodes, the target ClickHouse Cloud or BYOC environment with network routes between them, object storage for the backup or copy, and credentials with permission to pause and restart the Langfuse containers. You also need a named owner for the maintenance window, a list of applications that send traces during the pause, and sign-off on a rollback plan. Confirm the exact ClickHouse version of your current and target environments with the ClickHouse documentation and your own environment before scheduling.
Is a live cutover with no ingestion pause possible?
Langfuse says a live dual-write cutover has not been validated, so you should not plan on one. The supported approach is to pause ingestion, copy the data, update the connection settings and resume. Applications that keep sending traces during the pause may see errors or retries depending on their SDK configuration, so confirm that retry behavior with your application owners before the window. If your tracing volume cannot tolerate a pause, discuss it with Langfuse support before you commit to a schedule.
Should we upgrade Langfuse before moving to ClickHouse Cloud or BYOC?
No. Langfuse recommends running the latest release unchanged during the move and advises keeping the move separate from a major version upgrade. Combining both changes the deployment model and the data model at the same time, which makes it hard to tell which change caused a fault. Updates within a major version are applied automatically at startup, so keep the version fixed during the move and plan any major upgrade as its own project with its own rehearsal. Major upgrades such as v3 to v4 have their own ClickHouse, PostgreSQL and Redis version requirements and disk headroom guidance.
What should we confirm with ClickHouse before choosing Cloud or BYOC?
Confirm which ClickHouse version your target environment runs and whether it meets the version Langfuse requires for your release, including the newer minimums that apply to Langfuse v4. Ask how the target supports the copy method you plan to use, such as remoteSecure or BACKUP and RESTORE through object storage, and what network and TLS settings it requires. Ask about backup, retention and disk capacity for the copied data, and whether BYOC changes who operates the cluster and who is responsible for patching it. Record each answer in writing before the window.
How DeployOpen scopes and delivers the ClickHouse move
DeployOpen plans the move of a self-hosted Langfuse from ClickHouse OSS to ClickHouse Cloud or BYOC as a deployment-model change, separate from any major version upgrade. The work follows the documented path: pause ingestion, copy the historic data, repoint Langfuse and verify the result before traffic returns.
How we scope
- Inventory the current Langfuse version, ClickHouse version, data volumes and any Enterprise features in use
- Agree the copy method, the ingestion pause window and the rollback point in a written scope
- Confirm target network, TLS, credential and backup requirements for ClickHouse Cloud or your BYOC account
How we build
- Run the latest Langfuse release unchanged during the move, so the only variable is the ClickHouse deployment
- Scale down web and worker containers, then copy data with remoteSecure or BACKUP and RESTORE through object storage
- Update CLICKHOUSE_URL, CLICKHOUSE_MIGRATION_URL, credentials and SSL settings, then test a sample of traces, observations and scores
How we hand over
- Document the final connection settings, the copy steps used and the verification results for your records
- Record row counts and spot checks for traces, observations and scores before and after the cutover
- Walk your platform team through restart, rollback and backup procedures for the new ClickHouse environment
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the move is complete
- Plan any later major Langfuse upgrade as its own project, with its own ClickHouse headroom and migration steps
- Review backups and monitoring for the new ClickHouse deployment with your operations team on an agreed schedule

