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 11-11-2009, 04:40 AM
Banned
 
Posts: 26
Default Backup Question

Is it possible to backup the mail server without shuting down the zimbra services and therefore lose mail capability?
Reply With Quote
  #2 (permalink)  
Old 11-11-2009, 04:51 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by ruben.rodrigues View Post
Is it possible to backup the mail server without shuting down the zimbra services and therefore lose mail capability?
That depends on which version you're using, if it's NE you don't need to shutdown Zimbra and if it's the OSS version then you do need to shutdown Zimbra. This has been asked before in the forums and there are backup scripts in the wiki & forums.

Please update your forum profile with the output of the following (do not post it in this forum):

Code:
zmcontrol -v
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-11-2009, 04:58 AM
Banned
 
Posts: 26
Default

Quote:
Originally Posted by phoenix View Post
That depends on which version you're using, if it's NE you don't need to shutdown Zimbra and if it's the OSS version then you do need to shutdown Zimbra. This has been asked before in the forums and there are backup scripts in the wiki & forums.

Please update your forum profile with the output of the following (do not post it in this forum):

Code:
zmcontrol -v
I already have the backup script running and I got it here -> Open Source Edition Backup Procedure - Zimbra :: Wiki

But all of those require zimbra shutdown. I am using Zimbra Collaboration Suite 6.0 and when I run the backup script bye bye server....can't get/send mails
Reply With Quote
  #4 (permalink)  
Old 11-11-2009, 05:19 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by ruben.rodrigues View Post
But all of those require zimbra shutdown. I am using Zimbra Collaboration Suite 6.0 and when I run the backup script bye bye server....can't get/send mails
That's a fact of life with the Open Source version of Zimbra, if you want to keep Zimbra up and running then you could always purchase the Network Edition.

Please update your forum profile with the information I've asked you for.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-11-2009, 12:50 PM
Moderator
 
Posts: 1,147
Default

Are you saying that your backup script that you are using shuts down Zimbra... and then doesn't start it up again? That would be an issue you should fix in the script if so...

However if it is only shutting down Zimbra during the backup then that is the way you have to do it on the FOSS version. The best way to minimize downtime is to use the LVM method, but that still has the same downtime as "zmcontrol stop; zmcontrol start"...
Reply With Quote
  #6 (permalink)  
Old 11-12-2009, 01:53 AM
Banned
 
Posts: 26
Default

Quote:
Originally Posted by ArcaneMagus View Post
Are you saying that your backup script that you are using shuts down Zimbra... and then doesn't start it up again? That would be an issue you should fix in the script if so...

However if it is only shutting down Zimbra during the backup then that is the way you have to do it on the FOSS version. The best way to minimize downtime is to use the LVM method, but that still has the same downtime as "zmcontrol stop; zmcontrol start"...
No, I didn't say that it doesn't start....but during the backup I have no email server...and we need it 24 hours per day..
Reply With Quote
  #7 (permalink)  
Old 11-12-2009, 02:20 AM
Banned
 
Posts: 26
Default

Another question..What happens if I backup my server without stopping it with some simple software like tar? Does it make any difference when I restore?
Reply With Quote
  #8 (permalink)  
Old 11-12-2009, 03:19 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by ruben.rodrigues View Post
Another question..What happens if I backup my server without stopping it with some simple software like tar? Does it make any difference when I restore?
To ensure any backup of an Open Source Zimbra server is in a consistent state you must stop the server at some point whatever method you use for backing up, if you don't do that you will encounter problems at some time during a restore.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 11-12-2009, 10:22 AM
Moderator
 
Posts: 1,147
Default

If you need 24/7 availability then you need to go to the Network Edition.

As I said the fastest backup you can get with the open source edition is if you installed Zimbra on an LVM partition in which case you can get your backups down to the same time it takes to run this:
Code:
zmcontrol stop; zmcontrol start
But that is the smallest downtime you can get for the open source edition.

One option you might look into is setting up Zimbra on a DRDB or similar setup, but this is quite complex to setup. There are a few threads in the forum about it.
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.