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

[feature] partial restore #79

Closed
gsmolk opened this issue May 27, 2019 · 3 comments
Closed

[feature] partial restore #79

gsmolk opened this issue May 27, 2019 · 3 comments

Comments

@gsmolk
Copy link
Contributor

gsmolk commented May 27, 2019

It should be allowed to restore only specified by name databases or ignore them.
We could use PostgreSQL recovery lax behavior toward missing files and blocks for this.

@gsmolk gsmolk changed the title [feature] restore specific database [feature] partial restore Jun 4, 2019
@gsmolk
Copy link
Contributor Author

gsmolk commented Jun 4, 2019

Proposed options: --db-include=datname, --db-exclude=datname

  1. Each type can be specified multiple times.
  2. Cannot be used simultaneously.
  3. 'template0' and 'template1' are always restored.
  4. After restore user must manually drop excluded databases.

@gsmolk
Copy link
Contributor Author

gsmolk commented Jun 4, 2019

@gsmolk
Copy link
Contributor Author

gsmolk commented Aug 12, 2019

Merged.

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

No branches or pull requests

1 participant