-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restoring from WAL-E backup #636
Comments
Hi, Let's assume that you have a backup of your cluster and archive logs on S3. What Patroni can do with it:
And here you can have a look how it could be configured. |
Yes, I'm looking for a solution to 2., creating a new cluster restored to the latest point from a previous backup. Thanks a lot for the examples, I'll try to adapt it for our case. Just to confirm, does Unrelated question- any chance Spilo works with Docker Swarm instead of Kubernetes? |
We never tried it on Docker Swarm. But I think it more or less boils down to providing correct configuration via environment variables. |
Hi, thanks for making Patroni, I think it's a good fit for my use case and I'm currently putting together a proof of concept for my team.
Assuming I have a WAL-E backup on S3 (both an initial basebackup and WAL segments), how would I configure patroni to restore the backup? I've looked through the documentation, particularly the custom bootstrap section but I believe I'm not understanding a few things about how the configuration works. Here's my
patroni.yml
config:As you can see, I've duplicated the
patroni_wale_restore
command a few times since I'm not sure where it goes. Getting a few warnings and an error:Any pointers would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: