将VMware VCenter备份从6.0还原到6.0失败

时间:2018-05-29 06:08:29

标签: postgresql backup

我尝试恢复在VCenter 6.0上进行的备份,但失败时出现以下错误:

控制台日志片段:

NOTICE:  constraint "cl_fk_entity_lock_metadata" of relation "cl_entity_lock_metadata" does not exist, skipping
NOTICE:  drop cascades to constraint fk_library_id on table cl_library_storage
NOTICE:  drop cascades to constraint fk_storage_id on table cl_library_storage
NOTICE:  constraint "fk_storage_id" of relation "cl_library_storage" does not exist, skipping
NOTICE:  constraint "fk_library_id" of relation "cl_library_storage" does not exist, skipping
NOTICE:  drop cascades to constraint vdc_entity_lock_metadata_fk on table vdc_entity_lock_metadata
NOTICE:  constraint "vdc_entity_lock_metadata_fk" of relation "vdc_entity_lock_metadata" does not exist, skipping

还原日志片段:

psql:C:/ProgramData/VMware/vCenterServer/logs/create_constr2018052604370105.sql:101: ERROR:  could not create unique index "pk_vpx_host_node_cpu"
DETAIL:  Key (host_id, numa_id, cpu_id)=(29, 1, 23) is duplicated.
psql:C:/ProgramData/VMware/vCenterServer/logs/create_constr2018052604370105.sql:775: ERROR:  could not create unique index "pk_vpx_dbm_counter_metadata"
DETAIL:  Key (counter_id)=(1) is duplicated.
psql:C:/ProgramData/VMware/vCenterServer/logs/create_constr2018052604370105.sql:808: ERROR:  insert or update on table "vpx_virtual_ethernet_card" violates foreign key constraint "fk_vpx_virtual_ethernet_card"
DETAIL:  Key (vdevice_id)=(516) is not present in table "vpx_virtual_device".
psql:C:/ProgramData/VMware/vCenterServer/logs/create_constr2018052604370105.sql:824: ERROR:  insert or update on table "vpx_datastore" violates foreign key constraint "fk_vpx_ds_ref_vpx_entity"

我正在使用的是Postgres,Backup是从VCenter 6.0二进制3d中获取的,我尝试在不同的二进制文件3,3d,3e上恢复备份,在所有情况下OS和VCenter都是用干净的DB新安装的。

这可能不是完整的信息,但如果您需要任何其他日志或我方的任何意见,请告诉我。

感谢您的帮助。

0 个答案:

没有答案