We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How do I use the recovery console, and why would I need to?
Environment
Any OnApp
Answer
The recovery console has some great features for helping clients to recover their data. When booting into recovery mode, use:
User: root
Pass: <root/admin password shown in OnApp UI>
Since we are booted into a recovery image, the file system doesn’t have the VMs disk mounted by default. We can check the disks that the virtual machine has with:
fdisk -l
We can use the information from fdisk for a number of other tasks. If the disks have become corrupted, we can run:
fsck -y /dev/xxxx
If we need to roll back kernel updates or recover data, we can mount the file systems with:
mount /dev/xxxx /mnt
then cd /mnt/ access the filesystem.