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 03-11-2010, 06:40 AM
Loyal Member
 
Posts: 84
Question zmrestore question

Good morning, all.

I would like to know if it is possible, using the zmrestore CLI command to restore mail from one account into another account between certain dates.

For example:

userfoo@example.com completely trashed Outlook on their computer, forcing a rebuild and reorganization of their local mail store, just so Outlook would stop crashing. This local mail store was then exported to a PST, and imported back to the ZCS server using the PST Import tool to a test account foouser@example.com. However, during the time it took to complete these "repairs," userfoo@example.com continued to get new mail/calendar appointments in their mailbox.

So, what I need to do is to restore mailbox data from userfoo@example.com into foouser@example.com's account between Feb. 18th, and today. I read in the Wiki about point-in-time (PIT) restores, but my needs seem to be a little different than was is covered therein...

Can this be done? If so, could someone provide me with the CLI command syntax? I would be MOST grateful!

Thanks for reading..
Reply With Quote
  #2 (permalink)  
Old 03-12-2010, 06:06 AM
Loyal Member
 
Posts: 84
Default

Bump up...
Reply With Quote
  #3 (permalink)  
Old 03-12-2010, 12:00 PM
Partner (VAR/HSP)
 
Posts: 186
Default

Quote:
Originally Posted by SiliconJunkie View Post
Bump up...
means what? My English is not as good as it should be.

To answer your question:

Code:
zmrestore -a account.to.restorea@domain.com -ca -pre restored_
Restores the account to a new target account whose name is prepended with prefix restored_.

There are other options as well to restore the account to a specific date etc.
Detailed information about zmrestore: CLI zmrestore Network Edition only - Zimbra :: Wiki

Afterwards you can rename the restored account to your liking.

Last edited by FritzBrause; 03-12-2010 at 01:02 PM..
Reply With Quote
  #4 (permalink)  
Old 03-12-2010, 01:02 PM
Loyal Member
 
Posts: 84
Default

Quote:
Originally Posted by FritzBrause View Post
means what? My English is not as good as it should be.

To answer your question:

Code:
zmrestore -a account.to.restorea@domain.com -ca -pre restored_
Restores the account to a new target account whose name is prepended with prefix restored_.

There are other options as well to restore the account to a specific date etc.

Code:
zmrestore --help
Afterwards you can rename the restored account to your liking.
Hi, Andreas. Thanks for your reply.

Bump up means to bump the message back to the top of the forum list so I might be able to get some help.

Yes, I got that much from the Wiki about zmrestore...

The issue is that I do not want to restore EVERYTHING up to a specific date.

I want to restore items from one existing account to another existing account (not a NEW account) BETWEEN certain dates - i.e.: February 18th, 2010, and March 12th, 2010.

Last edited by SiliconJunkie; 03-12-2010 at 01:58 PM..
Reply With Quote
  #5 (permalink)  
Old 03-12-2010, 01:21 PM
Partner (VAR/HSP)
 
Posts: 186
Default

I was in the same situation a couple of times. I did a full account restore to a new account and copied the missing mails manually to the original account. I believe there's no other way. You would probably do a full restore to that new account and manually delete all mails not needed anymore.

Regards

Andreas
Reply With Quote
  #6 (permalink)  
Old 03-12-2010, 01:59 PM
Loyal Member
 
Posts: 84
Default

Quote:
Originally Posted by FritzBrause View Post
I was in the same situation a couple of times. I did a full account restore to a new account and copied the missing mails manually to the original account. I believe there's no other way. You would probably do a full restore to that new account and manually delete all mails not needed anymore.

Regards

Andreas
Can you recommend a good lean IMAP client I can use to do this? The user's mailbox is 9GB in size, so I want something lean and mean. Would Thunderbird be a good choice?
Reply With Quote
  #7 (permalink)  
Old 03-12-2010, 10:45 PM
Partner (VAR/HSP)
 
Posts: 186
Default

Thunderbird is agood choice. If you're going to use version 3 make sure
mail.server.default.use_condstore is being set to "false". Also disable all advanced search features. This will save you a lot of time when dealing with large mailboxes.

Open Thundebird 3 preferences and go to the "Advanced Tab". First disable Global Search / Indexing and then click on "Config Editor..." Type in "condstore" in the Filterbox and set mail.server.default.use_condstore to false by double clicking on the value.

Regards

Andreas

Last edited by FritzBrause; 03-13-2010 at 12:06 AM..
Reply With Quote
  #8 (permalink)  
Old 04-06-2010, 04:32 PM
Moderator
 
Posts: 1,432
Default

In this situation, why not instead share the Inbox (and/or other folders) of the restored account to the new account?

Then use the Zimbra Web Client to do the copy.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
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.