Hey Konrad,
I’ve recently had a similar issue. I’m on v4.9.0
Using strapi on the backend with AWS EC2, RDS, S3. Which feeds a nextjs/vercel repo.
It happened after I added another strapi repo to EC2 and was adjusting my NGINX config and restarted the server a bunch of times.
The next day my strapi site had no data in it. I manually checked the postgres db and saw almost everything was gone. Only thing left was the file entires and an entry in the global_components table. I only had about 5 entries so not a big deal. But what happened?
I’m relatively new to strapi and would like to use it for some production work so I’d like to avoid these kinds of issues.
In the meantime, I’ll make sure logs are verbose and perform regular backups…? Any other tips for avoiding this or fixing this?