Skip to main content
All CollectionsGetting StartedNext Steps
Taking and Restoring Snapshots
Taking and Restoring Snapshots

Take and restore snapshots on your virtual device

avhsupport avatar
Written by avhsupport
Updated over 2 years ago

In this article, we will use the Raspberry Pi 4 device that was created in Quickstart for AVH (Raspberry Pi4) tutorial.

What Are Snapshots?

Snapshots give you the ability to save the state of a device and then restore or clone that state at a moment’s notice. Reduce valuable setup time by instantly returning to a previously saved state, create clones to run multiple tests from the same starting environment, or provide identical starting VMs to all students in a virtual classroom. Snapshots can save you significant time reproducing bugs or repeating tests.

Every virtual device automatically captures a new snapshot right after the initial creation, providing a quick and easy way to revert back to that fresh image. You can take up to five snapshots (in addition to the snapshot from initial creation) per virtual device.

The virtual device must be turned off to take a snapshot.

Taking Snapshots

This tutorial will demonstrate Snapshots by creating and restoring them.

  1. Find the device you created in the Quickstart for AVH (Raspberry Pi4) tutorial.

  2. Power off the device by clicking the power symbol on the top-right. Wait until you see POWER ON DEVICE on the left to confirm it is shut down.

  3. Click the Snapshot icon, then click TAKE NEW SNAPSHOT. You will see “Snapshot # 1” appear below the Freshly Restored snapshot.

  4. Now that we saved a snapshot, let's break the device to practice restoring the saved state. Open the CONSOLE and POWER ON the device.

  5. Login with username: pi and password: raspberry, type sudo rm -rf /etc, then hit Return.

  6. Click Restart on the top-right.

  7. The Console should display localhost login:. This will validate the device is broken, as it is unable to log in normally.

  8. We will now restore the snapshot. With the device still powered on, click the Snapshot button then click RESTORE next to Snapshot #1. Wait while the snapshot state is loaded.

  9. After the device boots up, validate that the device is working by logging in with username: pi and password: raspberry.

In the next tutorial, we will connect our device to a VPN. Connecting to the VPN

Did this answer your question?