免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: yjd333
打印 上一主题 下一主题

[VMware] esxi数据迁移问题 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2013-05-27 11:47 |只看该作者
回复 9# yjd333

请给我一个邮箱,我传输一个软件给你,我想能够帮助你。
删除文件治标不治本,如果没有成本投入,做一次数据迁移不是更好!very easy。
   

论坛徽章:
1
午马
日期:2014-06-14 09:08:34
12 [报告]
发表于 2013-05-27 13:31 |只看该作者
本帖最后由 yjd333 于 2013-05-27 13:32 编辑

回复 11# 锅铁做

好的。yjd333at139.com,多谢!

论坛徽章:
0
13 [报告]
发表于 2013-05-27 13:50 |只看该作者
回复 12# yjd333

Hi,

我给你一个大体方案,你可以在邮件回我。
   

论坛徽章:
13
技术图书徽章
日期:2014-04-29 14:15:42IT运维版块每日发帖之星
日期:2015-12-12 06:20:00IT运维版块每日发帖之星
日期:2015-08-30 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-08-02 06:20:002015年亚洲杯之澳大利亚
日期:2015-04-03 15:03:12申猴
日期:2015-03-20 09:00:292015年迎新春徽章
日期:2015-03-04 09:54:452015年辞旧岁徽章
日期:2015-03-03 16:54:15季节之章:冬
日期:2015-01-20 17:08:47双子座
日期:2014-11-21 16:30:31技术图书徽章
日期:2014-07-11 16:29:08
14 [报告]
发表于 2013-05-27 14:45 |只看该作者
You can restore the ESXi configuration locally from the state.tgz backup file.

To restore the ESXi configuration locally:

1.Run the auto-backup.sh script to confirm you have an up-to-date host configuration saved in the /bootbank/state.tgz file.

The Bootbank/state.tgz file is updated and contains the host configuration.

Note: The ESXi configuration can be saved locally via the auto-backup.sh script. For more information, see the Saving State Locally section in the Additional Information section of this article.


2.Copy the /bootbank/state.tgz file to a safe location (for example, a shared datastore or use WinSCP to copy to another location).
3.Reinstall ESXi 5.1.
4.After the reinstallation completes and the ESXi host boots, copy the saved state.tgz file to the system (for example, to the /tmp directory).
5.Extract the local.tgz file from the state.tgz archive by running these commands:

# cd /tmp
# tar -xvzf state.tgz


6.Verify there is not already a local.tgz file under / (the root directory) and then copy the newly extracted local.tgz file to the / directory by running these commands:

# cd /
# mv local.tgz local.tgz.old
# cp /tmp/local.tgz .


7.Extract the contents of the local.tgz file by running the command:

# tar -xzvf local.tgz

Note: This overwrites all files in their original locations (for example, /etc/vmware/esx.conf, etc).


8.Run auto-backup.sh again, so that it collect all these new files and properly updates the /bootbank/state.tgz file.
9.Reboot the host.

The host now reboots with the previous configuration.

论坛徽章:
0
15 [报告]
发表于 2013-05-27 20:54 |只看该作者
本帖最后由 shinobiyan_cu 于 2013-05-27 20:55 编辑

能给偶传个软体和方案嘛 652037231@qq.com

论坛徽章:
1
午马
日期:2014-06-14 09:08:34
16 [报告]
发表于 2013-05-30 19:27 |只看该作者
感谢
锅铁做
,正在做数据备份。

今天搜资料还搜到一个不错的软件:http://www.veeam.com/cn

论坛徽章:
29
技术图书徽章
日期:2013-09-02 19:59:502015元宵节徽章
日期:2015-03-06 15:51:332015小元宵徽章
日期:2015-03-06 15:57:20操作系统版块每日发帖之星
日期:2015-08-16 06:20:002015七夕节徽章
日期:2015-08-21 11:06:17操作系统版块每日发帖之星
日期:2015-09-21 06:20:002015亚冠之水原三星
日期:2015-10-30 00:06:07数据库技术版块每日发帖之星
日期:2015-12-24 06:20:0015-16赛季CBA联赛之上海
日期:2016-01-07 10:32:07操作系统版块每日发帖之星
日期:2016-01-08 06:20:00操作系统版块每日发帖之星
日期:2016-05-18 06:20:00IT运维版块每日发帖之星
日期:2016-07-23 06:20:00
17 [报告]
发表于 2013-05-31 20:43 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
1
午马
日期:2014-06-14 09:08:34
18 [报告]
发表于 2013-05-31 22:02 |只看该作者
回复 17# Hongqiyaodao

说的是,之前没这方面经验。
刚搜了下不少工具支持对vmfs的操作。所以在pe问题估计不大。还是如锅铁做说的不适合用来对付esxi。
目前数据已备份等待新硬盘到重做esxi再迁移回来。

目前从vc里把这台宿主机esxi的配置导出为文件,不知道到时候vc里到导入主机配置功能是否能完整的导入恢复成原来配置一样。不然之前的一些配置,配起来有点麻烦。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP