Hello

I want to migrate the hole server with COS, Accounts, Emails, Contacts, Calender, from an old one to an new one.

My old and my new Server will have the same IP, and Hostname.

When i start the Recover from ZimbraAdmin GUI it crashes.

I think the Problem may be, that both Server has the same Hostname. on the old one the COS are there, but on the new one fail the creation process.
I've tested the recovery on test servers with different hostname, and everything is fine.

If you need more infos, pls ask.

Regards
Norbert




--
This is an automated notification from ZxBackup about External Restore.

Operation External Restore failed.

Operation Id: 4cf06d14-c810-4a18-8230-587922f82822
Operation Host: ********

Operation requested by: admin@********

Network Modules NG Version: 2.12.0
commit: 5722e27b11d019fcb05cec7226cc7abdb7e1546b

Zal Version: 2.5.1
Zal commit: 86538f6e46834c86ce1b626594129f3d39f5f5b8
Zimbra version: 8.8.11_GA_3737 20181207111719 20181207-1133 NETWORK

- exception -
com.zextras.lib.Error.OperationBlockingError: Blocking operation error
at com.zextras.modules.backup.operations.ZEExternalRe storeOperation.doOperation (ZEExternalRestoreOperation.java:1052)
at com.zextras.lib.operations.ZEOperation.exec (ZEOperation.java:777)
at com.zextras.lib.operations.LegacyOperationProxy.ex ec (LegacyOperationProxy.java:84)
at com.zextras.lib.operations.ModifiableStatefulOpera tion.exec (ModifiableStatefulOperation.java:122)
at com.zextras.lib.operations.OperationStarterActivit y.run (OperationStarterActivity.java:48)
at com.zextras.lib.activities.ActivityThread.run (ActivityThread.java:138)
Caused by: org.openzal.zal.exceptions.InvalidRequestException : com.zimbra.common.service.ServiceException: invalid request: cos id 170e2f4b-92ef-4f22-8da9-ee6deb97fdb2 does not point to a valid cos
ExceptionId:External Restore:1548437153721:72f8a85440475b53
Code:service.INVALID_REQUEST
at org.openzal.zal.exceptions.ExceptionWrapper$13.cre ate (ExceptionWrapper.java:166)
at org.openzal.zal.exceptions.ExceptionWrapper.wrap (ExceptionWrapper.java:399)
at org.openzal.zal.ProvisioningImp.createAccount (ProvisioningImp.java:1288)
at com.zextras.modules.backup.operations.ZEExternalRe storeOperation.doOperation (ZEExternalRestoreOperation.java:814)
at com.zextras.lib.operations.ZEOperation.exec (ZEOperation.java:777)
at com.zextras.lib.operations.LegacyOperationProxy.ex ec (LegacyOperationProxy.java:84)
at com.zextras.lib.operations.ModifiableStatefulOpera tion.exec (ModifiableStatefulOperation.java:122)
at com.zextras.lib.operations.OperationStarterActivit y.run (OperationStarterActivity.java:48)
at com.zextras.lib.activities.ActivityThread.run (ActivityThread.java:138)
Caused by: com.zimbra.common.service.ServiceException: invalid request: cos id 170e2f4b-92ef-4f22-8da9-ee6deb97fdb2 does not point to a valid cos
ExceptionId:External Restore:1548437153721:72f8a85440475b53
Code:service.INVALID_REQUEST
at com.zimbra.common.service.ServiceException.INVALID _REQUEST (ServiceException.java:295)
at com.zimbra.cs.account.callback.CosId.validateCosId (CosId.java:54)
at com.zimbra.cs.account.callback.CosId.preModify (CosId.java:35)
at com.zimbra.cs.account.AttributeManager.preModify (AttributeManager.java:1345)
at com.zimbra.cs.account.AttributeManager.preModify (AttributeManager.java:1317)
at com.zimbra.cs.account.ldap.LdapProvisioning.create Account (LdapProvisioning.java:1282)
at com.zimbra.cs.account.ldap.LdapProvisioning.create Account (LdapProvisioning.java:1230)
at org.openzal.zal.ProvisioningImp.createAccount (ProvisioningImp.java:1276)
at com.zextras.modules.backup.operations.ZEExternalRe storeOperation.doOperation (ZEExternalRestoreOperation.java:814)
at com.zextras.lib.operations.ZEOperation.exec (ZEOperation.java:777)
at com.zextras.lib.operations.LegacyOperationProxy.ex ec (LegacyOperationProxy.java:84)
at com.zextras.lib.operations.ModifiableStatefulOpera tion.exec (ModifiableStatefulOperation.java:122)
at com.zextras.lib.operations.OperationStarterActivit y.run (OperationStarterActivity.java:48)
at com.zextras.lib.activities.ActivityThread.run (ActivityThread.java:138)

Last progress info:
--
Operation log path: /opt/zimbra/log/op_ExternalRestore_4cf06d14-c810-4a18-8230-587922f82822.log
Warnings/Errors: 0/0
Restored Accounts(only attributes): 0/3
Restored Accounts(common items): 0/3
Restored Accounts(only shared & datasources): 0/3
Current Account:
Restored/Skipped Items: 0/0
Unrestored Items: 0
--