Yogaya Logo

Block Backup and Restore of a Multipass Instance using Elastio

Image of Abhishek Sharma

Abhishek Sharma

November 17, 2022


Aim: To Back up and mount restore of Multipass Block Devices

Website: https://docs.elastio.com/

Installation and set-up

1. Install and configure AWS
2. Elastio CLI Installation
3. Block Backup of Multipass instance

On Multipass instance

alt_text

alt_text

alt_text

4. Mount backup points on multipass instance

On multipass instance

alt_text

5. Cleaning up the mounts multipass instance

How to manage your mount points

5.1 Return the list of mounted RPs

- sudo -E elastio mount list

5.2 Unmount a recovery point by RP ID

- sudo -E elastio mount umount --id <rp-id>

5.3 Unmount by mount point*

- sudo -E elastio mount umount --mp <mount-point>

5.4 Unmount all

- sudo -E elastio mount umount --all
6. Clean Up Elastio Deployment

You can clean elastio deployment in the following steps:

6.1. Delete the Elastio vault

Use the following command to delete an Elastio vault:

elastio vault delete --vault <vault-name>
6.2. Destroy the Elastio Stack

The Elastio stack is the CloudFormation stack and should be manually deleted after first removing the Cloud Connector. The Cloud Connector is found in, and can be removed from, the CloudFormation section in the AWS console.

Use the following command to destroy the CloudFormation stack:

elastio stack destroy
6.3. Remove the Elastio Shell

Run the following command to remove the Elastio Shell:

pip3 uninstall elastio_shell
6.4. Remove the Elastio CLI

The next step when cleaning up the Elastio Deployment is to uninstall or remove the Elastio CLI. This is achieved in the following manner.

Use the following script to uninstall the Elastio CLI and Elastio Snap:

sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/elastio/elastio-stack/master/scripts/install-elastio.sh) $0" -- -u