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 02-28-2007, 08:04 PM
Former Zimbran
 
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 08:06 PM..
Reply With Quote
  #2 (permalink)  
Old 03-01-2007, 04:22 AM
Moderator
 
Posts: 2,207
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, 06:02 AM
Active 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, 04:44 AM
Project Contributor
 
Posts: 136
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, 04:52 AM
Zimbra Consultant & Moderator
 
Posts: 19,633
Default

Hi Carlos

Did you forget the script/attachment?
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 04-14-2007, 11:29 AM
Moderator
 
Posts: 2,207
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, 12:56 PM
Senior Member
 
Posts: 52
Default yes where is it?

where is that script?

thanx
Reply With Quote
  #8 (permalink)  
Old 04-15-2007, 12:33 AM
Zimlet Guru & Moderator
 
Posts: 467
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-15-2007 at 12:41 AM..
Reply With Quote
  #9 (permalink)  
Old 05-22-2007, 11:29 AM
Former Zimbran
 
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, 11:42 AM
Zimlet Guru & Moderator
 
Posts: 467
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 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.