borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.15k stars 742 forks source link

vagrant: use libvirt (kvm) rather than virtualbox #6146

Closed ThomasWaldmann closed 3 weeks ago

ThomasWaldmann commented 2 years ago

use libvirt/kvm for borg platform testing (see Vagrantfile in our repo).

kvm seems to be way faster. also likely more portable (virtualbox is amd/intel x64 only).

quite some work though to migrate this on my testing workstation as I've quite some virtualbox boxes...

ThomasWaldmann commented 2 years ago

hmm, no macos boxes for libvirt?

dragetd commented 2 years ago

Some info: MacOS is a bit more difficult since it relies in some apple specific settings (properties) of the VM. There is a bash based project for setting up qemu for MacOS (and other popular images): https://github.com/quickemu-project/quickemu

m3nu commented 1 year ago

Just started using "Lima" for my more complex testing, that needs more than a Docker container:

https://github.com/lima-vm/lima

It's still under heavy development, but performance, config files, etc are all very promising. Concepts are not too different from Vagrant. I just haven't seen a macOS or BSD guest yet.

ThomasWaldmann commented 2 months ago

Note: i recently tried vagrant and kvm/libvirt: