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

Add option to force drop database before restore #1639

Merged
merged 3 commits into from
Nov 27, 2023

Conversation

TheRealHaoLiu
Copy link
Member

@TheRealHaoLiu TheRealHaoLiu commented Nov 14, 2023

SUMMARY

Based on #1604

Help with recovery from a bad restore or any other database "accident" where the database is left in a state that can't perform "clean" during restore process properly

Added force_drop_db option in AWXRestore

ISSUE TYPE
  • New or Enhanced Feature
ADDITIONAL INFORMATION

Fixes #1587


@TheRealHaoLiu TheRealHaoLiu changed the title 1587: drop/create database DB before restoring it Add option to force drop database before restore Nov 14, 2023
@romankuzmik
Copy link
Contributor

Looks great, let's merge it?

@TheRealHaoLiu
Copy link
Member Author

TheRealHaoLiu commented Nov 16, 2023

@rooftopcellist mention he's gonna actually test it 🤣 instead of just rubber stamping my PR

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 this pull request may close these issues.

awx-operator restore is stuck on pg_restore step
4 participants