Deployement got deleted automatically

I have an n8n instance deployed on a $7 starter instance. For the first three days, everything was going well. But today, when I tried to use n8n, it directed me to the setup page. On checking my render dashboard, I saw the instance was redeployed some 24 hours ago. All my workflow and data have been deleted. I used a paid instance, thinking that it never shuts down.

  1. Is there any way to revert to the original deployment?
  2. How can prevent something similar from happening in the future?

A paid instance type does run persistently, but deploys, restarts or maintenance will trigger a deployment. Anything written to the file system is gone.

For n8n, we recommend following our guide at Deploy n8n on Render – Render Docs that details how to set it up so that data is persisted