Prerequisites
Before you start:
You should already know how to enable Rescue Mode via the Doprax Control Panel. For detailed instructions, see How to Enable Rescue Mode for a VM.
Step 1 — Enable Rescue Mode
To begin recovery:
- Open your Doprax dashboard.
- Navigate to Access → Rescue Mode.
- Click Enable Rescue Mode and confirm your choice.
Your VM will reboot into a temporary OS (provided by your cloud provider, such as Hetzner or OVH).
This operating system runs entirely in memory and mounts your main disk as a secondary device — allowing safe access to your files without booting into the broken environment.
Step 2 — Connect to the Rescue Environment
Once the VM is in Rescue Mode, you can connect through SSH or via the Doprax console.
To connect using a password:
Follow Connect to Virtual Machines Using Password.
You’ll log in with temporary credentials provided in your Doprax dashboard.
To connect using SSH keys:
Follow Connect Using SSH Keys.
After login, you’ll have full root access to the temporary rescue system.
Step 3 — Mount Your Disk
When connected, your original system disk will be available but not automatically mounted.
You’ll need to mount it manually to access your files or repair the system.
Example commands:
fdisk -l # Identify your main disk (e.g., /dev/sda1)
mount /dev/sda1 /mnt
chroot /mnt
Step 4 — Perform the Recovery
Once your original disk is mounted, you can perform typical recovery tasks, such as:
- Fixing misconfigured system files (e.g., /etc/fstab or /etc/network/interfaces)
- Reinstalling or repairing the GRUB bootloader
- Rolling back a broken update
- Resetting SSH access by editing ~/.ssh/authorized_keys or /etc/ssh/sshd_config
Refer to Rescue Mode CLI Commands for available commands and syntax examples.
Step 5 — Exit Rescue Mode
After you’ve completed your recovery steps:
Unmount your disk:
umount /mnt
exit
Conclusion
Rescue Mode is an essential recovery tool for any Doprax user. It offers a safe, isolated environment to fix problems without losing data or disrupting your main configuration.
Once you’ve verified that your VM works correctly, you can continue normal operations or take a snapshot as a backup for future safety.