Rolling back using the Virtual Machine Backup (clone)

Last Updated : Dec 05, 2024 |

About this task

If you experience a problem during an upgrade, you can roll back to a state using the cloned virtual machine.

Procedure

  1. Log in to the KVM Cockpit web console as custadm in the following format: https://<IP address or FQDN of KVM host>:9090.
  2. For administration actions, on the top-right of the window, click on the Limited access button.
    Figure : 1. Limited access button




    Note:

    You require administrator access in order to view virtual machines. Administrator access is like root access. Ensure that you take care making updates.

  3. In the Switch to administrative access window, enter the password for custadm.
    Figure : 2. Switch to administrative access




    The Limited access button on the top-right of the window changes to Administrative access.

    Figure : 3. Administrative access button




  4. Navigate to System > Virtual Machines.
  5. Shut down the original virtual machine.
  6. Rename the original virtual machine.

    For example: Virtual_Machine_Broken

    Figure : 4. Roll back VM backup


    Roll back VM backup


  7. While still in a power off state, edit the virtual machine clone Label to match the original virtual machine label. This ensures that the cloned virtual machine becomes the original virtual machine.
    Figure : 5. Edit Virtual Machine name


    Edit Virtual Machine name


  8. Configure the virtual machine that you renamed in step 5 to ensure the network interfaces and state match the broken virtual machine.

    For example: bridge0 and state = up

    Figure : 6. Network interfaces


    Network interfaces


  9. Power on the virtual machine that you renamed in step 5.
    Figure : 7. Power on


    Power on


  10. Delete any unused backups.