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 07-05-2010, 03:52 AM
Senior Member
 
Posts: 63
Default Zimbra backup procedure

Hi,

Is it possible just to copy and paste the zcs folder in /opt/zimbra to an attached external drive. What I mean is, our zimbra server has the ubuntu-desktop installed. After performing "zmcontrol stop" could we just do the mouse clicks instead of running the script described in here
Open Source Edition Backup Procedure - Zimbra :: Wiki.

I'm very new to Linux and my only encounter with it is when I install ZCS.

Were running ZCS 6.04 open source in Ubuntu 8.04 guest in vmware server 2.0
Thanks.
Reply With Quote
  #2 (permalink)  
Old 07-05-2010, 02:33 PM
Advanced Member
 
Posts: 192
Default

As long as you have a copy of the complete /opt/zimbra folder, you have a complete backup of your data. You may want to consider diving a bit deeper into Linux though... e.g. setting up a cronjob will save you a lot of time compared to repeatedly dragging&dropping a folder manually...
Reply With Quote
  #3 (permalink)  
Old 07-06-2010, 06:20 AM
Loyal Member
 
Posts: 87
Default

In order to do that, you may have to enable the root account and log in as root. If I remember correctly there is a backup application on Ubuntu desktop, you can use that too, just make sure it runs as root, else it won't be able to copy some files due to permissions.
Reply With Quote
  #4 (permalink)  
Old 07-06-2010, 07:46 PM
Senior Member
 
Posts: 63
Default

Ok, maybe I could do a script to shutdown zimbra then copy /opt/zimbra to an external hdd.

Does NTFS partition does not support symlink from ext3? I've encoutered this error while copying /opt/zimbra to a NTFS formatted external drive. Maybe I should format the external drive to ext3. Is that correct?

Thanks for your info
Reply With Quote
  #5 (permalink)  
Old 07-06-2010, 07:57 PM
Senior Member
 
Posts: 63
Default

Quote:
Originally Posted by Hivos View Post
As long as you have a copy of the complete /opt/zimbra folder, you have a complete backup of your data. You may want to consider diving a bit deeper into Linux though... e.g. setting up a cronjob will save you a lot of time compared to repeatedly dragging&dropping a folder manually...
Is that cron job a script that I could write on any text editor in Linux then allow the file to execute as a program by chmod or I should download a program to run the script?
Reply With Quote
  #6 (permalink)  
Old 07-09-2010, 12:25 PM
Moderator
 
Posts: 1,432
Default

Don't use NTFS as it will not support hard links. Symlinks may also be an issue, not sure.

Best method of doing the copy will probably be rsync, since it will only copy the delta (changes) instead of having to recopy everything. There are also utilities (some based on rsync) that will save individual deltas so that you can restore to a specific backup.

However, if you have the luxury of being able to shut down Zimbra and only needing to restore the entire server to a periodic snapshot, then lvm and/or virtualization would be worth your while to investigate. In fact I've seen suggestions on the forums that there are ways of using lvm and virtualization that don't even require shutting down the services, but I haven't personally had time to investigate. See Zimbra OSE backup without stopping the services and Hot Backup Community Edition w/ DRBD.

EDIT: Also worth considering, VMWare Fault Tolerance, as mentioned here. But it's not free.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.

Last edited by ewilen; 07-09-2010 at 12:36 PM..
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.