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

Support output type format "qcow" #57

Open
abbbi opened this issue Jul 6, 2022 · 1 comment
Open

Support output type format "qcow" #57

abbbi opened this issue Jul 6, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@abbbi
Copy link
Owner

abbbi commented Jul 6, 2022

During backup, another qemu-nbd process could be mapped to a target qcow image (just like it is happening during restore). The backup data could be directly sent to this process and the resulting backup image would be a standard qcow image, instead of the proprietary "sparsestream" image. This would ease things up during restore.

@abbbi abbbi added the enhancement New feature or request label Jul 6, 2022
@abbbi abbbi changed the title Support output format "qcow" Support output type format "qcow" Jul 6, 2022
@abbbi
Copy link
Owner Author

abbbi commented Jul 8, 2022

POC:

  1. start nbd backup service on socket:

./virtnbdbackup -l full -d vm1 -s -o /tmp/bla

  1. create qcow with same size:

qemu-img create -f qcow2 test.qcow2 50M

  1. copy data via nbdcopy to qcow file:

nbdcopy -p nbd+unix:///sda?socket=/var/tmp/virtnbdbackup.16561 -- [ qemu-nbd -f qcow2 test.qcow2 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant