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-28-2009, 02:23 PM
Elite Member
 
Posts: 376
Default Restore from Backup Conundrum

Here's the situation, it's complicated.

Server was dying rapidly. I back up to an external USB drive on Friday. All seemed to recover and worked all weekend. Server died about 4am Monday morning. Crap.

Bonus though, I had set up a desktop (purloined from a hapless user) with Ubuntu server and Zimbra. Poof, viola, instant mail server. Crappy, but it works while Dell builds me a new one.

Backups copying a 60gb tar.bz2 file takes a friggin long time over the network. (Craptastic desktop has fried USB ports, someone stuck crap in upside down. Note: beat user with LART later.) In the end the backup was restored by the end of the day. All is well. Slow, but functional.

As of today I managed to get the Monday backups off of the server. All is good there.

Here's persnickety bit (LOL, Firefox has persnickety in it's spellcheck dictionary). 1) Backups to USB were from Friday. 2) Server was restored with Friday backups on Monday. 3) All Emails from Friday after backup until server crash Monday morning are not live.

How would I integrate backup from last Monday into today's live server, all the while retaining both sets of data?

Better yet, if possible, can I also retain the current location so as to not have duplicate messages?
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #2 (permalink)  
Old 04-30-2009, 02:36 PM
Elite Member
 
Posts: 376
Default

No one has an idea on how I would go about merging two backups?
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #3 (permalink)  
Old 05-01-2009, 02:47 AM
Partner (VAR/HSP)
 
Posts: 425
Default

Just a thought, don't know if it really works: You could make a backup of the new server, restore the old backup on the new server and then restore the new backup as well.
Reply With Quote
  #4 (permalink)  
Old 05-01-2009, 11:00 AM
Elite Member
 
Posts: 376
Default

Tried that also. It used to be bugged so that when you restored over an existing account it would just overwrite the files. The current incarnation wipes the account clean and restores it from the backup.

Optimal would be to have an option to merge, overwrite, or obliterate the existing account.
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #5 (permalink)  
Old 05-01-2009, 11:17 AM
Moderator
 
Posts: 1,027
Default

This is a total WAG and I have no idea the chances of failure/success, but how about using either IMAPSYNC or just IMAP clients logged into accounts on both machines, and dragging the messages from old-slow-junk over to new-hot-pretty?
__________________
Cheers,

Dan
Reply With Quote
  #6 (permalink)  
Old 05-01-2009, 04:22 PM
Intermediate Member
 
Posts: 19
Default

While not exactly the same scenario, I kind ran into this. I had a situation where we setup all new mailboxes for a 60 users under a new domain. Turns out they didnt want to lose all their old mailbox info. So now I had 2 mailboxes per user, one with old mail in it and one with a week or so of mail in it. Since these were on the same server, I was able to share one mailbox with another, login into one mailbox and drag messages from one mailbox into the other to merge them.

Support did get back to me (long after I'd already done my drag and drop fix) and gave me this information:

Quote:
Starting with zcs version 5.0.9, you can use the *zmmailbox* command line utility to export an entire mailbox in .tgz format.
You can import the exported file to a new account. You should have options to deal with duplicates as well.

Please consult this wiki for usage and let us know if you have any questions
ZCS-to-ZCS Migrations » Zimbra :: Blog
Maybe that'll help. good luck.
Reply With Quote
  #7 (permalink)  
Old 05-02-2009, 12:33 AM
Moderator
 
Posts: 1,432
Default

Perhaps you could restore the "not live" data into new accounts using the option to add a prefix to the original names, then create shares from account to account as cmcbride suggests. You might not have enough licenses to do everyone at once, though.
__________________
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.