Results 1 to 6 of 6

Thread: Zimbra Network Edition backup/restore problem

  1. #1
    morten is offline Active Member
    Join Date
    Apr 2008
    Posts
    25
    Rep Power
    7

    Default Zimbra Network Edition backup/restore problem

    Our zimbra installation creates daily backups. Every 7 days a full and the other days an incremental backup.

    I am now trying to restore one single account two weeks back in time. I have tried the administration console and also the command line zmrestore but none of them do what I expect.
    If I restore a single mailbox into a new account (using the prefix functionality) at a certain time (lets say restore the 15 november backup) and then use the 'view mail' for this account I see mails running up until the 2nd of december. This is not what I expect as a restored a backup from 15 november!

    Can anybody help me with this?

  2. #2
    Jesster's Avatar
    Jesster is offline Trained Alumni
    Join Date
    Nov 2007
    Location
    Santa Barbara, CA.
    Posts
    109
    Rep Power
    7

    Default

    In your zmrestore arguments, I would specify the backup label that you want to use for the restore - instead of letting zmrestore pick for you

  3. #3
    morten is offline Active Member
    Join Date
    Apr 2008
    Posts
    25
    Rep Power
    7

    Default

    Well, I used the following command:

    Code:
    zmrestore -ca -br -a account@example.com -pre zmrestore- -restoreToTime 20081108.000003

    but it gives results up until the 2nd of december!!!!

  4. #4
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    11

    Default

    Hi Morten,

    If the mailbox to be restored is a member of any Distribution Lists, no matter what restore prefix you use, the restored mailbox will also become a member of those Distribution Lists and so will get new inbound emails from that avenue.

    Hope that helps!

    All the best,
    Mark

  5. #5
    Jesster's Avatar
    Jesster is offline Trained Alumni
    Join Date
    Nov 2007
    Location
    Santa Barbara, CA.
    Posts
    109
    Rep Power
    7

    Default

    Quote Originally Posted by morten View Post
    Well, I used the following command:

    Code:
    zmrestore -ca -br -a account@example.com -pre zmrestore- -restoreToTime 20081108.000003

    but it gives results up until the 2nd of december!!!!
    Hi morten,

    Can you instead specify the backup label? I've found it works.
    You can lookup the label via zmbackupquery and then use it in your zmrestore:

    Here I specify to restore user@example.org from the backup label called full-20081010.041751.387

    Code:
    
     zmrestore -a user@example.org -lb full-20081010.041751.387 -t /opt/zimbra/backup/ -ca -pre restore_

  6. #6
    morten is offline Active Member
    Join Date
    Apr 2008
    Posts
    25
    Rep Power
    7

    Default

    Hi Jester,

    I tried your version to use a label but I am getting crazy here. It just seems to ignore the complete restore.

    For me it seems as if even though I restore it to a different account, when I open the account it just opens the mailbox from the original user with the emails up to the time the restore was done. So it seems the restore is actually creating a snapshot of the current mailbox instead of restoring a previous backup.

    I am getting kinda worried here that the complete backup/restore procedure is not working. Currently it is a minor issue with my own mailbox, but this should simply just work.

    Any other ideas?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  2. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  3. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  4. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM

Posting Permissions

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