Some of my Flows and data tables are gone

Hi all this is my first time posting here because i need some help.

Suddenly some of my Flows and rows inside a datatables are gone.

This is self hosted on ubuntu 24.04 VPS

2 CORE 4 RAM

I didn’t do docker compose down, pull, stop etc neither did i reboot my vps.

What is causing this? I happened 2 times already.

Thank you.

This sounds like a serious data loss issue that could be related to database corruption, storage problems, or memory issues on your VPS. Here’s what you should do immediately:

• **Check your disk space** - Run `df -h` to see if your VPS is running out of storage

• **Examine n8n logs** - Check your n8n container/service logs for any error messages around the time data disappeared

• **Verify database integrity** - If using SQLite, check if the database file is corrupted; if using PostgreSQL/MySQL, run integrity checks

• **Implement backups NOW** - Set up automated database backups before you lose more data

With only 4GB RAM and 2 cores, your VPS might be hitting resource limits. Consider monitoring memory usage and potentially upgrading your server specs. The fact this happened twice suggests an underlying infrastructure issue rather than a one-off problem.