Hi All,
I am in the process of migrating my daily driver (old Dell Optiplex 755 running Ubuntu Desktop 22.04 LTS) to a newer Lenovo ThinkCentre M93p running Ubuntu Desktop 24.01.1 LTS.
I am about to migrate over my Virt-Manager (Virtual Machine Manager / VMM) settings, and I would like to export my connection settings from my old machine, and transfer them over to my new machine. For the avoidance of doubt - I am NOT wanting to migrate a VM from one host to another, that is a completely different thing.
I don't have that many (a dozen or so), so I could do it manually, but I would like to understand how to do it 'better' (and with less risk of typos etc!)
All of the VMs (Qemu / KVM) are on remote servers, mostly hosted VPS machines, with a few on servers at clients, but I don't think that makes any difference?
I can get the connection strings (LibVirt URIs) from the old machine like this:
Code:
gsettings get org.virt-manager.virt-manager.connections uris
I can also get their 'auto connect' settings like this:
Code:
gsettings get org.virt-manager.virt-manager.connections autoconnect
However, I can't see how to get their 'friendly names' out?
By friendly names, I mean the names that you can edit to whatever you like so that they are meaningful when they display in the list in VMM. You get to it by:
Select a connection
Edit - Connection Details
Overview tab
Basic details
Name (which is just a label that you can edit as you like)
I have checked on the website (https://virt-manager.org/) but couldn't find anything there, nor with a Google search (but maybe my Google-Fu is lacking).
I have enumerated all of the schemas, and got this list (trimmed to only show the virt-manager ones):
org.virt-manager.virt-manager
org.virt-manager.virt-manager.confirm
org.virt-manager.virt-manager.connections
org.virt-manager.virt-manager.console
org.virt-manager.virt-manager.details
org.virt-manager.virt-manager.new-vm
org.virt-manager.virt-manager.paths
org.virt-manager.virt-manager.stats
org.virt-manager.virt-manager.urls
org.virt-manager.virt-manager.vmlist-fields
I have then listed the keys under every single schema, but I can't find any that show the 'friendly name'. If it can't be done this way, is there somewhere that those 'friendly names' are stored in a config file that I can copy over?
Any help would be much appreciated.
Thanks,
Alan.