Skip to content

plugins: introduce hyper-v backup#2284

Merged
BareosBot merged 19 commits intobareos:masterfrom
sebsura:dev/ssura/master/hyper-v-backup
Nov 13, 2025
Merged

plugins: introduce hyper-v backup#2284
BareosBot merged 19 commits intobareos:masterfrom
sebsura:dev/ssura/master/hyper-v-backup

Conversation

@sebsura
Copy link
Contributor

@sebsura sebsura commented May 26, 2025

Thank you for contributing to the Bareos Project!

This PR adds a plugin that can backup and restore hyper- v vms.

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
  • Correct milestone is set
  • CD PR merged
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
Tests
  • Decision taken that a test is required (if not, then remove this paragraph)
  • The choice of the type of test (unit test or systemtest) is reasonable
  • Testname matches exactly what is being tested
  • On a fail, output of the test leads quickly to the origin of the fault

@sebsura sebsura added this to the 25.0.0 milestone May 26, 2025
@sebsura sebsura self-assigned this May 26, 2025
@sebsura sebsura force-pushed the dev/ssura/master/hyper-v-backup branch from 99532b2 to 9ee34a4 Compare May 28, 2025 05:46
@pstorz pstorz force-pushed the dev/ssura/master/hyper-v-backup branch from 07d1574 to 7ed37e6 Compare September 29, 2025 08:06
@pstorz pstorz self-requested a review September 30, 2025 12:13
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

Please see comments.
Good work!

@sebsura sebsura force-pushed the dev/ssura/master/hyper-v-backup branch 2 times, most recently from 805ec35 to d828511 Compare October 20, 2025 06:03
@sebsura sebsura force-pushed the dev/ssura/master/hyper-v-backup branch 2 times, most recently from aef8d2f to 8b057d5 Compare October 31, 2025 08:21
@sebsura sebsura force-pushed the dev/ssura/master/hyper-v-backup branch 3 times, most recently from 804df3d to fe76f95 Compare November 10, 2025 06:46
@sebsura sebsura force-pushed the dev/ssura/master/hyper-v-backup branch 2 times, most recently from aa2e364 to d030a88 Compare November 12, 2025 14:17
@sebsura sebsura force-pushed the dev/ssura/master/hyper-v-backup branch from d030a88 to 068bbb7 Compare November 12, 2025 14:26
Windows does not like paths that contain special characters, but vm
names may contain them.  So we simply replace all of them with -.
We have to take care to delete reference points that we do not need
anymore, because otherwise disks will never merge and we create a lot
of garbage.
@sebsura sebsura force-pushed the dev/ssura/master/hyper-v-backup branch from 068bbb7 to 61fed8c Compare November 13, 2025 06:25
@pstorz pstorz changed the title add hyper v plugin plugins: introduce hyper-v backup Nov 13, 2025
sebsura and others added 4 commits November 13, 2025 09:48
Sadly skipping a fixtures_setup test still means that the fixture is
setup, so we need to manually detect this and skip the following
tests.
@sebsura sebsura force-pushed the dev/ssura/master/hyper-v-backup branch from 61fed8c to 293cc12 Compare November 13, 2025 08:48
@pstorz pstorz self-requested a review November 13, 2025 09:11
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

Great Work!

@BareosBot BareosBot merged commit c08cc7d into bareos:master Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants