ETLMCPData Conveyance Works
Log in Start free
Docs

Export download links and how long files last

Why a CSV export link stops working, when etlmcp deletes old export files, and how to keep a lasting copy of your data.

An export link stops working for one of two reasons: the signed link to the file has expired, or the export itself has been deleted. Every Download button points at the app, not at the file: etlmcp checks that you are signed in to the workspace the export belongs to, then hands you the file. When the files are kept in cloud storage, the app answers with a signed link that expires a few minutes after it is made. Old exports are deleted on a fixed retention period, counted from the moment each file was written. For a copy that lasts, save the file yourself or send the data to a database or a webhook destination.

What happens when you click Download

The button goes to an address in the app for that one export. etlmcp looks the export up in your organization and in the workspace you are working in. If it is not there, because it belongs to another workspace, was deleted, or never existed, you get not found. A download needs a signed-in session, so the app's own link is useless to someone who cannot sign in to your workspace.

What happens next depends on where that export's file was written. Each export records its storage when the run writes it: cloud storage when the server has it set up, the server's own disk otherwise.

  • On the server's own disk, the app reads the file and sends it to you as an attachment. If the record still exists but the file is gone, you get this export is no longer available.
  • In cloud storage (Cloudflare R2), the app redirects your browser to a signed link for the file. The link works for a few minutes and then stops. The app never writes the signed link to its logs or stores it, marks the redirect so browsers do not cache it, and sends it with a no-referrer policy so the address is not passed on to the next site you visit. If the app cannot make a link for the file, you get this export is no longer available.

Each time you click Download, you get a fresh link. An old one cannot be renewed.

Do not share signed links

A signed link carries its own permission. Cloudflare's R2 documentation explains that anyone who has such a link can use it, with no other sign-in, until it expires, and advises treating it like a bearer token. A link you paste into a chat or a ticket can be opened by whoever reads it in that window, and is broken for everyone after that. To give a teammate a file, add them to the workspace so they can click Download themselves, or send them the file.

How long exports are kept

etlmcp runs a cleanup job once a day. It deletes every export older than the retention period: first the file, then the record. If the file cannot be deleted, the record stays and the next day's job tries again. A separate pass removes files that no record refers to anymore, such as one left behind by a failed delete.

Once the record is gone, the export no longer appears in any list, and an old download address returns not found.

Exports also go away sooner in these cases:

  • You delete a pipeline. Its runs and exports are deleted with it.
  • You delete a source or a destination. Every pipeline that used it is deleted too, and with those pipelines go their runs and exports.
  • A run is retried. The retried run replaces its earlier export instead of adding a second one. See retries.

Where to find your exports

The Data page lists the most recent exports of the workspace you are working in, newest first, with the pipeline's name, when the file was written and how many rows it holds. Older exports beyond the list's cap are not shown there. Each pipeline's own page offers its newest export as Download CSV. The file name is the destination's name, in lowercase with hyphens, followed by the run's start and end dates.

Keep a lasting copy

To keep your figures:

  • Download and save the file before the retention period ends, and keep it in your own storage.
  • Download again from stored figures. Under Stored Figures as CSV, the Data page also builds a CSV of what etlmcp has stored for a date range you pick, within the history your plan keeps. This file is made when you ask for it, so no link expires, but it shows the figures as pulled, before your pipeline's rules.
  • Schedule a durable destination. Point a pipeline at a PostgreSQL database or a webhook, and each scheduled run delivers the rows where you keep them, with no expiry on etlmcp's side. See schedules.
  • Read the data through the API with query data, if a script or a tool should fetch figures on its own.

Related

Sources

  1. Presigned URLs — developers.cloudflare.com, checked