VirtualBox
# Snapshots
They’re like diff files between different .vdi
images. When a snapshot is created, the base .vdi
is frozen and the changes are written to a differencing image.
Differencing images can be chained. If another differencing image is created for a virtual disk that already has a differencing image, then it becomes a grandchild of the original parent. The first differencing image then becomes read-only as well, and write operations only go to the second-level differencing image. When reading from the virtual disk, Oracle VM VirtualBox needs to look into the second differencing image first, then into the first if the sector was not found, and then into the original image. ( From the docs)
From 1.10. Snapshots - Docs:
To avoid losing the current state when restoring a snapshot, you can create a new snapshot before the restore operation.
Some tips on using them:
- Don’t use them as backups
- Don’t use them for too long, as they are just diff files and occupy more and more space when being used. Below 72 hours should be fine.
- Don’t chain more than 2-3 snapshots
# Configuring SSH
- How to connect to VirtualBox via SSH - Linux Networking
- Easy way to SSH into VirtualBox machine | Any OS - DEV Community