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 05-28-2008, 09:11 AM
Member
 
Posts: 11
Default Back up question

During the weekly "full" backup, run through I assume a cron job, include backing up the ldap directory, database, index directory etc. or does this need to be done via the CLI? How about a full restore?

thanks
Reply With Quote
  #2 (permalink)  
Old 05-28-2008, 11:10 AM
Active Member
 
Posts: 40
Default

What OS are you running on? If unix, do you know your unix
command line at all?
Reply With Quote
  #3 (permalink)  
Old 05-28-2008, 11:12 AM
Member
 
Posts: 11
Default

I am running the server on Mac OS X 10.4.11
Reply With Quote
  #4 (permalink)  
Old 05-28-2008, 12:54 PM
Active Member
 
Posts: 40
Default

You can use rsync, I believe. I have not used any other
backup scheme, available with zimbra or not, so take it
for what's it's worth!

Anyway,

Create a shell script to do something like the following,
then put it into cron to run in the wee hours of the morning:

/sbin/service zimbra stop
sleep 10
/usr/bin/rsync -avz /opt/zimbra username@someotherserver:/backups/zimbra
/sbin/service zimbra start


You create a user account on a remote server and then use openssl
to generate a key (er, long story there, google openssl), or you can
even use rsync to just put a copy of zimbra onto a local volume, like this:

/usr/sbin/rsync -avz /opt/zimbra /backups

This creates a complete copy daily, and it can be fully restored should
things go belly up without issue.

AFAIK, zimbra keeps everything, and I mean everything, you need
in the /opt/zimbra directory (pretty much, except for OS-specific stuff
like startup and shutdown scripts, but you can add that to the script
above).

Zimbra admins - please correct me if I'm wrong about this...
Reply With Quote
  #5 (permalink)  
Old 05-28-2008, 04:18 PM
Loyal Member
 
Posts: 88
Default Backup

Check out this thread. There are some scripts examples all using rsync.

Simple backup script for OSE version

Also, Bombich has a good tutorial for setting up the SSH keys at Bombich.com: Remote Backup of Mac OS X Using rsync Look at the "Create authentication keys" part and follow the instructions.

To generate the ssh key on the zimbra box, run something like `ssh-keygen -t dsa -C "my comment"`

Last edited by jpbuse; 05-28-2008 at 04:21 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.