Skip to content

Feature/backup#803

Draft
alexarefev wants to merge 6 commits intomainfrom
feature/backup
Draft

Feature/backup#803
alexarefev wants to merge 6 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: '' 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
  • There is no breaking changes, or migration patch is provided
  • Integration CI passed
  • Unit tests. If Yes list of new/changed tests with brief description
  • There is no merge conflicts

@alexarefev alexarefev added documentation Improvements or additions to documentation feature labels Apr 7, 2026
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.

1 participant