Articles in this section

Is it possible to delete the backup nodes from SolusVM 2 even it contains backups?

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.

  1. Connect to the management server via SSH.
  2. Create a backup of the management server.

    # /usr/local/solus/bin/installer -backup

  3. Find the Backup Node ID in the Backup Nodes section under Backups > Backup Nodes in the SolusVM admin panel
  4. 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'})

  5. Execute the query to delete the backup node.

    # delete from backup_nodes WHERE id = <Backup Node ID from the step 3>;

     

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.