"My PostgreSQL database is out of disk
comercialtravelinne-lang
HOBBYOP

18 days ago

"My PostgreSQL database is out of disk space and is in recovery mode. I cannot connect to it at all. I need urgent help to free disk space or I will lose all my data. My project is 'motivación encantadora'. Please help ASAP."

$10 Bounty

2 Replies

Status changed to Open Railway 18 days ago


have you tried resize your volume?


18 days ago

In that state PostgreSQL won’t let you connect, so you can’t delete data or run queries. There’s really no workaround from inside.

Since you're on the Hobby plan in Railway, I’d first check if you have backups or snapshots available. If you do, the quickest way out is honestly to spin up a new PostgreSQL instance and restore the latest backup. If your backups are frequent (or effectively unlimited in your setup), just restore and move on — that’s usually faster than trying to “fix” the broken instance.

If you don’t have backups, then you’re kind of blocked until you add more disk. That means upgrading your plan, increasing the storage, and restarting the database so it can exit recovery.

Another thing you can try, if Railway allows it in your project, is creating a second instance or replica and recovering data there — but in practice, the cleanest solution is still restore-from-backup.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...