Guide: Rescue and Recovery

From bwCloud-OS
Revision as of 14:55, 21 October 2025 by Admin (talk | contribs) (Created page with "== Restore Access to VM == {| class="mw-message-box mw-message-box-warning" | style="vertical-align:middle;" | '''⚠️ Please Note:''' The steps described here are an emergency measure. You should secure your SSH keys well to avoid such situations. |} Can you rule out that this is not a network problem? If so, please refer to the following instructions. The procedure described there can be carried out via the [https://portal.bw-cloud.org/auth/login/?next=/ Dashboard]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Restore Access to VM

⚠️ Please Note: The steps described here are an emergency measure. You should secure your SSH keys well to avoid such situations.

Can you rule out that this is not a network problem? If so, please refer to the following instructions. The procedure described there can be carried out via the Dashboard or the CLI.

Unfortunately, the solution is somewhat cumbersome.

Proceed as follows:

  1. Stop the instance foo1_vm with the ID vm-uuid.
  2. Create a backup/image foo1_img of the instance.
  3. From the image foo1_img, create the volume foo1_vol.
  4. Create a new instance foo2_vm.
  5. Attach the volume foo1_vol to the instance foo2_vm and mount the filesystem of the original instance foo1_vm.

With the volume foo1_vol at hand, you have several options:

  • Copy your data.
  • Copy an SSH key to the volume.
  • Reverse steps 1–5 to restore the original instance foo1_vm.