Applicable to:
- SolusVM 2
Question
Is it possible to delete the backup nodes from SolusVM 2 even it contains backups?
Answer
Yes,
All the CRs assigned to the Backup nodes need to be de-assigned first before delete the backup node.
An alternative method is to remove the backup nodes directly from the database.
- Connect to the management server via SSH.
Create a backup of the management server.
# /usr/local/solus/bin/installer -backup
- Find the Backup Node ID in the Backup Nodes section under Backups > Backup Nodes in the SolusVM admin panel
Access the 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'})
Execute the query to delete the backup node.
# delete from backup_nodes WHERE id = <Backup Node ID from the step 3>;
Comments
Please sign in to leave a comment.