It would have been a lot easier to simply make a backup using proxmox backup utility and then simply restore, again using proxmox tools, from this backup. Then everything would have been done for you automatically without the need for fiddling on the command line.