The objective is to create a new snapshot of a XenServer virtual machine and later restore from this snapshot.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-take-and-restore-vm-snapshot-using-command-line-on-xenserver/