VPSTechniczne
[DEMO] Rescue mode and reinstalling the OS
Recover files from a VPS that will not boot and, if needed, reinstall the operating system.
Na tej stronie
Applies toVPS
Rescue mode
Rescue mode boots a temporary system from which you can reach your VPS disk even when it will not start.
Turn on rescue mode
In the VPS panel [To be confirmed], choose Rescue and reboot. Note the temporary password it shows.
Connect over SSH
bashssh root@[YOUR_IP]Find and mount your disk
bashlsblk mount /dev/[PARTITION] /mntRecover or fix what you need
For example, copy your data to another machine:
bashscp -r /mnt/home/[USER] [OTHER_MACHINE]:/backups/Leave rescue mode
Unmount with
umount /mnt, turn rescue mode off in the panel and reboot normally.
Reinstall the OS
Which systems can I choose?
The list of templates depends on the panel [To be confirmed]. It usually includes several versions of Ubuntu, Debian and other distributions.