R
Railway•10mo ago
Limas

Recover a file inside a deployment

By mistake I left a sqlite file inside a deployment and made a lot of updates to the database on that file. Is there any way to recover that file? or is lost forever? I haven't restart or touch the deployment to avoid lossing it 😦
7 Replies
Percy
Percy•10mo ago
Project ID: d3150979-53aa-4d69-9b7a-1893e5a813e6
Limas
Limas•10mo ago
d3150979-53aa-4d69-9b7a-1893e5a813e6
MantisInABox
MantisInABox•10mo ago
Unfortunately there is no way to access the contents of the container.
Limas
Limas•10mo ago
ahh 😢 well it was worth the try, thanks!
MantisInABox
MantisInABox•10mo ago
Sorry man. Your best bet for the future is to use a volume for persistent storage and have the SQLite file saved there
Limas
Limas•10mo ago
Yeah, my issue is that I forgot to change the connection string I was 100% sure I was hitting PSQL but I was not lol
MantisInABox
MantisInABox•10mo ago
I’ve done that a few times. I understand your pain