2 months ago
i want to recover my data and i lose my data after upgrade ...
31 Replies
2 months 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.
2 months 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 • 2 months ago
2 months ago
Hermes Agent
Status changed to Awaiting Railway Response Railway • 2 months 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).
2 months ago
Hermes Agent, under /root/trading folder, i found that my scripts are lost
2 months ago
anyone can help?
2 months 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 • 2 months ago
Hermes Agent, under /root/trading folder, i found that my scripts are lost
2 months ago
not resolved ..
0x5b62656e5d
Did you have a volume attached to the service?
2 months ago
yes, please give a help
yes, please give a help
2 months ago
can you copy my previous data from /root/trading folder to /data/trading folder?
2 months 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 /?
2 months ago
my data was under /root/trading
2 months 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?
2 months ago
Can you double check the current mount path by clicking into the volume then going into its settings?
2 months ago
yes /data
2 months ago
Change it to /root and save the changes.
Redeploy your service after.
2 months ago
but i found some data are still in /data
2 months 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.
2 months ago
oh my god, any alternative?
2 months ago
As I mentioned above, data stored in ephemeral paths are not recoverable once lost.
2 months ago
how come upgrade plan become loss data ...
2 months ago
may i know how to export the file from /data folder?
2 months 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
2 months 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.
2 months 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
2 months 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
2 months 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.
2 months ago
please share the step by step guideline
2 months ago
seems u can't help me, can you pass the case to your manager?
2 months 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
2 months ago
anyone can help on this request