R
Railwayβ€’6mo ago
sohcah

Database run out of storage space

Hi, My postgres Database has just run out of storage overnight, and now not booting up because of that. Are there any recommended approached for how to get a copy of that data or something so I can actually get the DB back online? Since I'm on Hobby, I'm unable to upgrade storage to help things.
26 Replies
Percy
Percyβ€’6mo ago
Project ID: 03366656-1bad-4591-bfdd-134b17afd697
sohcah
sohcahβ€’6mo ago
03366656-1bad-4591-bfdd-134b17afd697/
Brody
Brodyβ€’6mo ago
you can upgrade to pro to get access to a 50gb volume then you can grow your current volume to 50gb as well
sohcah
sohcahβ€’6mo ago
I'm fully aware that's a possibility but: 1. I'm not able to change billing settings (and the person who can won't be awake for another 8 hours or so - production has already been down for at least 6 hours, making that 14 hours isn't ideal) 2. Pro is quite a steep price increase - would be an extra $60/month from what I can tell.
Brody
Brodyβ€’6mo ago
sounds like you should have already been on pro, but lets put that aside for now
sohcah
sohcahβ€’6mo ago
And, to be honest - the same question as mine above would apply if on pro and I had hit the 50GB (I think?) limit instead.
Brody
Brodyβ€’6mo ago
ill ask the team what can be done, but since youre on hobby i dont know if the answer would be any different from what ive said once youre on the pro plan and if you hit the 50gb limit you can directly ask the team to increase it, for whatever that would cost im not sure ive asked the team, ill either get back to you with an answer or someone from the team will come to this thread, no eta though sorry
sohcah
sohcahβ€’6mo ago
Alright. I've also just realised that for the same reason as not being able to change billing settings - I also can't attempt to disconnect the volume and connect it to a file viewer - which is frustrating.
Brody
Brodyβ€’6mo ago
dont think editors can do destructive actions, thats why youd want to be on pro going forward, not to mention you said you where running something in production this is indeed a pickle
sohcah
sohcahβ€’6mo ago
all the more frustrating that the only reason I woke up later this morning - and as such missed when the person with permissions would still be awake - is because my phone didn't charge overnight and so had died before my alarm could go off :/
Brody
Brodyβ€’6mo ago
yo my phone didn't charge overnight last night either 🀣 but yeah I get how stressful this is, and I've asked the team, that's about all I can do short of directly pinging someone in, and I don't want to do that because I don't know the teams time zones
sohcah
sohcahβ€’6mo ago
Thanks for trying πŸ™‚ Now just trying to figure out how safe it would be if I were to attempt to restore from a backup (on a new DB instance) - I'm thinking probably not too safe unfortunately.
Brody
Brodyβ€’6mo ago
there's a good change that restoring from a backup would just bloat a new 5gb volume and you'd be in the same place
sohcah
sohcahβ€’6mo ago
I can restore a backup without the logs table, lol - it's just that table causing issues. But said backup isn't recent enough to be a safe bet to go with.
Brody
Brodyβ€’6mo ago
how often do you take backups?
Faraz
Farazβ€’6mo ago
.
Brody
Brodyβ€’6mo ago
important person here now!
Faraz
Farazβ€’6mo ago
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
sohcah
sohcahβ€’6mo ago
Correct
Faraz
Farazβ€’6mo ago
Bumping it to 10 GB to unblock you. Hmm, something is failing with the update. :/
sohcah
sohcahβ€’6mo ago
Does it need an active deployment for it to update?
Faraz
Farazβ€’6mo ago
Done.
sohcah
sohcahβ€’6mo ago
Thank you! I'll have to see about getting Mick to upgrade us to Pro when he's awake πŸ™‚
Faraz
Farazβ€’6mo ago
Regarding this question, you can reach out and upgrade the limit for you in that scenario as well. IIRC upgrades up to 250 GB are instant and anything beyond goes into enterprise territory.
sohcah
sohcahβ€’6mo ago
Fair enough - nice to hear that isn't a hard limit - not that I think I'll ever hit that πŸ™‚ Well, my systems are back online, I can't thank you enough for that πŸ™‚ Moved to Pro plan πŸ™‚
Brody
Brodyβ€’6mo ago
congratulations! πŸ₯³