Results 1 to 3 of 3

Thread: Possible to restore a certain folder only?

  1. #1
    Join Date
    Apr 2008
    Brighton, ON, Canada
    Rep Power

    Default Possible to restore a certain folder only?


    We have just migrated to Zimbra. Our entire machine gets backed up nightly.

    But what I would like to do is also keep a local backup of the entire Zimbra directory for restoring folders or emails accidentally deleted fro shared folders.

    My questions are:

    1. Is it possible to restore a certain folder or set of folders w/o restoring the entire Zimbra directory (don't want to restore over users folders since they continually receive mail that would then be lost)?

    2. Is there a backup method (something like on of the open source backup methods listed here) that would better facilitate this?


  2. #2
    Join Date
    Aug 2009
    The Hague -- The Netherlands
    Rep Power


    As far as I know: in case you need a particular email or folder you can restore the entire mailbox to another account, e.g. instead of Then simply share a folder with the victim and drag&drop the lost email(s).

  3. #3
    Join Date
    Jun 2008
    Berkeley, CA
    Rep Power


    Hivos, I think you're answering in the context of NETWORK edition. Strafford has FOSS according to his profile.

    Strafford, I assume you are downing Zimbra before doing your nightly backup. That's a baseline absolute "must" unless you have implemented something exotic.

    However if you do something like this, you may be able to forego downing the server. Or at least, the concept could be used to provide backups of individual folders, as a supplement to making a backup of all of ZCS. The basic idea is to script using the built-in account-level Export feature.

    These will help you get started with what you'd need to do: ZCS 6.0:Zimbra REST API Reference:Export Mailbox - Zimbra :: Wiki
    ZCS 6.0:Zimbra REST API Reference - Zimbra :: Wiki

    Basically, I think you could use
    zmmailbox -z -m <mailbox name> getRestURL "?fmt=zip" > <>
    to backup each mailbox. You could use tgz instead of zip if you like. Then you use
    zmmailbox -z -m <mailbox name> postRestURL "?fmt=zip" <>
    to restore a given account. Probably you'll want to create a dummy account to restore to, and then share whatever folder has the data you want to recover. Alternatively you could try doing folder-specific restores, or you could do folder-by folder backups for each account.

    I can't promise this will be economical either in time or disk space.

Similar Threads

  1. Outlook sync client
    By KevinH in forum Zimbra Connector for Outlook
    Replies: 600
    Last Post: 02-28-2011, 07:56 AM
  2. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 12:55 AM
  3. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 05:53 PM
  4. Replies: 3
    Last Post: 08-11-2007, 12:40 PM
  5. restore single mail folder for account?
    By gkra in forum Administrators
    Replies: 9
    Last Post: 07-30-2007, 03:19 PM

Posting Permissions

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