a month ago
A notice states that your service has been automatically redeployed, and a large part of my data has been lost. I am requesting support to restore my information.
redeploy ıd:0661323d
project Id:350ad1ae-0715-4542-b373-b0a4f19af33d
githup URL: Smh9494/is-takip-backend: İş Takip Sistemi - Node.js Backend
5 Replies
a month ago
Your service was redeployed as part of routine infrastructure maintenance. Since your service did not have a volume attached, any data written to the filesystem was stored ephemerally and cannot be recovered. To persist data across redeployments, you'll need to attach a volume to your service.
Status changed to Awaiting User Response Railway • about 1 month ago
a month ago
Where should we add a unit to make it permanent? Could you help us?
Status changed to Awaiting Railway Response Railway • 28 days ago
smh9494
Where should we add a unit to make it permanent? Could you help us?
a month ago
You will need to right click your service canvas, add a volume, and select your desired service to mount it to. It’ll then ask for your path, which usually should be set to /data.
In your code, you’ll store files from the /data directory.
brody
Your service was redeployed as part of routine infrastructure maintenance. Since your service did not have a [volume](https://docs.railway.com/guides/volumes) attached, any data written to the filesystem was stored ephemerally and cannot be recovered. To persist data across redeployments, you'll need to attach a volume to your service.
23 days ago
I'm in the same situation if a restart or deployment occurs my data is lost, so I had to update to the Pro subscription which you manually or automate backups. Sure enough, yesterday I saw a system redeployment was done and there was an empty database. Fortunately, the restore worked and the database was restored. Just a couple of records I had to recreate of activity in between now and the last backup. But I still need to set up the database for persistence. I've done the /data directory process, but something must be missing. You got to have backup function, unless you don't mind re-entering data which I've always felt is wasted energy.
nadhifu
I'm in the same situation if a restart or deployment occurs my data is lost, so I had to update to the Pro subscription which you manually or automate backups. Sure enough, yesterday I saw a system redeployment was done and there was an empty database. Fortunately, the restore worked and the database was restored. Just a couple of records I had to recreate of activity in between now and the last backup. But I still need to set up the database for persistence. I've done the /data directory process, but something must be missing. You got to have backup function, unless you don't mind re-entering data which I've always felt is wasted energy.
22 days ago
OP didn't have a volume, so it's impossible to back up the lost data.
