R
Railway•9mo ago
pierre

deleted my postgres database by accident, any way to recover?

title says it all :p
Solution:
but the final answer would be, if you didn't take a database backup yourself and you where responsible for the data loss, the data is unfortunately gone
Jump to solution
44 Replies
Percy
Percy•9mo ago
Project ID: N/A
pierre
pierre•9mo ago
is there anyway i can download the logs for a week? i can recover my database from that
pierre
pierre•9mo ago
F
maddsua
maddsua•9mo ago
do you work for gitlab? I'm just wondering
pierre
pierre•9mo ago
nope its a side project and i was messing with some dangerous sql queries hehe but wanted to recover
maddsua
maddsua•9mo ago
alright, "the gitlab employee" is just a reference to the 2017 accident when they deleted production db
pierre
pierre•9mo ago
its hard to host a database at railway because of the no backup thing
Brody
Brody•9mo ago
there is a backup template though
Solution
Brody
Brody•9mo ago
but the final answer would be, if you didn't take a database backup yourself and you where responsible for the data loss, the data is unfortunately gone
Pepijn
Pepijn•8mo ago
@Brody In this article https://blog.railway.app/p/launch-01-next-gen-databases there is mentioned "In the future, we plan to add native support for database backups and high availability by following the same pattern: Add the primitives that can be used by anyone.".
Railway Blog
The Future of Databases is Services
Starting today, it’s now possible to deploy ANY type of database on Railway, including new technologies like PGVector, Chroma, Temporal, etc.
Pepijn
Pepijn•8mo ago
Is there any ETA on when native backups will be made possible?
Brody
Brody•8mo ago
no sorry I don't have an eta
specca
specca•8mo ago
Hi, unfortunately I'm in the same boat... I had two projects open and deleted my instance of psql from the wrong one. I do still have a volume, 'Postgres data' which is present in my project dashboard and I can 'mount to service'. Is there any way that I can use this to restore the previous data? Thanks in advance for any help!
Want results from more Discord servers?
Add your server