Then shutdown the virtual machines, make a backup dump from all of them, copy the dump files offsite. Then reboot the host.
Consider updating your Proxmox, 5.1 is very old and not supported anymore.
If it breaks, you have the virtual machine dumps. You can install a new Proxmox and copy the...