Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-2006, 01:21 PM
Junior Member
 
Posts: 9
Default Mail box retrieval

I upgraded to 3.1 fro 3.0.1 and everything got f**ked up.
when trying to connect to my server from outside after login it told me it couldn't find the server.
My MX record and my mail server have different names (zimbra.*.* internally and mail.*.* externally)

after trying a few more times upgrading over, changing hostname, i still cannot get anywhere.

i renamed /opt/zimbra to /opt/zimbra.bak, rename my server as mail.*.* the external name, fixed the hosts file and reinstalled a fresh install of zimbra.

is there a way to get the mails/tags/users from the old folder.
i don't mind remaking the users but would like to import the mails back atleast

anyone know of a solution
Reply With Quote
  #2 (permalink)  
Old 04-16-2006, 10:02 PM
Zimbra Employee
 
Posts: 4,792
Default

You can get the mail directly from the directories, but that won't get any folders/tags. I'd recommend you just restore your backup, make sure things are running, then try the upgrade with build 332 and debug from there. Trying to restore just part of the data is quite hard.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 04-17-2006, 06:34 AM
Junior Member
 
Posts: 9
Default data

at this point i think i'd just be happy with getting the mail back.
can i just cp the files from the store folder into the store folder or is there more to do.
Reply With Quote
  #4 (permalink)  
Old 04-17-2006, 06:57 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by naturalblue
at this point i think i'd just be happy with getting the mail back.
can i just cp the files from the store folder into the store folder or is there more to do.
You should shutdown zimbra and make sure there's no zimbra processes running then copy your backup over the new install. When you've done that reboot your system and you should have the original system back.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 04-17-2006, 09:16 AM
Former Zimbran
 
Posts: 5,606
Default

A little note to add to Phoenix's comment,
if you used the very first build of the 3.1 release, it's possible you might have some LDAP problems.

If you have a backup of your original (now zimbra.bak), i'd replace the ldap data in the zimbra.bak folder.

Just a heads up.

By the way, all of your messages are stored in /opt/zimbra/db/data

You'll be able to pull just the raw data if nessiary.

I had to recover one time. I pulled the messages to a windows machine, and used the outlook drag & drop to put them back in the proper mailbox.

The problem is you may have no idea who's "mailbox01", so you have to read the message...but there might be an easier way.

I agree with phoenix (It's funny, cause I'm in Phoenix now). Restore your old copy, and install over it. It'll save you headaches. makesure you backup the backup first.

Good luck,
jh
Reply With Quote
  #6 (permalink)  
Old 04-17-2006, 07:33 PM
Zimbra Employee
 
Posts: 515
Default

Quote:
> By the way, all of your messages are stored in /opt/zimbra/db/data
hmm not so fast. the raw message data is stored in /opt/zimbra/store/. the meta-data is in mysql /opt/zimbra/db/data.

Quote:
> The problem is you may have no idea who's "mailbox01", so you have to read the message...but there might be an easier way.
>
to find out who has mailboxXXX:

mysql -e 'use zimbra; select id,comment from mailbox where id=XXX'
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.