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 12-03-2008, 06:52 AM
Active Member
 
Posts: 25
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?
Reply With Quote
  #2 (permalink)  
Old 12-03-2008, 10:12 PM
Trained Alumni
 
Posts: 108
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
Reply With Quote
  #3 (permalink)  
Old 12-04-2008, 12:41 AM
Active Member
 
Posts: 25
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!!!!
Reply With Quote
  #4 (permalink)  
Old 12-04-2008, 09:25 AM
Moderator
 
Posts: 1,209
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
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #5 (permalink)  
Old 12-04-2008, 11:53 AM
Trained Alumni
 
Posts: 108
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_
Reply With Quote
  #6 (permalink)  
Old 12-05-2008, 04:17 AM
Active Member
 
Posts: 25
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?
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.