All my data is gone
daliasir
HOBBYOP

2 years ago

I have a Strapi project (REST API), hosted on Railway. I have not used it for a month or so. I have opened it today and noticed that all my data is gone. I'm not sure where the problem is, but I lost my data once 3 months ago when I had to update Postgres in Railway. This time I did not touched the project.
Any ideas?

Solved

8 Replies

brody
EMPLOYEE

2 years ago

Were you running strapi in development mode?


daliasir
HOBBYOP

2 years ago

Hi, no - I'm running it in production mode.


brody
EMPLOYEE

2 years ago

Does your project still contain a database?


daliasir
HOBBYOP

2 years ago

Yes, it looks like

Attachments


brody
EMPLOYEE

2 years ago

Can you connect to it with a tool like dbgate and see if your tables are there.


daliasir
HOBBYOP

2 years ago

I'm new to this. Give me a moment, I'm trying to connect my data base with dbgate


daliasir
HOBBYOP

2 years ago

I can not connect to my database to check it. Though, I think the problem is Strapi update. I think it will be just faster to remake the project. Thank you for your help.


brody
EMPLOYEE

2 years ago

Alright sounds good, going forward I would recommend keeping a database backup.


Status changed to Solved Railway almost 2 years ago


Loading...