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

Selecting a disk for backup #69

Open
avlhv opened this issue Sep 8, 2021 · 2 comments
Open

Selecting a disk for backup #69

avlhv opened this issue Sep 8, 2021 · 2 comments

Comments

@avlhv
Copy link

avlhv commented Sep 8, 2021

Hey! Is it possible to back up a specific disk of a virtual machine. There is a virtual machine on which the second disk is very large and its data is backed up by other software.

@GMasta2000
Copy link

GMasta2000 commented Oct 10, 2021

Hello
Made a little different functionality, but perhaps someone will be useful, and very much hope that someone will be able to finalize and add to the main branch.
Did it on version 4.3
Added three options

  1. Export boot disk only.
  2. Excluding deactivated disks when backup (I personally have a problem if VMs are running and their backup does not remove the snapshot)
  3. List of id disks which need to be excluded from backup.

Tested it on a couple of virtual machines, got the idea from #11
and looked up the code on the here https://git.furworks.de/opensourcemirror/ansible/commit/9f6c210eac83b1f40e5a8a3d352e51e5d4bd8066

I am not a programmer, made for my own needs, so please check the workability before using it on a working virtualization.
To download branch 4.3, you must add -b
git clone https://github.com/wefixit-AT/oVirtBackup.git /opt/oVirtBackup.git -b oVirt4.3
To apply the patch, you need to unzip and run
git apply oVirtBackup43_20211012.patch
oVirtBackup43_20211012_patch.zip

P.s. Post updated, due to an error that crept up when reading the parameters, set all 3 parameters to None and reloaded patch. To roll back changes, use: git reset --hard

@GMasta2000
Copy link

GMasta2000 commented Nov 24, 2021 via email

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

No branches or pull requests

2 participants