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 in the forums, please register and review our posting policy & tips. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 02-28-2007, 07:04 PM
Zimbra Employee
 
Posts: 5,606
Default Editorial: TAKE TIME TO BACKUP

This is a little editorial:

It is good admin etiquette to backup. In the open source edition, it doesn't include and automated backup process, but you CAN backup your files!

All information is most likely located in the /opt/zimbra folder. If you stop zimbra, and simply tar up the folder stick it in a different location, then you are good to go!

I cannot stress enough to our valued users, TAKE TIME TO BACKUP!!!

Let's take a failed upgrade as an example.

If you upgrade from 4.0.x to 4.5 and it fails (for any reason), it may be possible to install your 4.0.x over your failed upgrade and get it working. HOWEVER, you now *may* have tables in the db that are not active, and may cause you future upgrade headaches.

We love helping, and providing the very best support in the open source community, but it's important that you keep your info safe.

So, to sum it up: before you perform any sysadmin maintenance like upgrades, injections, or anything else, take time to backup.

You may be down a little longer, but you'll be better in the end.

Sincerely,
john

Last edited by jholder : 02-28-2007 at 07:06 PM.
Reply With Quote
  #2 (permalink)  
Old 03-01-2007, 03:22 AM
Moderator
 
Posts: 1,760
Default

Reading this Zimbra blog article is a nice idea too : http://www.zimbra.com/blog/archives/..._b_1.html#more
Reply With Quote
  #3 (permalink)  
Old 03-12-2007, 05:02 AM
Member
 
Posts: 26
Talking

duh, if you don't do backups before you do upgrades, you are probably not the right person to be doing the upgrade ... time to find a half way decent SA
Reply With Quote
  #4 (permalink)  
Old 04-14-2007, 03:44 AM
Project Contributor
 
Posts: 110
Default Backup script

For those using the OS edition, here is a simple backup script that performs very well.

It stops Zimbra, does an rsync to a backup directory, and starts zimbra again. The backup directory can then be put on your regular backup system.

Simply copy the script to /etc/cron.daily so it gets executed every night.

For systems with up to 500 users the total execution time is of a maximum of 10 minutes, what means that your system will be out of service 10 minutes a day, a reasonable price for the OS edition (IMHO).

Carlos
Reply With Quote
  #5 (permalink)  
Old 04-14-2007, 03:52 AM
Zimbra Contractor
 
Posts: 10,055
Default

Hi Carlos

Did you forget the script/attachment?
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 04-14-2007, 10:29 AM
Moderator
 
Posts: 1,760
Default

Quote:
Originally Posted by cvidal View Post
For systems with up to 500 users the total execution time is of a maximum of 10 minutes, what means that your system will be out of service 10 minutes a day, a reasonable price for the OS edition (IMHO).
As long as you have two decent servers, a decent network and the script
Reply With Quote
  #7 (permalink)  
Old 04-14-2007, 11:56 AM
Senior Member
 
Posts: 52
Default yes where is it?

where is that script?

thanx
Reply With Quote
  #8 (permalink)  
Old 04-14-2007, 11:33 PM
Zimlet Guru
 
Posts: 387
Default

Quote:
Originally Posted by jholder View Post
This is a little editorial:

It is good admin etiquette to backup. In the open source edition, it doesn't include and automated backup process, but you CAN backup your files!

All information is most likely located in the /opt/zimbra folder. If you stop zimbra, and simply tar up the folder stick it in a different location, then you are good to go!

I cannot stress enough to our valued users, TAKE TIME TO BACKUP!!!

Let's take a failed upgrade as an example.

If you upgrade from 4.0.x to 4.5 and it fails (for any reason), it may be possible to install your 4.0.x over your failed upgrade and get it working. HOWEVER, you now *may* have tables in the db that are not active, and may cause you future upgrade headaches.

We love helping, and providing the very best support in the open source community, but it's important that you keep your info safe.

So, to sum it up: before you perform any sysadmin maintenance like upgrades, injections, or anything else, take time to backup.

You may be down a little longer, but you'll be better in the end.

Sincerely,
john
This is the one area that I think the Zimbra folks have it unequivocally wrong. The difficulty in backing up Zimbra stems from the fact that this feature set was restricted to the network edition only.

I don't know of any large scale (100+) mailbox Open Source installations. I think everyone corporate is pretty much mandated to go to NE if they have a large corporate base. I really feel that long term the lack of the live and per mailbox backups is a huge issue for the open source Zimbra community. I think witholding this feature makes it less likely that there will be robust backups and more likely that there will be a catastrophic failure.

Finally LVM snapshotting is your friend.

Edit: To be fair to Zimbra folks, this is scoped more closely to upgrading. cp -r is a definite must before doing any sort of upgrade, NE or OS. I know that mailbox by mailbox backup/restore is typically a enterprise activity, but I think there needs to be more thought behind mandating a standard way to backup Zimbra OS edition. Even if it is just "always make /opt a lvm with snapshot ability. Back in my IT consulting days, I can't count the number of times that we had people who thought they had a good backup, but never tested them, or just happened to have a failed backup right before a major outage.

Last edited by JoshuaPrismon : 04-14-2007 at 11:41 PM.
Reply With Quote
  #9 (permalink)  
Old 05-22-2007, 10:29 AM
Zimbra Employee
 
Posts: 5,606
Default

Keep in mind that we are a company with bills to pay.
For example, we pay to host these forums, and pay to develop Zimbra.

We can't pay those bills if we give away everything.
Reply With Quote
  #10 (permalink)  
Old 05-22-2007, 10:42 AM
Zimlet Guru
 
Posts: 387
Default

Quote:
Originally Posted by jholder View Post
Keep in mind that we are a company with bills to pay.
For example, we pay to host these forums, and pay to develop Zimbra.

We can't pay those bills if we give away everything.
No one is asking you too. I just suspect that product support in general, clustering, etc might be areas that really have a lot of value to paying customers, while the lack of coherent backups may turn out to be a huge detriment to the open source platform.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup best practice Eyfi Administrators 2 06-29-2007 07:52 AM
Off-site backup jbareMACS Administrators 3 05-20-2007 10:32 AM
Time mess everything up Peque Zimbra Connector for Outlook 4 05-10-2007 02:31 AM
DDT backup strategies for 4.5 NE su_A_ve Administrators 2 04-10-2007 10:57 AM
NE Backup best practises Klug Administrators 3 05-29-2006 08:32 AM

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com

sourceforge.net



 

Search Engine Optimization by vBSEO 3.1.0