How to restore SolusVM 2 VPS from backup on another Compute Resource?

Have more questions? Submit a request

Applicable to:

  • SolusIO

Question

How to restore SolusIO VPS from backup on another Compute Resource

Answer

This functionality is yet to be implemented in SolusIO. There is a request for adding such functionality with ID #SIO-3194 which is planned to be implemented in future SolusIO updates.

As a workaround use the following instruction:

  1. Connect to SolusVM 2 Management Node via SSH
  2. Backup SolusVM 2 database
  3. Access SolusVM 2 database with the command:

    # 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. Change the CR of the corresponding VPS:

    MYSQL_LIN: UPDATE compute_resource_vms SET compute_resource_id=CRID WHERE id=VPSID;

    CRID is a new CR's ID. You can find it at SolusIO > Compute Resources(ID column)
    VPSID is a Virtual Server ID. You can find it at SolusIO > Virtual Servers(ID column)

  5. Login to SolusIO admin panel
  6. Browse to SolusVM 2 > Virtual Servers > VPS > Reinstall and reinstall the VPS with any OS
    ______.JPG
  7. Browse to SolusVM 2 > Virtual Servers > VPS > Backups and click Restore icon

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.