Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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 06-15-2010, 05:27 PM
Active Member
 
Posts: 28
Default Zimbra NE Redundancy and Disaster Recovery

I know something like this has been asked many times. Right now we are running Zimbra on a physical server and I want to see if there are good options to make sure there is minimal downtime if there is hardware failure or data corruption on the server itself.

How does everyone make sure that they can get backup quickly if there is hardware failure. What about data corruption ? My understanding is the full backups will backup everything including LDAP and the mysql database. Is this enough to get up and running on a new server?

I think virtualizing zimbra would allow us to survive hardware failure. My only concern is using something like NFS or iSCSI can it handle the I/O that zimbra needs to operate without any problems?

My understanding is that something like Zimbra clustering requires RHCS and that is primarily for load balancing. Is that correct?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 06-15-2010, 06:53 PM
Moderator
 
Posts: 1,554
Default

zimbra NE backups are enough to do a disaster recovery, although it can take some time to doa full restore of all the data depending how many users you have

zimbra runs fine virtualized with iscsi/nfs environments, you just need to make sure it's robust enough to handle the iops. we run it on vmware esx + hp/lefthand iscsi san.

zimbra cluster is only 'officially supported' on rhel, but i hear it works fine in centos & ubuntu
Reply With Quote
  #3 (permalink)  
Old 06-16-2010, 11:31 AM
Active Member
 
Posts: 28
Default

OK. I have a question about backups.

I was looking at the backups and I noticed that the last full is about 35 GB but the previous Full backups were like just over 2 GB. I would think that 35 GB sounds right if it is backing up everyone's mailbox and other stuff like LDAP and MYSQL. Is there a reason why the previous fulls would seem to be so small? Does Zimbra touch the full backups after it gets the next full?
Reply With Quote
  #4 (permalink)  
Old 06-16-2010, 11:33 AM
Moderator
 
Posts: 1,554
Default

zimbra does a full backup every time you add a new user. so if you do a full backup on friday, add a new user on tuesday it will do a full backu pof just that user tuesday night. so for tuesday you'll see both a full and incremental backup for that day, and the full will be small (unless you imported a ton of e-mail).

this command will give you a good overview of how much space each backup is taking up

du -m --max-depth=1 /opt/zimbra/backup/sessions
Reply With Quote
  #5 (permalink)  
Old 06-17-2010, 06:19 AM
Active Member
 
Posts: 28
Default

Well from looking at the sessions it seems it is doing a full backup every friday morning. I can't believe all the mailboxes are only 2 gb. The whole directory is only like 46 gb with the last full backup being 36 gb. That just seems odd to me.
Reply With Quote
  #6 (permalink)  
Old 06-21-2010, 12:37 PM
Moderator
 
Posts: 1,432
Default

Something to be aware of about full backups: if you're using ZCS 5 or lower, then by default the full backups will hardlink to files contained in earlier fulls. This makes the backups a lot faster and the marginal disk space utilization per-backup is kept down. As of ZCS 6, the default has been changed so that fulls are each zipped into a single file, without cross-backup hard links. You can change that back to the old behavior by tweaking the zimbra cron file directly. A forum search will turn up more background on this.

This thread summarizes and links the info I was able to gather about setting up a cold backup: Setting up cold backup server

A key point is that you can greatly reduce the time it takes to recover, by pre-restoring the full as soon it's copied to your backup machine. Then you just restore the subsequent redologs contained in incrementals, /opt/zimbra/redolog/archive/ and /opt/zimbra/redolog/redo.log, and this can be done very quickly using zmplayredo instead of zmrestore. Again, look at the notes & links.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #7 (permalink)  
Old 06-30-2010, 04:24 AM
Intermediate Member
 
Posts: 22
Default

Quote:
Originally Posted by ewilen View Post
A key point is that you can greatly reduce the time it takes to recover, by pre-restoring the full as soon it's copied to your backup machine. Then you just restore the subsequent redologs contained in incrementals, /opt/zimbra/redolog/archive/ and /opt/zimbra/redolog/redo.log, and this can be done very quickly using zmplayredo instead of zmrestore. Again, look at the notes & links.
As far as I understand BUG#31536 it is necessary to do a full restore if there is a new user. Is that correct?
Reply With Quote
  #8 (permalink)  
Old 07-03-2010, 02:36 AM
Moderator
 
Posts: 1,432
Default

Basically, yes. But you have to (ought to) do a full restore anyway. If users have been added since the last full backup (of everybody) then they'll be in an "ad-hoc" full performed when the the following incremental ran. So you may need to restore more than one full to get everyone.

If you never have any new users you might be tempted to just restore once from a full and then do zmplayredo from then on, but I'd rather work from a recent full. My opinion might change if that bug is fixed.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #9 (permalink)  
Old 07-04-2010, 08:14 AM
Partner (VAR/HSP)
 
Posts: 425
Default

We have found so far that restoring LDAP daily from the daily full/incr beckups is suffcient. Then zmplayredo can populate the new accounts (without full backups) with the redolog data.
Reply With Quote
  #10 (permalink)  
Old 07-09-2010, 12:55 PM
Moderator
 
Posts: 1,432
Default

Quote:
Originally Posted by iway View Post
We have found so far that restoring LDAP daily from the daily full/incr beckups is suffcient. Then zmplayredo can populate the new accounts (without full backups) with the redolog data.
Using zmrestoreldap?
__________________
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


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.