[Help] Workflow executions suddenly disappeared – workflow appears "new"

Hi everyone,
I’m facing a strange issue with one of my workflows and I’m hoping someone can help identify the cause or suggest how to prevent it in the future.
The Issue:
I have a workflow that has been running successfully for about a whole month. However, I logged in today and found that all execution history for this workflow has disappeared.
The workflow now looks like it is brand new and has never been executed before. The execution list is empty, even though I know it ran successfully yesterday.
Has anyone experienced a situation where history is wiped completely for a specific workflow?

  • n8n version: Version 1.123.5
  • Running n8n via : hostinger
  • Operating system: windows

Hey @Igor_Ziemczyk Welcome to the n8n community !

Most probably you’re talking about the pruning of flows i.e n8n can automatically deletes old executions based on age or how many runs are stored. When that kicks in, finished runs are removed from the database and since the cleanup is instance-wide, it can look like only this workflow lost history if all its runs happened to be among the older ones.

When pruning runs, finished executions (and their data) are removed from the database. [Execution data] Key points: Controlled by env vars like EXECUTIONS_DATA_PRUNE, EXECUTIONS_DATA_MAX_AGE, and EXECUTIONS_DATA_PRUNE_MAX_COUNT. (You can change this as per your liking, keep the server plan in mind before tinkering with this )

i suggest you confirm pruning/backup settings in hostinger and check for :

  • Whether they set EXECUTIONS_DATA_PRUNE and related env vars.

  • Whether they recently restored your instance or ran any cleanup that might drop execution data.

Let me know if this helps you in any way!
Appreciate it.

2 Likes

Thanks @Deepankar

I would just add one small check to make it perfect:
Could you also double-check the Settings for that specific workflow to ensure “Executions to save” is still turned ON?

If that gets toggled off by mistake, n8n stops recording new runs, which can look exactly like your history vanished even if the global pruning settings are fine.

1 Like