🛠️ How to Restore SolusVM 2 VPS from Backup on Another Compute Resource

Applies to: SolusIO / SolusVM 2
Last Updated: July 2025

❓ Question

How do I restore a VPS backup on a different Compute Resource in SolusVM 2 (SolusIO)?

✅ Answer

This feature is not yet officially supported in SolusVM 2. There is a feature request #SIO-3194 planned for a future release.

Until then, you can use the following workaround to manually change the Compute Resource and restore the VPS.


⚠️ Prerequisites

  • SSH access to the SolusVM 2 Management Node
  • The VPS ID and the new Compute Resource ID (CRID)
  • Access to SolusVM 2 Admin Panel

🧭 Workaround: Step-by-Step Instructions

1. Connect to the Management Node

SSH into your SolusVM 2 management server:

ssh root@management-node-ip

2. Backup the SolusVM 2 Database (Important!)

Before proceeding, create a backup of the SolusVM 2 PostgreSQL database:

docker exec -t $(docker ps -q -f name=solus_postgres | head -n1) pg_dumpall -U $(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_USER | awk -F "=" '{print $2}') > /root/solus_postgres_backup.sql

3. Access the PostgreSQL Database

docker exec -it $(docker ps -q -f name=solus_postgres | head -n1) psql -U$(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_USER | awk -F "=" {'print $2'}) $(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_DB | awk -F "=" {'print $2'})

4. Update the Compute Resource for the VPS

Inside the PostgreSQL console, run the following SQL query:

UPDATE compute_resource_vms SET compute_resource_id=NEW_CRID WHERE id=VPSID;

Replace:

  • NEW_CRID with the ID of the new Compute Resource
  • VPSID with the Virtual Server ID

You can find both IDs in the SolusIO Admin Panel:

  • Compute Resources: SolusIO > Compute Resources > ID
  • Virtual Servers: SolusIO > Virtual Servers > ID

Type \q to exit PostgreSQL.


5. Reinstall the VPS

Go to the SolusVM 2 Admin Panel:

  1. Navigate to: SolusIO > Virtual Servers > [Your VPS]
  2. Click on Reinstall
  3. Choose any OS template and proceed

6. Restore VPS from Backup

Once the OS is reinstalled:

  1. Navigate to: SolusIO > Virtual Servers > [Your VPS] > Backups
  2. Click the Restore icon next to the desired backup

📎 Reference

SolusVM KB: Restore SolusVM 2 VPS from Backup on Another Compute Resource


📝 Notes

  • This is an advanced workaround and not officially supported—use with caution.
  • Always test in a staging environment if possible.
  • Monitor release notes for when SIO-3194 is implemented.
Scroll to Top