在 Ubuntu 上使用 VirtualBox 给虚拟机设置快照(Snapshot),步骤如下:
before-update)✅ 快照就创建好了,以后可随时恢复。
⚠️ 恢复会覆盖当前状态,建议先再拍一个快照防丢数据
如果你用终端操作:
VBoxManage snapshot "Ubuntu VM" take "snapshot-name"
查看快照:
VBoxManage snapshot "Ubuntu VM" list
恢复快照:
VBoxManage snapshot "Ubuntu VM" restore "snapshot-name"
删除快照:
VBoxManage snapshot "Ubuntu VM" delete "snapshot-name"
"Ubuntu VM"是虚拟机名称,不是系统名
如果你说的是 Ubuntu 系统里用 VirtualBox,还是 VirtualBox 里装 Ubuntu,我可以按你的具体情况再细化说明。