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

feat: Failover Support for Physical Restore #2473

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tanmoysrt
Copy link
Member

@tanmoysrt tanmoysrt commented Feb 12, 2025

Fixes #2471

If normal physical restoration failed for any reason,
We will spin up a new mariadb container with the backup volume mounted.

Then, we will try to dump and import the logical backup in live database.

Required Tools-

  • fio and docker on db server
  • Docker image to perform the restoration (source code). Once ready, will move to this repo.

Agent PR - frappe/agent#166

Flow -

image

@tanmoysrt tanmoysrt changed the title feat(physical-restore): Add required fields in press settings feat: Implement Failover Support for Physical Restore Feb 12, 2025
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.88%. Comparing base (d4bb4a0) to head (1e8914c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2473      +/-   ##
==========================================
- Coverage   36.90%   36.88%   -0.02%     
==========================================
  Files         403      403              
  Lines       32073    32073              
==========================================
- Hits        11835    11831       -4     
- Misses      20238    20242       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tanmoysrt tanmoysrt changed the title feat: Implement Failover Support for Physical Restore feat: Failover Support for Physical Restore Feb 12, 2025
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.

Physical Restore Failover
1 participant