Question
I have accidentally deleted a virtual server, but the backup is still available in the OnApp database and on the backup server. How do I bring it back?
Environment
OnApp UI and OnApp MySQL Database
Answer
If you have a recent backup of the database before the virtual server was destroyed, you can insert the relevant parts back into the database and restore the backup. The bare minimum needed from the database dumps is the virtual_machines
entry and any associated disks entries. Network information will need to be recreated unless one is sure the IPs are still available. If all you have is the backup information, create a suitable virtual server. Then assign the disk_id
of the backup to the primary disk of the new virtual server, and click Restore at the Backups page.