ETLMCPData Conveyance Works
Log in Start free
Docs

What is deleted when you delete a source, destination or pipeline

Which stored rows, runs and CSV export files etlmcp removes when you delete a source, a destination or a pipeline, and what it leaves in your own systems.

Deleting a source removes every daily row etlmcp stored for it, together with its pipelines, their run history and the CSV export files those pipelines produced. Deleting a destination removes its pipelines, their runs and their CSV export files, and deleting a pipeline removes its runs and its CSV export files. The rows are deleted from etlmcp's database, not flagged as deleted, and the dashboard has no recycle bin or undo. What etlmcp already delivered to a system you own, such as your PostgreSQL database or your webhook receiver, stays there, and you delete it there.

What each delete removes

You delete Removed in etlmcp Kept in etlmcp
A source Its stored daily rows, its pipelines, their runs, their CSV export files The connection (login) it came from, its destinations
A destination Its pipelines, their runs, their CSV export files The sources and their stored daily rows
A pipeline Its runs and its CSV export files The source, its stored daily rows, the destination

The stored daily rows belong to the source, not to a pipeline. The database table that holds them points at the source with a cascading delete, so removing the source removes its rows in the same statement. Pipelines point at both their source and their destination the same way, runs point at their pipeline, and each export record points at its pipeline and its run. One delete therefore carries everything below it.

When a client asks you to erase their advertising data, deleting the pipeline is not enough: the source's rows stay stored, and anyone with access to the workspace can still read them through query_data or Query stored data. Delete the source to remove them.

Where you delete

Deleting happens in the dashboard: the Remove button on the Sources page or the Destinations page, or the Remove pipeline button on a pipeline's own page. Each button asks you to confirm first, and the source's prompt warns that some platforms cannot serve older days again, so a later re-connection may not bring all of the history back. The REST API and the MCP server have no delete operation: the REST API only lists, reads, starts runs and queries data, and the MCP tools do the same. A request to delete must be carried out by a person signed in to the dashboard, with a verified email address.

How export files are removed

CSV export files are kept in file storage, apart from the database. When you delete, etlmcp first collects the storage keys of the files that belong to the pipelines being removed, because their export records disappear with the database rows. It then deletes the rows, and only after that deletes the files.

Removing a file can fail, for example when the storage service does not answer. The delete is not undone in that case and you see no error: the database part has already succeeded, and etlmcp writes the failed file's key to its log. A daily clean-up job then looks for stored files that no export record refers to and removes them, so a file left behind by a failed delete is removed by a later run of that job. The job skips very recent files, so that it never touches a file whose record a sync is still writing.

Destinations with their own clean-up

A destination type can define a clean-up step that runs after its row is deleted. If that step fails, etlmcp logs it under the destination's id and the delete still reports success; nothing is shown to you.

Today only the Google Sheets destination has such a step, and that destination is coming. When it is available, deleting a Sheets destination drops the Google access token etlmcp holds in memory for it. It does not revoke etlmcp's access at Google, because that would also cut off other destinations connected with the same Google account.

What stays in your own systems

etlmcp does not reach into the places it delivered data to. Deleting a source, a destination or a pipeline leaves untouched:

  • the tables and rows already written to your PostgreSQL database;
  • the payloads your webhook receiver already accepted;
  • a spreadsheet the Google Sheets destination wrote, once that destination is available;
  • any CSV file you downloaded to your own computer before the delete.

For a complete erasure, delete the source in etlmcp and then remove the same data in each of those places yourself.

Connections and workspaces

A source is one account picked from a connection, the login you made at the platform. Deleting the source keeps the connection. To remove the login too, disconnect it on the Sources page after its sources are gone; while any source still uses it, etlmcp refuses with remove its sources first.

A workspace can only be deleted by an owner, never when it is the default workspace, and only once it is empty. Until it is empty the request is refused with delete its pipelines, destinations, sources and connections first. See workspaces and roles.

Rows you did not delete still age out on their own: etlmcp keeps only the days your plan's history window allows, and export files expire as described in export download links.

Related