How to export your data from Segment before the contract ends
If a renewal, a pricing change or a residency requirement is forcing you out of Segment, start by separating two things: the event history already stored in Segment, and the events that arrive after you change your setup. What can leave depends on your plan tier. According to Twilio's data export documentation, Free and Team customers can connect one data warehouse, while Business customers can connect as many as they need. Segment also stores every API call as line-separated JSON objects in Amazon S3, so raw data is a documented export path, but only for the tier and configuration you actually have.
Future events and history follow different paths. Enabling the Amazon S3 destination copies only data sent to Segment after the destination is turned on, so it does not recover anything collected before that date. Replay of historical, timestamped data to a new vendor is available only on the Business plan. Turn on the S3 export or warehouse connection now, before any cutover, so that the post-enablement archive starts accumulating while you plan the rest. Confirm with Twilio which of these paths your contract includes, because the documentation describes plan features and your agreement may differ.
This page covers only documented export paths. Before you switch, record your sources, write keys, tracking plan schemas, destination list and the warehouse mappings you depend on, since these are not exported as analytics history and will need to be rebuilt in the new pipeline. Ask your Segment account owner to confirm in writing which historical data you can receive, in what format and by what date, and whether any Replay option is included at your tier. Those answers determine how much of your history you can carry over and how much must be treated as lost.
Which Segment data can be exported, and by what method
This table lists each Segment data type you may need to keep, the method that moves it out, the format it arrives in, and the limits that apply. Read it before you switch collection, because the Amazon S3 copy and Replay only cover what their settings and plan allow.
| Data type | Export method and plan | Format and limits |
|---|---|---|
| Raw API call events to a warehouse | Warehouse destination. Free and Team plans can connect one warehouse, Business can connect as many as needed | Loaded into the connected warehouse; confirm table layout and sync behavior with Twilio before relying on it |
| Raw API call events copied to Amazon S3 | Amazon S3 destination, enabled in Segment settings | Line-separated JSON objects; copies only data sent after the destination is turned on, so earlier history is not included |
| Historical timestamped data for a new vendor | Replay, available only on the Business plan | Replays historical, timestamped data to a new vendor; not available on Free or Team, so confirm your plan before planning around it |
| Source configuration | Record manually from the Segment workspace before switching | Source names, write keys and enabled destinations; no export file is implied, so capture them in your own change record |
| Tracking plan configuration | Record manually from the Segment workspace before switching | Event names, properties and their expected schema; keep a copy so the new pipeline can validate against the same definitions |
| Destination mappings and settings | Record manually from each destination before disabling it | Field mappings, filters and credentials references; credentials must be re-entered in the new system, not copied |
Why the Amazon S3 copy does not give you your history
The Amazon S3 destination copies only data sent to Segment after the destination is turned on. Events collected before that point are not in your bucket unless they were already exported somewhere else. Treat the S3 copy as a forward-only feed, and plan your history separately before you rely on it for a migration.
This changes the timing. Enable the S3 destination early enough that it has collected a usable baseline of live traffic before you cut over, so you can check that event volumes, schemas and identifiers in the bucket match what your warehouse and tools expect. The period between enabling the destination and the cutover is covered only by the S3 copy itself, so any events you need from before enabling must come from a warehouse destination, a previous export, or Replay on the Business plan. Record the date you enable the destination in your migration log, since that date marks where the S3 history begins.
Ask Twilio how long data sent before the S3 destination was enabled remains available in your workspace, and whether any of it can be retrieved for export. Confirm this in writing for your plan, your region and your source configuration, because retention terms and retrieval options are not something this page can state for you. Also confirm whether Replay of historical data is included on your plan, since on the Business plan it is the only route listed here for reprocessing older timestamped events into a new vendor.
What does not export from Segment and the workarounds
Segment's export options move event data, but several things never arrive as rows: historical replay, source and destination settings, tracking plans, and events sent before a copy was turned on. Each card below names one gap and the workaround that covers it, so the cutover plan accounts for them before Segment is switched off.
Historical replay to a new vendor
Replay of historical, timestamped data to a new vendor is available only on Segment's Business plan. If your plan is Free or Team, you cannot rely on Replay to backfill Jitsu or RudderStack, so plan for a warehouse-based backfill instead. Ask Twilio what your plan includes before you assume any replay path. Keep a dated record of which sources and destinations were active during the history you need.
Segment export docsSources and destinations configuration
Sources, destinations, connection settings, write keys and destination field mappings are configuration, not data rows, so none of them lands in a warehouse or S3 export. Recreate them in the new stack from a written inventory: each source, its write key owner, each destination and its mapped fields. Export the list from the Segment workspace before anyone changes a setting.
Tracking plans and schema rules
Tracking plans define the events, properties and validation rules your team agreed to send. They are workspace settings rather than exported events, so the rules disappear when the workspace is closed. Save each plan's event names, required properties and allowed values in your own repository, and rebuild validation in the new pipeline or in code review.
User-facing rules and filters
Filters, transformations, consent-related settings and other rules that shape what gets forwarded are also not exported as data. A rule that dropped test traffic or removed a property before a destination received it will not be known to the new system unless you record it. Document each rule with its purpose and test that the new pipeline reproduces the same output on sample events.
Events sent before the S3 destination
The Amazon S3 destination copies only data sent to Segment after the destination is turned on. Events collected before that date are not in the bucket, even if they remain in Segment's own systems. If you need older history, use a warehouse copy taken earlier, or ask Twilio what historical access your plan allows. Note the enablement date for every S3 destination you rely on.
The export sequence and how to verify each step
This sequence moves your Segment history and configuration out in an order that keeps a verifiable copy at each stage, so you can check the export before any collection traffic moves. Each step names the artifact or check that shows it worked.
Inventory sources, destinations and tracking plans
The workspace owner or data lead exports a list of every source, destination, tracking plan and connection in the Segment workspace, including write keys, the events each source sends and which destinations receive them. Store the list in your own documentation system. It is done when every source and destination in the Segment interface appears in your inventory with its owner and purpose, and someone other than the author has reviewed it against the live workspace.
Confirm plan tier and warehouse connection count
The workspace owner checks the plan tier in Segment's billing settings and confirms how many warehouses are connected. Per Twilio's data export documentation, Free and Team customers can connect one data warehouse, while Business customers can connect as many as they need. It is done when the tier and the connection count are written down, and any second warehouse you need is either covered by your tier or flagged as a blocker before you proceed.
Enable the Amazon S3 and warehouse destinations early
The data engineer turns on the Amazon S3 destination and any warehouse destination now, not at cutover. Twilio's documentation states that the S3 destination copies only data sent after it is enabled, so every day without it is history you cannot recover through that path. Segment stores API calls as line-separated JSON objects in S3. It is done when the first objects appear in the bucket and the warehouse tables show new rows with recent timestamps.
Export and retain a copy of warehouse data
The data engineer copies the existing warehouse tables and the S3 objects to a separate, access-controlled location that you own, and records row counts and object counts per table or prefix. Replay of historical, timestamped data to a new vendor is limited to Business plan customers, so confirm your tier before assuming it is available. It is done when the copy's row counts match the source for each table and the retained location passes a restore test on a sample table.
Compare event counts and schemas on a sample
The analytics engineer picks a fixed time window, such as one recent day, and compares event counts, property names and property types between the Segment export and the source system or the warehouse tables. Mismatches usually point to tracking plan drift or SDK versions that send different fields. It is done when the counts reconcile within a tolerance you set in advance, and each difference has a recorded explanation or a fix.
Record write keys and settings before switching
The platform owner records every source write key, the destination configurations, tracking plan rules, identify and group settings, and any transformations or filters, and stores them in your secrets manager. These values are needed to rebuild the pipeline in Jitsu or RudderStack and to prove parity later. It is done when a second person has confirmed the record against the Segment workspace and every value needed for cutover is accessible without logging into Segment.
How the export paths fit around the Segment workspace
The diagram starts at your Segment workspace, where sources send events. One path goes to the data warehouse you connect, which is available on every plan, though Free and Team allow only one. A second path copies events to Amazon S3 as line-separated JSON, but only events sent after you turn that destination on. Replay of historical data to a new vendor is a separate path and is limited to Business plan customers. Before you switch, check that each path reaches storage you control and confirm the event counts match.
Export paths from Segment, with the history replay limited to Business plans.
What your Segment plan tier changes in the export
Free and Team customers can connect one data warehouse, according to Twilio's Segment data export documentation. That single connection is the main export path on these tiers, and it covers the events you send to Segment going forward. Replay of historical, timestamped data to a new vendor is not available on these tiers, so a team on Free or Team should plan for history to stay behind in Segment or to be rebuilt from a warehouse copy.
- One warehouse connection: you can route data to one warehouse, so pick the destination that will serve as the long-term archive before you start.
- No history replay: past events cannot be pushed to a new collection vendor from within Segment on these tiers.
- Parallel running is limited: with only one warehouse slot, a second system that needs the same data may have to read from that warehouse instead of a separate connection.
- Amazon S3 copies are forward-only: if you rely on S3 as the export, only events sent after you enable it are copied.
Confirm with Twilio which warehouse connection your plan includes and whether any history export option exists for your contract before you choose a path.
Business customers can connect as many warehouses as they need, which makes it possible to send the same events to an archive, an analytics store and a new collection system at once. Business is also the only tier where Replay of historical, timestamped data to a new vendor is available. For a team that must run two systems in parallel, this is the tier where the old and new stacks can receive the same data during the cutover window and where past events can be backfilled.
- Multiple warehouse connections: you can keep an archive and a live analytics store fed at the same time.
- Historical replay: timestamped history can be sent to a new vendor, which lets a new system start with past data.
- Parallel receivers: an additional destination such as a self-hosted collector can receive the stream while Segment stays live.
- Replay has its own scope: confirm which event types, time ranges and destinations the replay covers in your contract.
Ask Twilio whether your Business agreement includes replay, how far back it reaches and whether any volume or time limits apply, since these details decide whether the backfill is complete.
A parallel run means Segment and the replacement collect the same events for a period, so you can compare counts and fix mapping errors before Segment is switched off. The tier determines how many copies of the stream you can take and whether history can follow. Without enough warehouse connections or replay, the new system starts with a gap, and reports built on the old data will not match.
- Plan the overlap window: decide how long both systems receive traffic and who signs off the comparison.
- Count the destinations: list every warehouse, archive and downstream tool that must receive events during the overlap.
- Decide where history lives: if replay is not available, record which period stays in Segment or in your warehouse.
- Keep one source of truth: name which system answers questions about any date range during the overlap.
Confirm the overlap length, destination count and replay scope against your tier before you schedule the switch.
Choosing an export path is partly a contract question, so the right answers come from Twilio and from your own inventory. The Segment data export options page describes the connection rules for each tier, and it is the document to check against your account. Record the answers in writing so the migration plan rests on what your plan actually includes.
- Plan name and contract terms: confirm your current tier, and whether a renewal or change would alter warehouse or replay access.
- Warehouse connections: confirm how many you can use and whether any are already in use by other teams.
- Replay scope: confirm the date range, event types and destinations covered by replay, and any limits on volume.
- Amazon S3 start date: confirm the date from which the S3 copy begins, since earlier events are not included.
- Source and tracking plan settings: export your source list, write keys and tracking plan so the new system can be configured to match.
Get these answers from Twilio in writing and attach them to your migration record before you choose a path.
What to plan before the Segment contract renews or ends
Most of the export work depends on decisions made before a notice date passes: which plan you are on, what already flows to a warehouse or S3, and which history you must keep. The cards below separate the records to capture once from the work that keeps running until cutover.
Plan tier and renewal date
Record your exact Segment plan (Free, Team, Business or Enterprise), the renewal date and the notice period written in your order form. The plan decides what you can export: Free and Team can connect one data warehouse, while Business can connect as many as needed, and Replay of historical data to a new vendor is available only on Business. Confirm these with your Twilio account team rather than relying on the public pricing pages, because contract terms can differ.
- Free and Team limit
- 1 warehouse
Warehouse and S3 configuration
Write down every warehouse destination, its sync schedule, credentials owner and the tables it writes. Note whether the Amazon S3 destination is enabled and when it was turned on, because it copies only data sent after that point. Historical events before that date are not in S3 unless you obtained them another way, so check this gap now, while the destination settings are still visible.
Inventory of sources and destinations
Build a written list of every source (web, mobile, server-side), every destination, and the write key or SDK version each source uses. Mark which destinations are downstream analytics tools, which feed marketing systems and which are internal. Without this inventory, you cannot tell whether a replacement collector has reached parity before you turn Segment off.
Tracking plans and event schemas
Export or copy each tracking plan with its event names, required properties and data types, and record which sources are enforced against it. Changes to event names or properties during the move will break downstream reports, so the tracking plan is the reference you test the new pipeline against.
Retention needs for internal audit
Ask your audit, legal and privacy owners which event data, identity traits and deletion records must be kept, and for how long. Decide where those records will live after Segment, because the warehouse copy and any S3 files become your evidence set. Confirm retention periods with your privacy and compliance team rather than assuming the export preserves them.
Exit window and ongoing copy
Setup is one-time work: destinations, schemas, the migration plan and the sign-off test. The warehouse copy is recurring work, because data keeps arriving in Segment until cutover and the export must stay current to the last day. Agree on the final sync date, who verifies row counts, and how long you will keep Segment read access after the contract ends.
Questions teams ask before exporting data from Segment
Can we export our Segment data in-house without an outside partner?
Yes, many teams can, provided they have someone who administers Segment, someone who owns the warehouse, and engineers who can check SDK calls. The export itself is mostly configuration: Segment stores all API calls as line-separated JSON objects in Amazon S3, and Free and Team customers can connect one warehouse while Business customers can connect as many as they need. The harder work is deciding what to keep, rebuilding destinations, and proving that events still arrive correctly after the switch. Outside help makes sense when that proof is needed for an audit or when the internal team is already committed elsewhere. Check the current export options in the Segment data export documentation before you plan.
What makes the export effort grow or shrink?
Effort rises with the number of sources, the number of warehouse or storage destinations, and how complicated the tracking plan is. Plan tier matters because Free and Team allow one warehouse connection, while Business allows more and also includes Replay of historical data. A small site with one source and a clean tracking plan is a simpler job than a product with many mobile and server sources, custom event naming and several downstream tools. Undocumented events, duplicate identify calls and destinations that transform data before storage add time because each one must be traced and reconciled. Ask for a source inventory before estimating anything.
What access and people does the export need from our team?
You need an admin on the Segment workspace who can read sources, destinations, tracking plans and export settings, and whoever controls the target warehouse or S3 bucket, including credentials and write permissions. Engineers should be ready to check SDK calls in a staging environment, compare event counts and confirm that identify and page calls still carry the expected IDs and traits. Someone from data or analytics should sign off on the schema and the business definitions that reports depend on. Gather these names early, because waiting for credentials is one of the most common causes of delay.
How long does a Segment data export take?
The duration depends on scope: the number of sources and destinations, the warehouse setup, how many SDK versions must be checked, and how much history must be validated. No duration is given here. Ask any provider for a timeline that is tied to a written list of sources, destinations and acceptance checks, and ask which of those steps depend on your team's availability. Segment's own data export options can be read first to understand which exports are already available on your plan.
Can we recover historical Segment data if we are not on the Business plan?
Replay of historical, timestamped data to a new vendor is available only to Business plan customers, according to Twilio's Segment documentation. On other plans you can still work from what the warehouse destination has stored, and from raw files if they were captured through the Amazon S3 destination. That destination copies only data sent to Segment after it is turned on, so events from before it was enabled are not in it. Before you switch, check which history you already hold, record its date range, and decide whether the gap is acceptable for reporting and for any compliance retention requirement.
What should we write down in a scope before starting?
A written scope should list every source and its SDK version, every destination and its owner, the warehouse or S3 target, the plan tier and whether Replay is in use, the tracking plan version, and the date from which the S3 copy or warehouse sync has data. It should also name the acceptance tests: event count comparisons, sample payload checks, identity checks and a cutover window. Ask the provider to state what is delivered, what your team must provide, what is excluded, and how retesting after a fix is handled. Most engagements are fixed-scope, so the written scope is also what the quote follows from.
Does DeployOpen handle the Segment export for us?
DeployOpen plans, implements, integrates, documents and supports self-hosted open-source platforms in your own infrastructure, and it runs security testing and prepares compliance evidence. Export work is scoped in writing before it starts, and the quote follows from that scope. DeployOpen does not publish a price list, and it does not issue audit reports or certifications. Ask for the written scope described above so you can compare any provider on the same terms.
How DeployOpen would scope an exit from Segment
DeployOpen would start an exit from Segment by writing down what the export covers before anyone moves data. The work runs inside the client's own infrastructure, whether that is their cloud account, data center or air-gapped network, and the scope, deliverables and timeline are agreed in writing before work begins. The first deliverable is an inventory: every source, destination, tracking plan and warehouse connection in the Segment workspace, with the plan tier that governs each export path. That inventory decides what is copied, what is replayed and what is simply left behind, so it should be settled before any cutover date is set.
The inventory also records the evidence the client will need later. For each export route, such as a warehouse destination or the Amazon S3 destination, the record should note when it was enabled, because the Amazon S3 destination copies only data sent after it is turned on. The same record should capture the source write keys, tracking plan settings and any event schema rules, so the client can show what was collected and how it was governed. Verification evidence, such as row counts and sampled event comparisons between Segment exports and the target store, is kept with the inventory. DeployOpen does not issue audit reports or attestations, so this material is prepared for the client's own auditors and compliance team to review.
The client keeps its Segment contract, notice periods, data processing terms and any commitments about retention or deletion. DeployOpen does not interpret or negotiate those terms, and an exit scope does not promise any particular outcome for the migration or for Segment's own handling of data. Before signing a fixed-scope agreement, the client should confirm with Twilio which plan it is on, which export features that plan includes and what happens to data at contract end. Those answers determine how much of the scope is an export and how much is a rebuild of history that Segment will no longer provide.
How DeployOpen works on this
DeployOpen plans, implements and hands over self-hosted open-source platforms inside your own infrastructure, so a Segment export can be scoped, tested and documented before any source or destination is switched off. We start from what Segment is holding for your workspace, then agree the scope in writing before work begins.
How we scope
- Inventory every Segment source, destination, tracking plan and warehouse connection, and record the settings that must be captured before switching.
- Confirm your Segment plan tier, since warehouse count and Replay of history depend on it, and document what is and is not exportable.
- Agree in writing which data sets, time ranges and open-source targets are in scope, with deliverables and timelines fixed before work starts.
How we build
- Deploy the chosen open-source collection and warehouse path in your cloud account, data center or air-gapped network, with access control and audit logging configured.
- Set up the Amazon S3 export or warehouse destinations so that exported files and data stay in the storage location you control.
- Test the export end to end, comparing record counts, schemas and event properties against Segment before any production traffic is moved.
How we hand over
- Deliver an export runbook covering each source, destination, credential and retention setting, plus a log of what was copied and when.
- Document the cutover sequence, including which Segment settings were turned off and which historical data remains only in Segment.
- Provide evidence packs for your compliance and security reviewers, so they can check the export and data handling controls directly.
How we support
- Offer ongoing support, upgrades and continuous testing for the self-hosted stack as a retainer after the handover.
- Retest the export pipeline after each platform upgrade or configuration change, and report any drift from the agreed scope.
- Confirm with your team and the vendors any capability that changes between Segment plans or open-source release lines before you rely on it.

