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