Results 1 to 10 of 21

Thread: [SOLVED] Mail backup options for end users?

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    35
    Rep Power
    9

    Default [SOLVED] Mail backup options for end users?

    This topic must be covered somewhere already, but when I search on "backup" I get too many hits and don't see anything like this.

    Is there any way for users to back up their own mailboxes? We give them a fairly large quota, but with lots of file attachments it becomes impossible to keep more than a year or so. It's also not very likely that they would ever have to go back to something more than a year old.

    So I'm really asking two questions:

    First, how can an individual move all e-mail that's more than 12 months old to their local machine and out of Zimbra? It would be nice to have something automated, but a manual process would be OK as long as it's not too easy to mess up and end up with no backups.

    Second, assuming that they can burn a backup CD containing old e-mails, what would be the best way to access those backups if they ever had to?

    I'm hoping to write a (simple?) procedure that we can distribute to a few thousand e-mail users. Whatever we come up with has to be pretty easy for non-technical people otherwise I'll be getting thousands of phone calls every month.

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    UPDATE: For 5.0.9/10+ I highly recommend the tar formatter for personal backups to get items plus metadata: ZCS-to-ZCS Migrations » Zimbra :: Blog
    (5.0.11/.12+ has it nicely exposed to users -instead of remembering url tricks- in the import/export section of the preferences tab)

    ---

    Though it's not exactly an easy way to search through them later (besides importing them into a mail client or using your operating system's search) to make their own copies:

    Exporting to .zip does not delete them from your zimbra account, but I'll explain below how you could tag the messages you want to remove and delete them from zimbra later.

    Login first
    To get a .zip of all emails in the inbox you would just browse to: http://server.domain.com/user/~/inbox.zip (or any other folder name at the end)
    Easy: http:// server.domain.com/user/~/?fmt=zip&query=is:anywhere

    Notes:
    -Be sure to rename items.zip to something descriptive so you know what it is! (subfolders will show up inside it as well if your searching across multiple folders)
    -You can replace accountnames with ~
    -'user' & 'home', as well as 'service' & 'zimbra' are mostly interchangeable/often not needed/you can construct in a variety of ways. ie:
    /user/~
    /home/accountname
    /zimbra/user/~/
    /zimbra/home/~/
    /zimbra/user/accountnamehere/
    /zimbra/home/accountnameehere/
    /service/home/~
    For instance, you could:
    -Do an advanced search in the web-client first, and move them to a folder or tag named 'NowArchiving' (and if you want then you could just delete that folder after you're happy with your export)

    -Grab a zip of all items with a tag ; without going back into the web-client you can search across all folders for things like:Update: Remove those quotes

    (You can make combinations of the above, for other ideas see Search Tips - ZimbraWiki)

    See more at: /blog/archives/2006/01/rest_update.html & /blog/archives/2005/11/all_rest_and_no.html & /blog/archives/2006/05/updating_via_re_1.html

    To get those stuff back in?
    Import into a thick-client and drag from local > zimbra

    Use CURL/zmmailbox addMessge/zmlmtpinject to put the messages back into zimbra
    (for usage see http://www.zimbra.com/forums/adminis...html#post45630 & http://www.zimbra.com/forums/install...e-folders.html

    Heck, you could build a portal that pulls up their current folder structure/does the search and REST export to .zip in the first place. You would give them some checkbox items for options & a calendar to pick before dates, etc. exporting/importing the .eml (or conversion to .msg)

    Or make a zimlet!

    I suppose you could could go ahead and open an RFE if it's not already open doing something like 'message export/import in preferences', for whole folders it would be just like the contacts & cal import/exports.
    Last edited by mmorse; 01-16-2009 at 08:37 AM.

  3. #3
    Join Date
    Jul 2006
    Location
    New York, NY
    Posts
    122
    Rep Power
    9

    Default

    I've been looking for an way of doing this for the longest time, up until just now I've been using mail archive program for Thunderbird. This is much much better.

    The date query string should really be added to the examples in the Wiki page.
    Because we all can't be geniuses, I'll go first.

  4. #4
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Quote Originally Posted by glitch23 View Post
    I've been looking for an way of doing this for the longest time, up until just now I've been using mail archive program for Thunderbird. This is much much better.

    Quote Originally Posted by glitch23 View Post
    The date query string should really be added to the examples in the Wiki page.
    done & don't forget the < > <= >= symbols usage!
    date: Use this keyword to specify a date, using the format that is default for your browser's locale (for US English the format is mm/dd/yyyy). For example, date:2/1/2007 would find messages dated February 1, 2007. The greater than (>) or less than (<) symbols can be used instead of after or before. >= and <= are also allowed.
    after: Specifies mail sent after a certain date. For example, after:2/1/2007 specifies mail sent after February 1, 2007.
    before: Same as after: except specifies mail sent before the specified date.
    Search Tips - ZimbraWiki
    Last edited by mmorse; 10-09-2007 at 12:17 PM.

  5. #5
    Join Date
    Mar 2007
    Location
    Oslo, Norway
    Posts
    123
    Rep Power
    8

    Default

    Wow, this is great! Never had any use of this until yesterday when a client wants to backup his account. Is there any command we can use to backup entire account, (with calendar/adressbook) aswell? At least, all folders/mail ?

  6. #6
    Join Date
    Jun 2006
    Location
    Italy
    Posts
    56
    Rep Power
    9

    Default Local backup zimlet

    We have made a zimlet, based on Zimbra's REST functionalities, that allows an user to backup the emails and the folders on his PC. The user can drag an email or a folder on the zimlet's icon to have back a zip file containing the messages. Another option is to double click the zimlet's icon to backup the emails contained in a special folder, named "backup", created on the user's first login.

    If anyone wants to try and to debug the zimlet, can send me a private message
    Stefano Pampaloni
    www.seacom.it

  7. #7
    Join Date
    Nov 2006
    Location
    Bordeaux, France
    Posts
    140
    Rep Power
    8

    Default

    I tried it but when i specify a query, the zip file is always empty
    I'm doing something wrong ?

    2 requests :

    - is there a way to backup the whole inbox, including sub folders?
    - Date of each eml file is the date of the zip creation, i would make sense
    to have the date of the message instead.

  8. #8
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    mmorse's URLs are slightly wrong. Try removing the double-quotes around your query and see if it works.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 06:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 03:34 PM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 03:55 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
  •