Hi,
after using pve-zsync to copy data over to other server, it is time to run a (LXC) VM from it.
At first I wanted to create a new VM using the GUI with the same characteristics as old one and then zfs send | zfs receive the syced data to it's disk, but then I found out, that there is config for the VM also backed up in: /var/lib/pve-zsync/backups. So my questions are:
1. Can i just copy this config file from /var/lib/pve-zsync/backups to /etc/pve/lxc/$firstFeeVMid.conf? And system will recognize it as a new LXC VM?
2. Do i have to update "rootfs" parameter from LXC config before I move it to /etc/pve/lxc, so it does not conflict / overlap with possible existing VM disk definitions from other VMs, or can I do it after copying but before starting?
2. Can i just rename synced ZVOL (eg. zfs rename rpool/syncano/subvol-100-disk-1 rpool/data/subvol-100-disk-1) instead of sending / copying it to the new dest (eg. zfs send rpool/syncano/subvol-100-disk-1 | zfs receive pool/data/subvol-100-disk-1)?
Tnx for your input.
after using pve-zsync to copy data over to other server, it is time to run a (LXC) VM from it.
At first I wanted to create a new VM using the GUI with the same characteristics as old one and then zfs send | zfs receive the syced data to it's disk, but then I found out, that there is config for the VM also backed up in: /var/lib/pve-zsync/backups. So my questions are:
1. Can i just copy this config file from /var/lib/pve-zsync/backups to /etc/pve/lxc/$firstFeeVMid.conf? And system will recognize it as a new LXC VM?
2. Do i have to update "rootfs" parameter from LXC config before I move it to /etc/pve/lxc, so it does not conflict / overlap with possible existing VM disk definitions from other VMs, or can I do it after copying but before starting?
2. Can i just rename synced ZVOL (eg. zfs rename rpool/syncano/subvol-100-disk-1 rpool/data/subvol-100-disk-1) instead of sending / copying it to the new dest (eg. zfs send rpool/syncano/subvol-100-disk-1 | zfs receive pool/data/subvol-100-disk-1)?
Tnx for your input.