Restore a full database backup (postgresql) #3528
-
QuestionWe are facing a severe problem of data deletion on the postgresql database. We urgently need to recover the missing data. In the documentation Security & Compliance Measures (https://vercel.com/docs/security#data-backup) we can see: The instance has not been deleted, so backup is possible. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 6 replies
-
Hey @HassanAITBRIK. Vercel Postgres is still in beta and automated backup support is not currently available. It is possible for you to manually export and to restore data if you have a backup available. You can find the steps for that process at https://neon.tech/docs/import/import-from-postgres |
Beta Was this translation helpful? Give feedback.
-
Do you have an ETA for when a backup/restore support will be available? |
Beta Was this translation helpful? Give feedback.
-
This is a major problem actually. I was 100% sure to dive deep into Vercel postgres, however now I'll think twice 🤔 |
Beta Was this translation helpful? Give feedback.
-
Any ETA on this? Sort of unusable for a production app without this. |
Beta Was this translation helpful? Give feedback.
-
FYI for anyone still considering using Vercel postgres: I implemented the recommended approach of regular pg_dumps as an interim safety net; unfortunately this increased my postgres data egress costs significantly. I contacted support hoping there might be some flexibility on pricing until we get built-in backups/PiTR, but it seems there isn't. Definitely something to consider if you are storing non-trivial amounts of data. |
Beta Was this translation helpful? Give feedback.
-
@amyegan when will Automated Backup support be enabled? Since Postgres is now generally available? |
Beta Was this translation helpful? Give feedback.
-
I, too, am still waiting on backup support. Will have to run production workloads on AWS instead. |
Beta Was this translation helpful? Give feedback.
-
Neon provides database branching and Vercel cant even make daily backups of my production database? |
Beta Was this translation helpful? Give feedback.
-
Yeah this is honestly kind of embarrassing in 2024 |
Beta Was this translation helpful? Give feedback.
-
We don't have any ETA for this unfortunately. |
Beta Was this translation helpful? Give feedback.
-
Would someone be so kind as to answer my (probably basic) related question below? I tried to use the "spawn" child process to run pg_dump in a function hosted on Vercel, however Vercel throws the error below. Does this mean it's not possible to run pg_dump on Vercel?
|
Beta Was this translation helpful? Give feedback.
Hey @HassanAITBRIK. Vercel Postgres is still in beta and automated backup support is not currently available.
It is possible for you to manually export and to restore data if you have a backup available. You can find the steps for that process at https://neon.tech/docs/import/import-from-postgres