+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28
Thin Client and Virtual Machines Thread, Ubuntu on ESXi Networking in Technical; whoops again - could this have anything to do with it being a 32-bit OS?...
  1. #16

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    whoops again - could this have anything to do with it being a 32-bit OS?

  2. #17

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Just changed RAM from 1 to 3GB (4GB inc swap) and zimbra works. F*%$ it! Now I'm gonna have to reinstall Zimbra on a new 64-bit OS!

  3. #18

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Just leave it at 4GB?

  4. #19

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Quote Originally Posted by webman View Post
    Just leave it at 4GB?
    But then we'll always be limited to 4GB - there's only 2 year groups using it now so I would rather get it done now then when everyone is on it.

    Is there a simple way to backup/restore mailboxes to the new install?

  5. #20

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    There are two ways I see you can do this.

    Either 1) migrate the whole Zimbra install to 64bit, or 2) install from scratch, configure the same way, set up accounts etc. then import mail.

    Option 1 requires planning, time, and lots of typing; but there's a very good guide on the wiki.

    Ajcody-Notes-Server-Move - Zimbra :: Wiki

    Option 2 means you get a clean slate, but will take extra time to backup all mailboxes and re-import them.

    You can backup a mailbox to a compressed folder on the command line (as the Zimbra user) like this:

    Code:
    zmmailbox -z -m john.doe@example.com getRestURL .//?fmt=tgz > /tmp/johndoe.tgz
    and then import like this:

    Code:
    zmmailbox -z -m john.doe@example.com postRestURL "//?fmt=tgz&resolve=reset" /tmp/johndoe.tgz
    Last edited by webman; 17th December 2009 at 01:35 PM.

  6. Thanks to webman from:

    Hightower (17th December 2009)

  7. #21

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Thanks for that webman - that'll come in very useful!

    I actually take the time to document exactly how I've installed a linux server, and it's times like this when it comes in handy. Fine it might have taken me 3 hours to write the documentation, but now I can just open it up, follow my detailed instructions and maybe save myself a day or two

  8. #22

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    The backing up of the file works. I transferred it to the new host and I get the following error when I try to restore the mailbox:

    ERROR: service.FAILURE (system failure: POST failed, status=500 system failure: tgz formatter failure)

    We were on version 5.x but with installing a new box I decided to go straight to 6.x - could this be causing the problem? Is there a way around this?

  9. #23

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Yes, probably a version issue. There's a post on the Zimbra forum for it, but wasn't solved.

    I'd install the matching Zimbra version, and then do an upgrade to the latest 6.x release once everything works.

  10. #24

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    I have created a script that has a backup line in for each user. This backed up every mailbox to an individual TGZ. I then zipped these up to one file, SCP'ed it across to the new server, extracted this file and then ran the same file that I ran to backup, except with the restore command in it's place.

    I run this logged on as Zimbra and it takes a while - but no mailboxes have been restored. Yet, if I just manually enter one line straight into the terminal it take a few seconds then completes - when I log in this time it has been restored!?

    What's going on?!

    P.S. This is v5 to v5 as I reinstalled the new zimbra.

  11. #25

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    In the script, try entering the full path to the zmmailbox command. I think it's in /opt/zimbra/bin/.

  12. #26

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    In fact - scratch that. I've just tried manually restoring a couple of account that I KNOW have things in them, nothing has come back.

    I don't think it's the script as I just copied/pasted your code in...

  13. #27

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Very weird. Can you open one of the TGZ files on Windows (7zip, WinRAR) and see what's in them?

  14. #28

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    There's quite a lot of information held in a file that I know had emails in the inbox. Various folders for email and calendar and contents. In the email folder there's an inbox folder holding a handful of emails. Looks about normal to me?

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. VMWare ESXi 4 networking?
    By iSteve in forum Thin Client and Virtual Machines
    Replies: 10
    Last Post: 28th May 2010, 11:14 AM
  2. ESXI 4 and Networking
    By jreimer in forum Thin Client and Virtual Machines
    Replies: 3
    Last Post: 27th May 2010, 09:19 AM
  3. Replies: 5
    Last Post: 15th November 2008, 05:23 PM
  4. VMWare ESXi
    By jack0w in forum Thin Client and Virtual Machines
    Replies: 10
    Last Post: 17th October 2008, 10:25 AM
  5. Replies: 9
    Last Post: 25th March 2008, 06:13 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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