我在VMware ESXI 5.0.0 Update 1上,想要使用ghettoVCB脚本来备份我的虚拟机。
dryrun非常好:
2012-10-24 11:47:46 -- info: ###### Final status: OK, only a dryrun. ######
但是,当我尝试执行实际的备份时,我的主机上的每个VM都收到以下消息:
2012-10-24 11:48:43 -- info: Initiate backup for Willert-Tools 2012-10-24 11:48:43 -- info: Creating Snapshot "ghettoVCB-snapshot-2012-10-24" for Willert-Tools 2012-10-24 11:48:47 -- info: ERROR: error in backing up of "/vmfs/volumes/datastore1/Willert-Tools/Willert-Tools_1.vmdk" for Willert-Tools 2012-10-24 11:48:47 -- info: ERROR: error in backing up of "/vmfs/volumes/datastore1/Willert-Tools/Willert-Tools.vmdk" for Willert-Tools 2012-10-24 11:48:50 -- info: Removing snapshot from Willert-Tools ... 2012-10-24 11:48:50 -- info: Compressing VM backup "/vmfs/volumes/Cluster-Backup/Willert-Tools/Willert-Tools-2012-10-24_11-48-31.gz"... 2012-10-24 11:48:50 -- info: Successfully compressed backup for Willert-Tools! 2012-10-24 11:48:50 -- info: Backup Duration: 7 Seconds 2012-10-24 11:48:50 -- info: ERROR: Unable to backup Willert-Tools due to error in VMDK backup!
我究竟做错了什么? 由于我不想粘贴configuration中的每个configuration代码段,请询问是否需要更多的具体信息。
应该将备份保存到正确安装在我的ESXi主机上的NFS共享中。
谢谢你的帮助 :-)。
我可以通过看到输出build议最多的是:
1)你确定你的NFS挂载或数据存储的path在ghettoVCBconfiguration中是正确的吗? 仔细检查所有NFSconfiguration为ghettoVCB。
和…
2)您的NFS共享是否接受匿名访问并授予读/写权限?
通过输出判断,脚本能够创build快照,但是5秒钟之后,它表示无法备份VMDK。 我的猜测是这是NFS挂载的权限问题。 那还是缺乏自由空间。