Skip to content

Feature/backup#803

Open
alexarefev wants to merge 15 commits intomainfrom
feature/backup
Open

Feature/backup#803
alexarefev wants to merge 15 commits intomainfrom
feature/backup

Conversation

@alexarefev
Copy link
Copy Markdown
Collaborator

@alexarefev alexarefev commented Apr 7, 2026

Description

  • Make backup/restore procedure more flexible and independent from backup_location option

Solution

  • Code changes in backup procedure to save backup archive on the control plane nodes
  • Code changes in restore procedure to restore from backup archive on the control plane nodes
  • Documentation update

Test Cases

TestCase 1
Check if backup archive is stored on the control plane nodes

Test Configuration:

  • Hardware: 4CPU/8GB
  • OS: Ubuntu 22.04
  • Inventory: miniHA

Steps:

  1. Install K8S cluster
  2. Run backup procedure

Results:

Before After
Not applicable archive additionally stored on control plane nodes in /etc/kubemarine/backup.tar.gz

TestCase 2
Check if restore procedure could use archive from the control plane nodes

Test Configuration:

  • Hardware: 4CPU/8GB
  • OS: Ubuntu 22.04
  • Inventory: miniHA

Steps:

  1. Install K8S cluster
  2. Set backup_location to /etc/kubemarine/backup.tar.gz and source_node to one of the control plane nodes in procedure.yaml
  3. Run restore procedure

Results:

Before After
Success Success

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Integration CI passed
  • There is no merge conflicts

@alexarefev alexarefev added documentation Improvements or additions to documentation feature labels Apr 7, 2026
@alexarefev alexarefev marked this pull request as ready for review April 13, 2026 07:26
Copy link
Copy Markdown
Collaborator

@disa1217 disa1217 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexarefev , reviewed.

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

Labels

documentation Improvements or additions to documentation feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants