How to export your data from Snowflake before a renewal or exit
Table data can be unloaded from Snowflake with COPY INTO to Amazon S3, Google Cloud Storage or Azure storage in CSV, NDJSON or Parquet, but the Snowflake platform itself cannot be installed on your side. Snowflake runs only on AWS, Google Cloud or Microsoft Azure, so the export moves your data out while the engine stays behind. Plan the export as one part of an exit. Schemas, roles and grants, pipelines, stored procedures, scheduled tasks and sharing arrangements all need their own inventory, and none of them travel with the files.
Start by choosing the target format per table. Parquet keeps column types and compresses well, which suits an open lakehouse. CSV is the most portable choice for loading into other engines, but it loses type information and needs care with delimiters and nulls. Use the MAX_FILE_SIZE option to control file size, and confirm with your Snowflake account team which external stage and cloud region you will use, since cross-region transfer charges depend on your cloud provider's pricing. Ask Snowflake for the current credit cost of the unload, because it runs on a warehouse and bills as compute time.
For tables that must stay queryable after exit, consider Apache Iceberg tables on an external volume, which keep Parquet data in your own cloud storage. Be aware that Snowflake provides no Fail-safe for them, so backup and recovery become your responsibility. Before any renewal decision, run a test unload of your largest and most sensitive table, restore it into a staging environment, and compare row counts and checksums. A successful test export is the evidence you need to negotiate from a position of knowledge rather than urgency.
What Snowflake documents as exportable, and how
This table lists the unload routes Snowflake documents for table data and query results, the file formats each supports, and the file-handling options that shape the output. Read it to see which exit paths are native to Snowflake and what you must plan for when files land in your own storage. The main takeaway is that the export itself is straightforward, and the work lies in the files it produces and the data that does not travel with them.
| Export option | What Snowflake documents | What to plan for |
|---|---|---|
| Unload to external stage (S3, GCS, Azure) | COPY INTO a location on Amazon S3, Google Cloud Storage or Microsoft Azure | Your bucket, credentials and storage policies must be set up before the unload runs |
| Unload to internal stage with GET | COPY INTO a Snowflake stage, then download the files with GET | Downloaded files pass through your client, so this suits small volumes better than large tables |
| Unload query results | COPY INTO a location from a query, not only whole tables | Use this to export a filtered or reshaped subset of a table |
| Delimited text (CSV) | Comma-delimited by default, with any single-byte delimiter | Check embedded delimiters, quoting and NULL handling before loading elsewhere |
| NDJSON and Parquet | Newline-delimited JSON and Parquet output are both supported | Parquet keeps column types, which eases loading into ClickHouse or Trino |
| Multiple files by default | SINGLE = FALSE is the default, with a data_ file name prefix when none is given | Expect many files per table, so plan for file listing and parallel loads |
| Maximum file size | MAX_FILE_SIZE sets the upper limit of each output file | Set it to match the load tooling you use on the receiving side |
| Iceberg tables on external volumes | Parquet data kept in your own S3, GCS or Azure storage in the open Iceberg format | No Fail-safe, so you own backup and recovery of these files |
What does not leave Snowflake with the table data
Unloading table rows copies the data, not the platform around it. Time Travel history, Fail-safe copies, access controls, compute settings and pipeline objects stay behind unless you rebuild or export them. Each card below names one item, the workaround for the target stack, and what to confirm with Snowflake documentation for your edition.
Time Travel history
Time Travel keeps earlier versions of tables for a retention period set by your edition, and COPY INTO only writes the state you unload at that moment. Earlier versions, dropped objects and restore points do not come with the files. On the target side, Iceberg snapshots in a Trino lakehouse or backups in ClickHouse cover different needs, so decide which history you must keep and build that retention explicitly. Confirm your retention settings with Snowflake documentation before the cutover.
Unload overviewFail-safe data
Fail-safe is a Snowflake-managed recovery window that the customer cannot query or configure, so it is never part of an export. Snowflake's Iceberg documentation states that Fail-safe does not apply to Iceberg tables on an external volume, which puts recovery of those files on your team. Before you decommission a Snowflake account, confirm which tables are native, which are Iceberg on external volumes, and which recovery copies you still need.
Iceberg tables docsRoles, grants and access policies
Roles, grants, row access policies and masking policies are metadata, and none of them move with the Parquet or CSV files. Every consumer that relied on a Snowflake role must be mapped to an identity in your target, whether that is file-based access control, Apache Ranger or Open Policy Agent in Trino, or ClickHouse users and row policies. Export the grant history from Snowflake and map each policy to a target control before users get access.
Warehouses and their settings
Virtual warehouses, their sizes, auto-suspend and auto-resume settings, and resource monitors are Snowflake compute objects. They do not exist as data and have no equivalent export. Record each warehouse's size, the workloads routed to it and its concurrency needs, then size ClickHouse servers or Trino workers from that record. Confirm the warehouse list and any resource monitors with your account administrator, since the exact settings vary by account.
Stored procedures, tasks and streams
Stored procedures, tasks, streams and the pipelines that call them hold logic that a file export cannot carry. Streams in particular track change data, so a cutover needs a defined point where the source stops changing. Pull the object definitions with DDL queries, then rewrite each one as a scheduled job, a dbt model or a Trino query in your orchestrator. Test the rewritten pipelines against the same row counts before you switch consumers over.
Preparing to unloadInternal tables in Snowflake-managed storage
Native Snowflake tables live in Snowflake-managed storage, and unloading copies their rows into files you own, but the table definitions, clustering keys and VARIANT or OBJECT column types are not exported as working tables. Each internal table needs a target schema, a sort or partition key and a type mapping before the load. Export table DDL for every table, then review the column types one by one, since the exact object list depends on your edition and account setup.
How the data moves from Snowflake to storage you control
The export starts inside Snowflake, where a COPY INTO statement writes table data to an external stage that points at a bucket in your own S3, Google Cloud Storage or Azure account. Once the files cross that boundary, Snowflake's job is done and your cloud account, your keys and your retention rules govern the data. Before you load anything downstream, check file counts, row counts and checksums against the source table, and confirm that the bucket's encryption, access policies and versioning meet your own requirements. The downstream target, whether ClickHouse or a Trino and Iceberg lakehouse, reads from that same bucket.
Data crosses from Snowflake into your bucket, then passes verification before any downstream load.
Export sequence: from inventory to verified copy
This sequence moves Snowflake tables into files in your own object storage and proves each copy matches its source before anything depends on it. The output is a set of exported files, a row-count and sample comparison record, and export logs your team can reuse for reloads.
Inventory tables, sizes and column types
The data engineering lead lists every table in scope with its row count, approximate size, column types and dependencies on views, streams or tasks. Semi-structured columns such as VARIANT, OBJECT and ARRAY are flagged because they need a deliberate format choice. The inventory is done when every table has an owner, a target priority and a note on whether it must be exported in full or only in a date range. Confirm current table sizes in your own account, since the export plan depends on them.
Choose the file format for each table
For each table, the data engineer picks Parquet where column types and nested values must survive intact, since Parquet keeps typed columns for downstream engines. Delimited CSV or NDJSON is kept for tables that a receiving system can only read as text, or where the consumer requires a specific delimiter. Snowflake supports CSV with any single-byte delimiter, NDJSON and Parquet for unloads, so each choice is recorded in a format register beside the inventory. The step closes when every table has one format and one reason for it.
Create the external stage and storage permissions
A cloud administrator creates a bucket or container in your own Amazon S3, Google Cloud Storage or Azure storage, then grants Snowflake a narrowly scoped role or storage integration that can write to one prefix. The Snowflake administrator defines an external stage that points at that prefix. Encryption at rest, bucket versioning and access logging are confirmed with your security team before the first write. The step is done when a test file written through the stage appears in the bucket and nothing outside the intended prefix is writable.
Run a pilot unload before the bulk export
The data engineer runs COPY INTO on one small, representative table using the chosen format, SINGLE = FALSE and a MAX_FILE_SIZE value you set explicitly. Files are then listed in storage and checked for count, size and naming, since Snowflake names unloaded files with a data_ prefix when none is given. The pilot also confirms that NULLs, timestamps, time zones and nested values come out as expected in the files. The step closes when the pilot output is accepted by the team that will read it.
Run the bulk COPY INTO with the chosen settings
After the pilot is accepted, the data engineer runs COPY INTO for each remaining table with SINGLE = FALSE and the agreed MAX_FILE_SIZE, in the priority order from the inventory. Each run is scheduled or tracked as a job, with the query ID, start and end time, and the number of files and bytes written recorded. Time Travel limits and retention settings are checked first so that source data needed for the copy is not changed mid-export. The step is done when every table has a completed unload and a log entry.
Verify row counts, checksums and samples
The data engineer compares row counts from the source table with the row count read back from the exported files, using a query engine you run on your side such as a Parquet reader or a staging load. Checksums are computed on file sets and compared with a record taken at unload time, and a random sample of rows is compared column by column against the source. Any mismatch is traced to the table, file and unload query before the table is marked verified. The step closes with a signed-off verification record per table.
Keep export logs and retest reloads on a spare target
The team archives the unload logs, file manifests, checksum records and verification results together, with the Snowflake query IDs and the stage and storage configuration used. A reload is then tested by loading a sample of the exported files into a spare target, such as a non-production ClickHouse or Trino catalog, and repeating the verification. Recovery from files that has never been tried is not proven, so this retest is what shows the export is usable. The step is done when a reload test has passed on the spare target and the evidence is stored with the export records.
Iceberg tables on an external volume as a lower-lock-in choice
A COPY INTO export is a one-time or scheduled unload. Snowflake writes table data or query results to an external stage on Amazon S3, Google Cloud Storage or Microsoft Azure, in delimited text, NDJSON or Parquet. The files are plain objects you control, so other engines can read them once they are in your storage. Snowflake is still the system of record for the table until you stop writing to it, so the export is a copy, not a move.
- Formats: Parquet is usually the better choice for analytical loads, while CSV is the default delimiter-based option and NDJSON suits semi-structured data.
- File layout: Snowflake writes multiple files by default, and
MAX_FILE_SIZEcaps each file, which affects how your loader splits work. - Repeatability: Each export is a separate step, so you must plan how incremental changes are captured and reconciled.
- Ownership: Once files land in your bucket, protection, retention and versioning are your responsibility.
- Snapshot consistency: Confirm how a live table is exported and whether writes during the unload need a freeze window.
Check the file formats, row counts and schema mapping against the source with a test load before you retire the Snowflake copy.
An Iceberg table on an external volume keeps its Parquet data files and Iceberg metadata in a bucket in your own S3, Google Cloud Storage or Azure account, while Snowflake manages the table definition and writes. Because the format is the open Apache Iceberg format, engines such as Trino can read the same files through an Iceberg catalog. That reduces how much of your data depends on Snowflake's storage layer, but it does not remove the need to test each reader.
- Storage location: Data stays in a bucket you own, with an external volume defining where Snowflake reads and writes.
- No Fail-safe: Snowflake provides no Fail-safe for these tables, so the seven-day Fail-safe window that applies to native tables does not cover them.
- Recovery ownership: You are responsible for data protection and recovery, including bucket versioning, replication and backup.
- Cross-engine reads: Trino's Iceberg connector can work with a supported catalog, but the catalog, permissions and table metadata path must be verified for your setup.
- Version support: Trino's Iceberg connector supports format versions 1 and 2, with version 3 listed as experimental, so check the version your tables use.
Before relying on this route, confirm with Snowflake's current documentation which features apply to externally managed Iceberg tables and run a read test from your target engine.
The main operational difference between the two routes is who protects the data after it leaves Snowflake's managed storage. With COPY INTO exports, the files are already outside Snowflake, so your recovery plan starts with the bucket. With Iceberg tables on an external volume, Snowflake still runs the table, but the underlying Parquet and metadata files are in storage you control, and Snowflake states that it provides no Fail-safe for them.
- Deletion risk: An accidental DROP or DELETE in Snowflake can remove data that Time Travel alone will not protect once the retention window closes.
- Bucket controls: Object versioning, retention locks and cross-region replication are settings your cloud team must configure and test.
- Backup copies: Periodic COPY INTO snapshots to a separate bucket can serve as an independent recovery point.
- Access logs: Enable storage access logging so you can show who read or changed the files.
- Restore drills: Test a restore into a separate catalog or database, because a backup that has never been restored may not work when needed.
Ask your security and compliance team to write down who owns each control before the first Iceberg table is created on an external volume.
The open format is the reason many teams consider Iceberg tables. Parquet data and Iceberg metadata are documented formats that Trino, Spark and other engines can read. That supports a gradual move, where a new platform reads the same files while Snowflake remains in use. It does not mean that every feature, type, metadata property or permission model moves unchanged, and portability should be treated as a hypothesis until a test shows otherwise.
- Read tests: Query a sample of each table from the target engine and compare row counts, aggregates and null handling with Snowflake.
- Type mapping: Check semi-structured, timestamp and decimal columns, since these are where differences usually appear.
- Catalog path: Confirm which catalog your target engine uses to find the current table metadata, and whether Snowflake's catalog integration is involved.
- Write paths: Decide whether the new platform will only read, or will also write, and test both directions before cutover.
- Permissions: Roles and row access policies in Snowflake do not transfer automatically, so map them separately.
Do not describe the tables as fully portable until these tests pass for your schemas and workloads.
Plan around Time Travel and Fail-safe limits before you export
Time Travel is a rolling window that lets you query or restore data as it stood in the past, and its length depends on your Snowflake edition and on the retention setting for each database, schema or table. Fail-safe is a further period after Time Travel ends during which Snowflake keeps data for recovery. You cannot use Fail-safe for ordinary self-service queries, so plan as if the history is gone once Time Travel closes. An exported copy is a point-in-time snapshot: the files hold the rows as they were when you ran the unload, and they carry none of the earlier versions, clones or change history that Snowflake holds.
Set an export cutoff before the first unload and write it down. Record the query time in UTC, decide whether the cutoff is the current state or an earlier timestamp, and run every unload for that table against the same moment, using a Time Travel clause such as AT or BEFORE where you need a past state. Then confirm the retention setting for each table in your own account, for example through the retention column in SHOW TABLES output and any DATA_RETENTION_TIME_IN_DAYS overrides on individual objects. Tables with the shortest windows should be exported first. The Snowflake unload overview explains the unload options you will use.
Tables stored as Iceberg on an external volume need separate planning. Their Parquet data sits in your own S3, Google Cloud Storage or Azure container, and Snowflake provides no Fail-safe for them, so backup, object versioning and recovery are your responsibility. Before you retire a table, reconcile row counts and key totals between Snowflake and the exported files, keep the cutoff record with the export, and test a restore from your own storage on a spare environment. Confirm with your Snowflake team which settings apply to each table and what your data protection obligations are, as the Snowflake Iceberg tables documentation describes.
What to plan before the Snowflake contract ends
Exporting data is the smallest part of leaving Snowflake. The cards below cover the decisions that set the schedule, the cost and the risk, and they are ordered roughly by when each one needs an answer. Confirm every contract term with your own agreement and your account team before you rely on it.
Set the exit date and last warehouse
Pick the date the contract ends, then work backward to the last day a warehouse must run for exports and validation. Each warehouse bills per second with a 60-second minimum while it runs, so a warehouse left on idle during the export adds credits. Decide which warehouse serves the final unloads and shut every other one down once its workloads move. Ask your account team whether the contract end date and any notice periods are fixed or can be extended.
- Minimum warehouse billing
- 60 seconds
Confirm storage and egress in your cloud
Unloads write files to S3, Google Cloud Storage or Azure storage in your own account, so that account bills for the stored files and for any data transfer out of the Snowflake region. Estimate the total size of the tables you plan to export and the transfer path to your target. Confirm with your cloud provider whether transfer between the Snowflake region and your bucket is charged, and ask Snowflake whether any export charge applies under your contract.
Choose the target platform
Decide between ClickHouse for low-latency analytics on a single engine, a Trino and Iceberg lakehouse for open-format storage and federated queries, or another platform. ClickHouse suits dashboards and event data, while Trino with Iceberg suits teams that want table data in open formats that any engine can read. The choice determines which file format and table layout you unload, so make it before the first export run.
Freeze schema changes during export
Snapshot the schema, column types and table definitions before the export and block changes until validation finishes. A column added mid-export makes Parquet files inconsistent across runs, and a changed VARIANT or OBJECT structure breaks downstream loads. Record row counts and checksums per table at export time so you can compare them against the target later. Assign one owner who approves any exception to the freeze.
Keep a read-only validation period
Keep the source readable for a defined period after the last export so teams can compare row counts, aggregates and sample queries against the target. Changes made in Snowflake during that period will not reach the new platform unless you re-export them, so define which tables stay read-only. Plan for a rollback path in case a validation check fails late. Confirm with your vendor how long read access remains available after the contract ends.
Confirm data return and deletion terms
Check your contract for what happens to your data after termination: the return period, the format offered, whether Snowflake deletes data and on what timeline, and any Fail-safe or Time Travel retention that applies. Snowflake provides no Fail-safe for Iceberg tables on external volumes, so the recovery responsibility sits with you for those tables. Get written answers from your account team and legal team, and do not assume standard retention applies to your agreement.
Iceberg table docsQuestions teams ask before exporting Snowflake data
How much effort does a full Snowflake export take?
The effort depends mostly on how many tables you move, how much data sits in them, how large the output files are, and how deeply you verify the result. Each table needs a COPY INTO statement, a target path, a file format choice and a row-count or checksum comparison afterwards. Snowflake unloads into multiple files by default and MAX_FILE_SIZE controls the size of each file, so file sizing affects both the number of objects you later load and the time each load takes. Ask any partner for a table inventory first, because the inventory drives the scope and the schedule more than any single setting does.
Can our internal team run the export, or do we need an outside partner?
A small team with cloud storage access and someone who knows the Snowflake account can run a simple export of a handful of tables. The work gets harder when you have many schemas, tables with VARIANT or OBJECT columns, scheduled pipelines that depend on the data, or a compliance requirement to show evidence that every table arrived intact. An outside partner is useful when the internal team lacks time, cloud networking experience or a verification method that the audit or risk owner will accept. Decide early which parts you own, and put that split in writing.
What do we need to provide for an export project?
You need three things: access to the Snowflake account with a role that can read and unload the target tables, write access to a bucket in your own S3, Google Cloud Storage or Azure storage, and a named owner for schemas and pipelines who can answer questions about business meaning. The storage design also matters. Decide the bucket layout, encryption, retention and who may read the files before the first unload, because files left in the wrong location become a data exposure. Access for the cloud side should follow least privilege, and the owner should sign off on the table list.
Does Iceberg on an external volume remove the need for a copy?
Not entirely. Snowflake Iceberg tables keep Parquet data in your own cloud storage in the open Apache Iceberg format, which reduces lock-in because other engines can read the same files through a catalog. However, Snowflake provides no Fail-safe for these tables, and you become responsible for data protection and recovery. You still need a backup and restore plan, and you still need to decide which engine and catalog will own the table metadata. Treat Iceberg as a storage choice that changes who handles recovery, not as a free replacement for a tested copy.
What does a Snowflake export not preserve?
A file export moves data, not the platform around it. Roles, grants, masking policies, row access policies, warehouses, tasks, streams, stored procedures, UDFs, sharing relationships and query history do not come along in the files. Time Travel history is not carried over either, so you should decide how much point-in-time recovery you still need after the move. Semi-structured columns may need flattening or remodeling before another engine can use them well. Plan to rebuild access controls, scheduling and dependent SQL separately, and confirm the list of objects in your account against the documentation for your Snowflake edition.
How do we check that the exported data is complete?
Verification depth is a choice you make, and it drives effort more than file count does. At a minimum, compare row counts per table between Snowflake and the loaded copy, and check that the number of files and their total size match what the unload reported. Stronger checks add column-level aggregates, checksums on key columns and spot checks against known business figures. Record the results per table, because auditors and data owners will ask for that evidence later. Confirm the depth of verification with your compliance team before the project starts.
What the export costs in your own cloud account
The cost of an export has three parts that behave differently: Snowflake compute used to run the unload, object storage and any network transfer in your own cloud account, and staff time to verify the files. Compute is the one most teams underestimate. Snowflake bills warehouses per second while they run, with a 60-second minimum each time a warehouse starts, and each size step roughly doubles credits per hour (the Snowflake compute cost documentation sets out the billing rules). A large unload on a big warehouse costs more per minute than a small one, so the warehouse size you pick for the COPY INTO job is a direct cost decision. Ask your Snowflake administrator which warehouse will run the job, how long a full unload of your largest tables takes on it, and whether it can run on a smaller size outside business hours.
Storage and transfer are billed by your cloud provider, not by Snowflake. The unloaded files sit in your S3, Google Cloud Storage or Azure bucket, and you pay for their storage, requests and any egress if the data leaves that provider's network. Storage recurs for as long as you keep copies, so a one-time export becomes a standing monthly line item the moment the files are left in place. Confirm the retention period with your data owners, the storage class you will use, and whether the export crosses regions or clouds, because that changes the transfer charge. Staff time is the third component. Someone must check row counts, file layout, Parquet schemas or CSV delimiters and null handling against the source before the Snowflake account can be retired. Those hours are one-time per table set but can repeat when a schema changes.
When you request a quote for this work, ask for each component separately: the Snowflake compute hours assumed for the unloads with the warehouse size, the cloud storage and transfer assumptions with the region and retention period, the verification effort per table group, and the cost to keep the exported copies in sync if the source keeps changing until cutover. Ask whether the scope covers a restore test of the exported files in the target system, because an export that has never been loaded elsewhere is unproven. Request the assumptions in writing so that the figures can be checked against your own bills. Cloud provider price lists and Snowflake's billing terms are the sources to verify any number before it enters your budget.
How DeployOpen scopes and delivers a Snowflake data export
DeployOpen treats a Snowflake export as a scoped engagement: which tables, file formats and storage locations are in, and how each extract is checked before the source is relied on. The work runs inside your own cloud accounts, so the exported files land in storage you already control.
How we scope
- Inventory the schemas, tables and views that must leave Snowflake, with row counts and owners agreed in writing.
- Choose the export format per table, comparing CSV, NDJSON and Parquet for types, nested columns and downstream readers.
- Record the target bucket in S3, Google Cloud Storage or Azure storage, including encryption, access roles and retention.
How we build
- Configure COPY INTO unloads to an external stage, setting file splitting and maximum file size for each table.
- Test a sample unload end to end, checking row counts, null handling and timestamp and decimal precision against the source.
- Evaluate Iceberg tables on an external volume where you want open storage, and document who owns data protection and recovery.
How we hand over
- Deliver the unload scripts, stage definitions and a runbook showing how to repeat or resume an export.
- Document the reconciliation checks and their results, so your team can confirm completeness without relying on us.
- Record Time Travel limits and the window you need to export within, so the plan accounts for the retention setting in your account.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, re-export runs and upgrades are available as a retainer if exports must repeat before cutover.
- Ask for a written quote based on your table count, data volume and target format; we do not publish a price list.

