Skip to content

VMware Plugin: Save VM configuration and recreate VM before restore#1295

Merged
pstorz merged 6 commits intomasterfrom
dev/sduehr/master/vmware-plugin-enhancements
Nov 24, 2022
Merged

VMware Plugin: Save VM configuration and recreate VM before restore#1295
pstorz merged 6 commits intomasterfrom
dev/sduehr/master/vmware-plugin-enhancements

Conversation

@sduehr
Copy link
Member

@sduehr sduehr commented Oct 25, 2022

The plugin now also saves the VM configuration on backup and recreates the VM if it was delete before restoring the virtual disk. It is also possible now to restore to different folder, host, cluster or datastore. Custom attributes are saved and restored, uuid and MAC address are restored if there are no duplicate conflicts.

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

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
  • Is the PR title usable as CHANGELOG entry?
  • Separate commit for CHANGELOG.md ("update CHANGELOG.md"). The PR number is correct.
  • CHANGELOG.md: add breaking changes entry for what is not supported anymore because of VDDK8.0
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
  • bareos-check-sources --since-merge does not report any problems

@sduehr sduehr requested a review from pstorz October 26, 2022 09:15
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.

Partly reviewed, will continue later from line 2406.

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, very impressive!
See comments.

sduehr added a commit that referenced this pull request Nov 8, 2022
sduehr added a commit that referenced this pull request Nov 8, 2022
@sduehr sduehr force-pushed the dev/sduehr/master/vmware-plugin-enhancements branch from 0210d0c to 58adaf4 Compare November 8, 2022 15:58
sduehr added a commit that referenced this pull request Nov 8, 2022
@sduehr sduehr force-pushed the dev/sduehr/master/vmware-plugin-enhancements branch from 58adaf4 to 74bca8f Compare November 8, 2022 16:25
@sduehr sduehr requested a review from pstorz November 8, 2022 16:29
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!

sduehr added a commit that referenced this pull request Nov 22, 2022
@sduehr sduehr requested a review from pstorz November 22, 2022 17:26
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.

Good work!

The plugin now also saves the VM configuration on backup and recreates
the VM if it was delete before restoring the virtual disk. It is also
possible now to restore to different folder, host, cluster or datastore.
Custom attributes are saved and restored, uuid and MAC address are
restored if there are no duplicate conflicts.
If a snapshot existed at backup time, the backing filename must
be adapted when recreating the VM.
@sduehr sduehr force-pushed the dev/sduehr/master/vmware-plugin-enhancements branch from edb7717 to 2088776 Compare November 24, 2022 14:49
@pstorz pstorz enabled auto-merge November 24, 2022 14:56
@pstorz pstorz merged commit 863f0d6 into master Nov 24, 2022
@sduehr sduehr deleted the dev/sduehr/master/vmware-plugin-enhancements branch December 20, 2022 11:45
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.

2 participants