How do native backups work?
manzanit0
HOBBYOP
a year ago
Hi! I'm currently looking at working on adding backups to a Postgres deployment and I'd like to understand how the pro backups feature works before deciding how to go about the work.
Based on the documentation, I understand that the feature implements physical volume backups, completely decoupled of the concept of Postgres. However, I have some operational questions:
- Is it possible to download the backups to ship them offsite?
- The docs don't mention restoration: what does that workflow look like? Is it limited to the UI or can it be automated through the API?
- Are backups limited to the volume which was backed up or can we restore the backup on a different volume?
If any of these features isn't available, are there plans to add them to the platform?
Thanks!
1 Replies
a year ago
Hello
- It's not possible, and it's not something we plan for, a download of a raw ZFS snapshot is not very useful.
- You click restore and it will detach the current volume and then attach a new volume with the restored data, then you click Deploy to save the changes, and yes it could be automated with the API.
- Restoring a backup creates a new volume, so that alone may answer your question.
Best,
Brody
Status changed to Solved brody • over 1 year ago