HELPPPPPPPPP My workflow got deleted after working on it for over a week

Help!!!

I updated my self hosted instance and over a week’s worth of work is all gone…. please tell me there is a way to recover or trouble shoot! I saved it periodically and it should all have been there….

Please tell me there is a way I can work on getting this back… please. I just ran it on saturday and it was all there…. now it has reverted to an old version…..

What do you mean by old version? Did you not save it?

To recover a deleted n8n workflow, your best options are to contact n8n Cloud support for a potential restore if you’re a Cloud user, or to manually restore from a backup if you are self-hosting. For self-hosted instances, you can restore from a system backup, a database backup, or a version-controlled repository like GitHub. If you don’t have backups, you will need to recreate the workflow from scratch.

For n8n Cloud users

  • Contact support immediately:

Submit a support ticket through the n8n Cloud interface, providing your username and the name or ID of the deleted workflow, along with the approximate deletion time.

  • Provide details:

Include any information you have, such as the workflow’s purpose or ID, and the deletion timestamp to help them find it.

  • Expect a time limit:

n8n Cloud may have automated backups that can restore deleted workflows, but this is often limited to a specific timeframe, so prompt action is crucial.

For self-hosted users

  • Restore from backup:

This is the most reliable method. Use your backup system to restore the workflow. This could involve:

    • Restoring a file system backup of your n8n installation.
    • Restoring a database backup if your data is stored in one.
    • Restoring a Docker volume backup if you are using Docker.
  • Use version control:

If you are using a version control system like Git and have committed your workflow files, you can revert to a previous commit that still contains the workflow.

  • Recreate the workflow:

If no backups are available, you will need to manually rebuild the workflow from scratch.