Skip to content
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

Restore: PostgreSQL #1195

Closed
plirglo opened this issue Apr 23, 2020 · 2 comments · Fixed by #1359
Closed

Restore: PostgreSQL #1195

plirglo opened this issue Apr 23, 2020 · 2 comments · Fixed by #1359
Assignees

Comments

@plirglo
Copy link
Contributor

plirglo commented Apr 23, 2020

Postgresql recovery includes:

Database data and metadata dump using pg_dumpall

If multinode configuration is used, and failover action has changed database cluster status (one node down, switchover) it's still possible to create backup. But before database restore, cluster needs to be recovered by running epicli apply and next epicli recovery to restore database data. By default we don't support recovery database configuration from backup since this needs to be done using epicli apply or manually by copying backed up files accordingly to cluster state. The reason of this is that is very risky to restore configuration files among different database cluster configurations.

https://github.com/epiphany-platform/epiphany/blob/develop/docs/home/howto/BACKUP.md

PR #1359

@plirglo plirglo added the size/M label Apr 23, 2020
@plirglo plirglo added this to the Backup/Restore milestone Apr 23, 2020
@plirglo plirglo changed the title Database Backup: Restore PostgreSQL Restore: PostgreSQL Apr 23, 2020
@plirglo plirglo linked a pull request Jun 16, 2020 that will close this issue
@jetalone85
Copy link
Contributor

@plirglo tested restore scenario: single node PostgreSQL, 2 nodes PostgreSQL done, works for me

@jetalone85
Copy link
Contributor

Tested restore scenario: single node PostgreSQL, clustered nodes PostgreSQL; on Ubuntu and RedHat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants