Results 1 to 3 of 3

Thread: Possible to restore a certain folder only?

  1. #1
    strafford is offline Loyal Member
    Join Date
    Apr 2008
    Location
    Brighton, ON, Canada
    Posts
    89
    Rep Power
    7

    Default Possible to restore a certain folder only?

    Hi

    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?

    Thanks,
    Scott

  2. #2
    Hivos's Avatar
    Hivos is offline Advanced Member
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    5

    Default

    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. restored_accountname@example.com instead of accountname@example.com. Then simply share a folder with the victim and drag&drop the lost email(s).

  3. #3
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    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
    Code:
    zmmailbox -z -m <mailbox name> getRestURL "?fmt=zip" > <filename.zip>
    to backup each mailbox. You could use tgz instead of zip if you like. Then you use
    Code:
    zmmailbox -z -m <mailbox name> postRestURL "?fmt=zip" <filename.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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Outlook sync client
    By KevinH in forum Zimbra Connector for Outlook
    Replies: 600
    Last Post: 02-28-2011, 08:56 AM
  2. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 01:55 AM
  3. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06: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
  •