Hi there,

Not sure if I'm posting under the right sub-forum, but here we go:

We have a user who managed to delete her entire calendar. Our last full backup was on 6/1/2012 and we have incrementals that run every night @ 1AM PST. I figured the easiest way to get her calendar back was to restore her account to a new temp account, and then export/import the calendar.

For testing purposes, I was able to restore my own account by doing the following:

Code:
zimbra@webmail:~/backup/sessions$ zmrestore -a me@company.com -d --ignoreRedoErrors -ca -pre restore_ -lb full-20120601.080004.990 -restoreToIncrLabel incr-20120617.080008.159
However, when I ran the command with her account name in it, I got the error(s) below:

====================

Error occurred: system failure: link(/opt/zimbra/store/0/425/msg/22/91418-350812.msg, /opt/zimbra/store/0/425/msg/22/91418-350812.msg): No such file or directory
class=com.zimbra.common.soap.SoapFaultException
message=system failure: link(/opt/zimbra/store/0/425/msg/22/91418-350812.msg, /opt/zimbra/store/0/425/msg/22/91418-350812.msg): No such file or directory
mIsReceiversFault=true
mIsLocal=false
mDetail=<soap: Detail><Error xmlns="urn:zimbra"><Code>service.FAILURE</Code><Trace>com.zimbra.common.service.ServiceExcep tion: system failure: link(/opt/zimbra/store/0/425/msg/22/91418-350812.msg, /opt/zimbra/store/0/425/msg/22/91418-350812.msg): No such file or directory
ExceptionId:btpool0-6492://localhost:7071/service/admin/soap/RestoreRequest:1340045362256:c94e5fe7866eeda4
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248)
at com.zimbra.cs.service.backup.Restore.handle(Restor e.java:153)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:420)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:274)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:291)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:212)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1166)
at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:79)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:155)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.handler.DebugHandler.handle(Debu gHandler.java:77)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:543)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:939)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:405)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:413)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
Caused by: java.io.FileNotFoundException: link(/opt/zimbra/store/0/425/msg/22/91418-350812.msg, /opt/zimbra/store/0/425/msg/22/91418-350812.msg): No such file or directory
at com.zimbra.znative.IO.link0(Native Method)
at com.zimbra.znative.IO.link(IO.java:78)
at com.zimbra.cs.backup.util.Utils.link(Utils.java:21 3)
at com.zimbra.cs.backup.FileBackupTarget$RestoreAcctS ession.loadBlob(FileBackupTarget.java:2266)
at com.zimbra.cs.backup.RestoreAccountSession.loadBlo bsImpl(RestoreAccountSession.java:811)
at com.zimbra.cs.backup.FileBackupTarget$RestoreAcctS ession.loadBlobs(FileBackupTarget.java:2228)
at com.zimbra.cs.backup.RestoreAccountSession.startRe store(RestoreAccountSession.java:209)
at com.zimbra.cs.backup.FileBackupTarget.restore(File BackupTarget.java:480)
at com.zimbra.cs.backup.BackupManager.restore(BackupM anager.java:804)
at com.zimbra.cs.service.backup.Restore.handle(Restor e.java:138)
... 35 more


From my understanding, the temp account's mailbox ID was 425.

/opt/zimbra/log/mailbox.log shows this when the restore operation started:

Code:
2012-06-18 11:32:45,274 INFO  [btpool0-6492://localhost:7071/service/admin/soap/RestoreRequest] [name=user@company.com;ip=127.0.0.1;] backup - Restoring to mailbox id 425 for new account 811ca2d1-2dfd-4799-9170-da4e5b20149f.
2012-06-18 11:45:34,363 INFO  [btpool0-6492://localhost:7071/service/admin/soap/RestoreRequest] [name=user@company.com;mid=425;ip=127.0.0.1;] backup - Cleaning up data from failed restore (mid=425)
2012-06-18 11:49:21,109 WARN  [btpool0-6492://localhost:7071/service/admin/soap/RestoreRequest] [name=user@company.com;mid=425;ip=127.0.0.1;] backup - Error occurred during restore account user@company.com (6ebdd025-3d23-4a02-bbae-ff70cab2535e)
====================

Also: If I remove '--ignoreRedoErrors', I get the error below

Error occurred: system failure: Error executing redoOp
class=com.zimbra.common.soap.SoapFaultException
message=system failure: Error executing redoOp
mIsReceiversFault=true
mIsLocal=false
mDetail=<soap:Detail><Error xmlns="urn:zimbra"><Code>service.FAILURE</Code><Trace>com.zimbra.common.service.ServiceExcep tion: system failure: Error executing redoOp
ExceptionId:btpool0-6446://localhost:7071/service/admin/soap/RestoreRequest:1340041754704:c94e5fe7866eeda4
Code:service.FAILURE

Caused by: com.zimbra.cs.mailbox.MailServiceException: cannot modify immutable object: 194192
ExceptionId:btpool0-6446://localhost:7071/service/admin/soap/RestoreRequest:1340041754704:c94e5fe7866eeda4
Code:mail.IMMUTABLE_OBJECT Arg:(itemId, IID, "194192")

Not sure what to try next, so I thought I'd post here. Please let me know if you need any additional information from me. Thanks for your time!!