https://mailinabox.email/maintenance.html#moving-boxes
If you are reformatting the box, or replacing the VM with a new VM using the same IP address, then I believe there may be a window between installing mailinabox and restoring backups where new mail received in that window could be lost once the old backup is restored. Is that the case? If so, it might be worth mentioning it in the steps for moving boxes.