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:
- Connect to SolusIO Management Node via SSH
- Backup SolusIO database
- Access SolusIO 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'})
- 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) - Login to SolusIO admin panel
- Browse to SolusIO > Virtual Servers > VPS > Reinstall and reinstall the VPS with any OS
- Browse to SolusIO > Virtual Servers > VPS > Backups and click Restore icon
Comments
0 comments
Please sign in to leave a comment.