Urgent: Auto Deploy Overwrote SQLite Database – Need Help Restoring and Disabling Auto Deploy
ofirtal0
HOBBYOP

a year ago

Hello,

I noticed that an automatic deploy was triggered for my project Pet4me via GitHub approximately 25 hours ago.

This deploy overwrote my current Petforme.db SQLite database with an older version from April 7th, causing data loss.

I would greatly appreciate your help in restoring the Petforme.db file from around 8:00 AM on May 17th, 2025, if possible.

Additionally, I would like guidance on how to fully disable automatic deploys from GitHub to Railway, to ensure this doesn't happen again.

my github repo : https://github.com/OfirTal0/PET4ME

Thank you in advance for your assistance.

Best regards,

Ofir

Solved

1 Replies

a year ago

Hi,

We cannot help you restore this data as you are not using a volume to persist it. Learn more about volumes here: https://docs.railway.com/reference/volumes

It sounds like you need to add Petforme.db to your .gitignore file as well as set up a volume to persist the sqlite file.

However, if you wish to disable auto-deploys, see this guide: https://docs.railway.com/guides/github-autodeploys#disable-automatic-deployments

Best,

Nico


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

9 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...