disk文件打开恢复教程

2020年06月3日

转自hostloc社区,ID:会翻车吗
这个文章的前提是,该网友在搬瓦工(Bandwagonhost,一家线上服务器提供商)的服务器宕机了,服务器提供商的备份资料是.disk压缩文件包,所以这里是搬瓦工官方给出的文件数据恢复方法。

“Hi,

The .disk file in the snapshot is a raw disk image. It can be mounted with any virtualization platform, for example Virtual Box.

If you decide to use Virtual Box, you may need to use the following command to convert the raw disk image to VDI before it can be recognized by Virtualbox:

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" convertfromraw --format VDI vm-ID.disk vm-ID.vdi

P.S. To correctly unpack .tar.gz file on a Windows machine, please see guide: https://www.addictivetips.com/windows-tips/use-tar-on-windows-10/
Note that if you decide to use 7-zip or Winrar to unpack this archive, you will end up with a non-working (corrupt) image as these applications do not properly support sparse tar archives.

Thank you.”

 

0、C:\Program Files\Oracle\VirtualBox\ #把disk文件剪切到这个目录中
1、安装VirtualBox虚拟机 官网:https://www.virtualbox.org/wiki/Downloads
2、打开 开始\附件\Windows PowerShell\Windows PowerShell
3、cd C:\Program Files\Oracle\VirtualBox #假设virtualbox安装在这个路径
4、VBoxManage.exe #输入这个命令
5、vboxmanage convertfromraw "C:\Program Files\Oracle\VirtualBox\vm-id.disk" "C:\Program Files\Oracle\VirtualBox\vm-id.vdi" -format VDI
6、将转换出来的.vdi文件导入到VirtualBox虚拟机里,然后将数据进行备份到本地硬盘。

 


sicnature ---------------------------------------------------------------------
I P 地 址: 18.222.163.31
区 域 位 置: 美国俄亥俄都柏林
系 统 信 息: 美国
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source https://www.myzhenai.com.cn/post/3371.html

没有评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注