Reinstalling the OS on a VPS or dedicated server deletes all data on the disk. Back up before reinstalling. Reinstallation is free and available through the client panel or support.
Applies to:
✔ VPS
✔ Dedicated servers
OS reinstallation is irreversible. All data on the server will be deleted without the possibility of recovery.
Before reinstalling, save:
tar czf /tmp/sites-backup.tar.gz /var/www/
mysqldump -u root -p --all-databases > /tmp/all-databases.sql
tar czf /tmp/configs.tar.gz /etc/nginx/ /etc/apache2/ /etc/mysql/ /etc/php/
dpkg --get-selections > /tmp/packages.list
Copy backups to another server or local computer:
scp /tmp/*.tar.gz /tmp/*.sql /tmp/*.list user@OTHER_SERVER:/backup/
The process takes a few minutes. After completion, you will receive a new root password.
For dedicated servers or if a custom configuration is needed: open a support ticket specifying the desired OS.
apt update && apt upgrade -y
Windows Server: the trial period restarts upon reinstallation. A license is required for permanent use.
ISPmanager: the license is tied to the IP, OS reinstallation does not affect it.
ssh root@SERVER_IP
cat /etc/os-release
Verify that the correct OS is installed.
If the server is unreachable or problems occur after reinstallation, open a support ticket.