Hi!
I'm testing ZxBackup in a Zimbra 8.0.7 GA and I hit an error:
Operation Undelete failed.
Operation Id: 8011171a-1558-47e7-b1e7-442241c1d3a4
Operation Host: mail.domain.com.br
Operation requested by: admin@domain.com.br
ZeXtras Suite Version: 2.14.1
commit: 035d29bb06d242d8c6c960daa771cc0f501c6673
Zal Version: 2.5.3
Zal commit: fdc015900e8ef613c096d04b03f7f51971d03234
Zimbra version: 8.0.7_GA_6021 20140408123908 20140408-1242 FOSS
Account: user@domain.com.br
Start date: 19/03/2019 23:48:14
End date: last available
Additional notifications: admin@domain.com.br
- exception -
com.zextras.lib.Error.InvalidOperationOnMetadataError: Invalid operation on metadata: /opt/zimbra/backup/zextras/accounts/b4c838cb-8ed1-45cf-ba0c-248dcbfb0b51
at com.zextras.modules.backup.ZEBAccount.assertState (ZEBAccount.java:1761)
at com.zextras.modules.backup.ZEBAccount.getMailName (ZEBAccount.java:1919)
at com.zextras.modules.backup.operations.ZEUndeleteOperation.undelete (ZEUndeleteOperation.java:360)
at com.zextras.modules.backup.operations.ZEUndeleteOperation.doOperation (ZEUndeleteOperation.java:309)
at com.zextras.lib.operations.ZEOperation.exec (ZEOperation.java:777)
at com.zextras.lib.operations.LegacyOperationProxy.exec (LegacyOperationProxy.java:84)
at com.zextras.lib.operations.ModifiableStatefulOperation.exec (ModifiableStatefulOperation.java:123)
at com.zextras.lib.operations.OperationStarterActivity.run (OperationStarterActivity.java:48)
at com.zextras.lib.activities.ActivityThread.run (ActivityThread.java:144)
What I did to reach this error was:
1- Through user's mailbox, deleted some received and sent e-mails;
2- Ran smartscan;
3- Restored them by right clicking the user's account at the Zimbra Admin page and selecting "more recent date" (idk how it is written in english);
Worked.
4- Through Zimbra Admin page, deleted user@domain.com.br account;
5- ZeXtras > ZxBackup > Recover deleted accounts > Marked the "more recent date" > Selected the deleted account > Set the same account name > Finish;
Worked.
6- Saw that the restored account didn't have my restored e-mails and tried to restore them again just like step 3;
Failed.
I believe this is because of the account's ID, since it changed.
Is there a way to restore my deleted e-mails to this "new" account?
Thank you already.
Operation Undelete failed.
Operation Id: 8011171a-1558-47e7-b1e7-442241c1d3a4
Operation Host: mail.domain.com.br
Operation requested by: admin@domain.com.br
ZeXtras Suite Version: 2.14.1
commit: 035d29bb06d242d8c6c960daa771cc0f501c6673
Zal Version: 2.5.3
Zal commit: fdc015900e8ef613c096d04b03f7f51971d03234
Zimbra version: 8.0.7_GA_6021 20140408123908 20140408-1242 FOSS
Account: user@domain.com.br
Start date: 19/03/2019 23:48:14
End date: last available
Additional notifications: admin@domain.com.br
- exception -
com.zextras.lib.Error.InvalidOperationOnMetadataError: Invalid operation on metadata: /opt/zimbra/backup/zextras/accounts/b4c838cb-8ed1-45cf-ba0c-248dcbfb0b51
at com.zextras.modules.backup.ZEBAccount.assertState (ZEBAccount.java:1761)
at com.zextras.modules.backup.ZEBAccount.getMailName (ZEBAccount.java:1919)
at com.zextras.modules.backup.operations.ZEUndeleteOperation.undelete (ZEUndeleteOperation.java:360)
at com.zextras.modules.backup.operations.ZEUndeleteOperation.doOperation (ZEUndeleteOperation.java:309)
at com.zextras.lib.operations.ZEOperation.exec (ZEOperation.java:777)
at com.zextras.lib.operations.LegacyOperationProxy.exec (LegacyOperationProxy.java:84)
at com.zextras.lib.operations.ModifiableStatefulOperation.exec (ModifiableStatefulOperation.java:123)
at com.zextras.lib.operations.OperationStarterActivity.run (OperationStarterActivity.java:48)
at com.zextras.lib.activities.ActivityThread.run (ActivityThread.java:144)
What I did to reach this error was:
1- Through user's mailbox, deleted some received and sent e-mails;
2- Ran smartscan;
3- Restored them by right clicking the user's account at the Zimbra Admin page and selecting "more recent date" (idk how it is written in english);
Worked.
4- Through Zimbra Admin page, deleted user@domain.com.br account;
5- ZeXtras > ZxBackup > Recover deleted accounts > Marked the "more recent date" > Selected the deleted account > Set the same account name > Finish;
Worked.
6- Saw that the restored account didn't have my restored e-mails and tried to restore them again just like step 3;
Failed.
I believe this is because of the account's ID, since it changed.
Is there a way to restore my deleted e-mails to this "new" account?
Thank you already.