Results 1 to 9 of 9

Thread: ZD Backup Beware

  1. #1
    medicaldiamonds is offline Active Member
    Join Date
    Aug 2011
    Posts
    39
    Rep Power
    3

    Default ZD Backup Beware

    My platform:

    ZD 7.1.2 (build 10978)
    Ubuntu 11.10 32 bit

    When attempting to run the ZD backup under Preferences--> Backups --> Backup Accounts Now button, a notification pops-up on the top that says "Backup of accounts have begun". The "Backup Accounts Now" button is a single action button that backups all of your ZD accounts. THEN there's the individual "Backup Now" action for each ZD email account.

    The Backup Accounts Now button, may say "Backup of accounts have begun" (caveat emptor) but ZD is actually not creating any new .tgz backup filexs in the zd_backup folder I thought it was due to the retention (I had mine set to retain 5 backup files) but I deleted old backups and tried Backup Accounts Now but backup is still not working.

    When I clicked on "Backup Now" for each individual email account, thats when ZD gave me a clue. Here's the error message i'm getting:

    Code:
    Resource unreachable.
    
    method:	[unknown]
    msg:	resource unreachable: can't fetch account data for export
    code:	service.RESOURCE_UNREACHABLE
    detail:	soap:Receiver
    trace:	com.zimbra.common.service.ServiceException: resource unreachable: can't fetch account data for export ExceptionId:btpool0-24:1326752406404:40e38b816544f5e0 Code:service.RESOURCE_UNREACHABLE Arg:(url, STR, "http://localhost:58249/home/xxxxx@abcdomain.com") at com.zimbra.common.service.ServiceException.RESOURCE_UNREACHABLE(ServiceException.java:270) at com.zimbra.cs.offline.backup.AccountBackupProducer.makeBackup(AccountBackupProducer.java:129) at com.zimbra.cs.offline.backup.AccountBackupProducer.makeBackup(AccountBackupProducer.java:188) at com.zimbra.cs.offline.backup.AccountBackupProducer.backupAccounts(AccountBackupProducer.java:211) at com.zimbra.cs.service.offline.OfflineAccountBackupService.handle(OfflineAccountBackupService.java:35) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:412) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:287) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:158) at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:294) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:215) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:208) at javax.servlet.http.HttpServlet.service(HttpServlet.java:814) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422) 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(HandlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:543) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:946) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:525) at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:55) at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:41) at com.zimbra.cs.offline.backup.AccountBackupProducer.makeBackup(AccountBackupProducer.java:122) ... 30 more
    request:	
    
    local@host.local0_baf08106c3fc87dc071ee2a2262395d6c6da20f8_69643d33363a66666666666666662d666666662d666666662d666666662d6666666666666666666666663b6578703d31333a313335383238373333393632333b747970653d363a7a696d6272613b
    Can someone help here? I would basically just be happy with backing up my ZD from command line if someone could post back on how to do it. Then I'll just re-install ZD, restore from backup, then I'll be good to go.
    Last edited by medicaldiamonds; 01-16-2012 at 03:31 PM.

  2. #2
    medicaldiamonds is offline Active Member
    Join Date
    Aug 2011
    Posts
    39
    Rep Power
    3

    Default Update...

    Yet again, i'm updating my own post for future debugging reference for anyone out there who is having the same issues (ZD Backups under Preferences-->Backups does not work anymore). I now realize what might have gone wrong with my backup. My last good backup was some time in mid December 2011. And around that time, I was running the same ZD 7.1.2 (build 10978) 32 bit on Ubuntu 11.04 32 bit. THEN, one day on a good Friday I decided to let Ubuntu "upgrade" the o/s to Ubuntu 11.10 Oneiric.

    The upgrade went fine as far as keeping all my Documents, VirtualBox configs and VirtualBox machines ( I have a Windows 7 VB Home Premium and 2 SuSe Linux VB's) intact as well as, more importantly, my Zimbra Desktop (or so I thought). After the upgrade, I fired up ZD and it opened up with no isssues at all. All my 3 email accounts were still intact and I was able to send and receive emails from each account. Only yesterday that I discovered that the ONLY thing the Ubuntu upgrade broke was the ZD Desktop (hey, had to blame it on somebody right ).

    To this day, i'm still unable to figure out how to Backup my ZD. I know there is really no way to hack/restore my existing ZD in $HOME/zdesktop into a new one so this leave me (and all ZD users like me) no choice but to rely on the ZD Backup feature which is not working for me at the moment.

    I tried re-installing ZD by downloading it again, renaming my $HOME/zdesktop to $HOME/zdesktop-bkup and renaming /opt/zimbra to /opt/zimbra-bkup, then running the installation script again. It installed fine as expected and it opened up ZD fine but when I tried the Backup feature from Preferences again, I got the same error I posted on top of this thread.

    So I would appreciate it if someone could shed some light on this. Thank you in advance.

  3. #3
    blkmagic is offline Starter Member
    Join Date
    Jan 2012
    Posts
    2
    Rep Power
    3

    Default

    I know you're running on Ubuntu, but for Windows users out there, I just tried to backup / restore feature in Zimbra Desktop and it worked fine for a gmail account.

    I'm running windows 7 64 bit, but this feature should be working properly for other windows versions as well.

  4. #4
    medicaldiamonds is offline Active Member
    Join Date
    Aug 2011
    Posts
    39
    Rep Power
    3

    Default

    Quote Originally Posted by blkmagic View Post
    I know you're running on Ubuntu, but for Windows users out there, I just tried to backup / restore feature in Zimbra Desktop and it worked fine for a gmail account.

    I'm running windows 7 64 bit, but this feature should be working properly for other windows versions as well.
    Windows or Ubuntu 32 bit or 64 bit does not matter, the ZD backup works on either o/s or atleast it used to before I upgraded from Ubuntu 11.04 to 11.10. Dont get me wrong, there is nothing wrong with ZD on Ubuntu 11.04...until...you upgrade to 11.10. Now, I think there might be an issue with ZD on Ubuntu 11.10 because I tried starting from scratch -- by downloading ZD for Linux 32 bit and installing it on 11.10 and i'm still getting the same error message posted at the beginning of this thread.

    Is there anyone else out there running ZD 7.1.2 build 10978 on Ubuntu 11.10 and is your ZD Backup working?

  5. #5
    medicaldiamonds is offline Active Member
    Join Date
    Aug 2011
    Posts
    39
    Rep Power
    3

    Default

    Any ZD on Linux guru's in the house? Please let me know if i'm doing something wrong here? I reinstalled ZD from scratch but i'm still getting the same error posted above.

  6. #6
    medicaldiamonds is offline Active Member
    Join Date
    Aug 2011
    Posts
    39
    Rep Power
    3

    Default

    I'm posting yet again to my own thread.

    I just discovered the Import/Export feature in ZD that does a pretty good job of unloading (much like the ZD Backup) all mailboxes, all address books (contacts), all tasks, all calendars, all briefcase. Like the ZD Backups, ZD Export saves a single .tgz compressed file for easy importing later.

    I tested the Import/Export feature using ZD 7.1.2 build 10978, the installer file I downloaded and used in this test was the desktop_7_1_2_ga_b10978_linux_i686.tar file. My o/s is Ubuntu 11.10 linux 32-bit.

    I Exported all my mailbox and address book. Didnt care for my calendar, tasks, and briefcase at all. The exported .tgz export file was 525MB!

    #1. I renamed my /home/userhomedir/zdesktop to /home/userhomedir/zdesktop-bkup-mm-dd-yyyy to backup just in case.

    #2. I renamed my /home/zd_backup/zdesktop to /home/zd_backup-mm-dd-yyyy to backup just in case.

    #3. I renamed the zimbra install dir /opt/zimbra to /opt/zimbra-bkup-mm-dd-yyyy so I know i'm starting clean and from scratch.

    #4. I run the application installation script "install.pl"

    #5. I run the user installation script "user-install.pl"

    #6. I opened ZD for the first time and added a new POP account.

    #7. I clicked on Preferences-->expand email account you just created--> Import / Export --> Import. Browse to the .tgz import file and click import. Took ZD 2 mins to import the whole file but it did without any issues at all!

    Backup issues resolved for now...this Export/Import will do until the ZD Backup is fixed.
    -----------
    was: ZD 7.1.2 Build 10978 on Ubuntu 11.10 32-bit
    then upgraded to: 7.1.4 Build 11273 on Ubuntu 11.10 (03/19/2012)
    then upgraded to: 7.1.4 GA Build 11299 on Ubuntu 11.10 (04/16/2012)
    Now officially migrated from ZD 7.1.4 GA Build 11299 to Thunderbird 11.0.1

  7. #7
    medicaldiamonds is offline Active Member
    Join Date
    Aug 2011
    Posts
    39
    Rep Power
    3

    Default

    UPDATE:

    The export/import utility does not save the following unlike the Backup feature:

    1. Mailed contacts (ouch!)
    2. Filters (all my filters are gone!)
    -----------
    was: ZD 7.1.2 Build 10978 on Ubuntu 11.10 32-bit
    then upgraded to: 7.1.4 Build 11273 on Ubuntu 11.10 (03/19/2012)
    then upgraded to: 7.1.4 GA Build 11299 on Ubuntu 11.10 (04/16/2012)
    Now officially migrated from ZD 7.1.4 GA Build 11299 to Thunderbird 11.0.1

  8. #8
    medicaldiamonds is offline Active Member
    Join Date
    Aug 2011
    Posts
    39
    Rep Power
    3

    Default Question

    Am I the only one running Zimbra Desktop on Ubuntu 11.10 and the only one experiencing the backup issue described in this thread?
    -----------
    was: ZD 7.1.2 Build 10978 on Ubuntu 11.10 32-bit
    then upgraded to: 7.1.4 Build 11273 on Ubuntu 11.10 (03/19/2012)
    then upgraded to: 7.1.4 GA Build 11299 on Ubuntu 11.10 (04/16/2012)
    Now officially migrated from ZD 7.1.4 GA Build 11299 to Thunderbird 11.0.1

  9. #9
    medicaldiamonds is offline Active Member
    Join Date
    Aug 2011
    Posts
    39
    Rep Power
    3

    Default

    Update:

    I just completed an upgrade to 7.1.4 GA build 11299 (see my sig) and it looks like the "Backup Accounts Now" feature under Preferences is still broken on Ubuntu 11.10 32-bit. Whenever I click the "Backup Accounts Now" button, a message at the top of ZD shows "Backup of accounts have begun" but in truth there is no new .tgz backup file being created in the $HOME/username/zd_backup folder where ZD stores the backup files.

    Is there anyone else out there who is using ZD 7.1.4 GA Build 11299 on Ubuntu 11.10 32 bit whose "Backup Accounts Now" actually works? I would love to hear from you please.
    -----------
    was: ZD 7.1.2 Build 10978 on Ubuntu 11.10 32-bit
    then upgraded to: 7.1.4 Build 11273 on Ubuntu 11.10 (03/19/2012)
    then upgraded to: 7.1.4 GA Build 11299 on Ubuntu 11.10 (04/16/2012)
    Now officially migrated from ZD 7.1.4 GA Build 11299 to Thunderbird 11.0.1

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. Per User Backup for FOSS edition
    By fdsadmin in forum Developers
    Replies: 33
    Last Post: 03-14-2013, 09:16 AM
  3. Keeping a backup server synced with live server
    By Q-Mike in forum Administrators
    Replies: 5
    Last Post: 04-11-2008, 01:40 PM
  4. FYI: ZCS NE backup to fuse/sshfs mount, worked.
    By jagipson in forum Administrators
    Replies: 0
    Last Post: 09-28-2007, 06:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •