21 days ago
i want to recover my data and i lose my data after upgrade ...
31 Replies
21 days ago
Your account has a Postgres service and an n8n service in the "robust-passion" project, plus a "Hermes Agent" service. Could you clarify which service lost data and what you mean by "upgrade" (e.g., upgrading n8n version, upgrading Postgres, or upgrading your Railway plan)? If data was stored on the ephemeral filesystem rather than in a volume or database, it is not recoverable after a redeploy. If your Postgres service has a volume with backups configured, you can restore from a backup in the service's Backups tab, as described in our backups documentation.
21 days ago
This thread has been marked as private. Any further activity in this thread will only be visible to you and Railway employees.
Status changed to Awaiting User Response Railway • 21 days ago
21 days ago
Hermes Agent
Status changed to Awaiting Railway Response Railway • 21 days ago
Railway
Your account has a Postgres service and an n8n service in the "robust-passion" project, plus a "Hermes Agent" service. Could you clarify which service lost data and what you mean by "upgrade" (e.g., upgrading n8n version, upgrading Postgres, or upgrading your Railway plan)? If data was stored on the ephemeral filesystem rather than in a volume or database, it is not recoverable after a redeploy. If your Postgres service has a volume with backups configured, you can restore from a backup in the service's Backups tab, as described in our [backups documentation](https://docs.railway.com/volumes/backups).
21 days ago
Hermes Agent, under /root/trading folder, i found that my scripts are lost
21 days ago
anyone can help?
21 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 21 days ago
Hermes Agent, under /root/trading folder, i found that my scripts are lost
21 days ago
not resolved ..
0x5b62656e5d
Did you have a volume attached to the service?
21 days ago
yes, please give a help
yes, please give a help
21 days ago
can you copy my previous data from /root/trading folder to /data/trading folder?
21 days ago
IIRC if your application stored data in the / directory, that would not be stored in the volume, since volumes can't be mounted at /.
Did your application save data in /?
21 days ago
my data was under /root/trading
21 days ago
seems /data now after plan upgrade, can help me to copy /root/trading to /data/trading?
seems /data now after plan upgrade, can help me to copy /root/trading to /data/trading?
21 days ago
Can you double check the current mount path by clicking into the volume then going into its settings?
21 days ago
yes /data
21 days ago
Change it to /root and save the changes.
Redeploy your service after.
21 days ago
but i found some data are still in /data
21 days ago
If your volume was mounted under /data and you tried saving data into /root, the data would not be stored in the volume, and would be unrecoverable if lost.
21 days ago
oh my god, any alternative?
21 days ago
As I mentioned above, data stored in ephemeral paths are not recoverable once lost.
21 days ago
how come upgrade plan become loss data ...
21 days ago
may i know how to export the file from /data folder?
21 days ago
coz i have concern to continue to use railway service and want to export file under /data folder, please give me a standard procedure for download file, many thx for your help
21 days ago
Upgrading plans would not affect how the volume was mounted. If you lost data, it was most likely stored in an ephemeral path and redeployed at some point, and thus, cannot be recovered.
21 days ago
yes, understand, i just want to export file under /data folder now, please give me a standard procedure for download file, many thx for your help
21 days ago
tbh, the user experience is not quite good
yes, understand, i just want to export file under /data folder now, please give me a standard procedure for download file, many thx for your help
21 days ago
As mentioned above, you can deploy a Filebrowser instance, unmount your volume from your service (make sure to remove all deployments before this step), and mount the volume to Filebrowser. You should be able to download the files from there. Make sure to add the variable USE_VOLUME_ROOT=1 to the Filebrowser service.
21 days ago
please share the step by step guideline
21 days ago
seems u can't help me, can you pass the case to your manager?
21 days ago
coz i would like to backup data and waive the upgrade plan fee
coz i would like to backup data and waive the upgrade plan fee
21 days ago
anyone can help on this request