Results 1 to 5 of 5

Thread: Back up question

  1. #1
    drsyn is offline Member
    Join Date
    Apr 2008
    Posts
    11
    Rep Power
    7

    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

  2. #2
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default

    What OS are you running on? If unix, do you know your unix
    command line at all?

  3. #3
    drsyn is offline Member
    Join Date
    Apr 2008
    Posts
    11
    Rep Power
    7

    Default

    I am running the server on Mac OS X 10.4.11

  4. #4
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    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...

  5. #5
    jpbuse is offline Loyal Member
    Join Date
    Jan 2008
    Location
    San Diego, CA
    Posts
    88
    Rep Power
    7

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. loops back to myself
    By cubitus91 in forum Installation
    Replies: 16
    Last Post: 05-12-2008, 12:49 PM
  2. Question about NE and Backups.
    By dougconley in forum Administrators
    Replies: 2
    Last Post: 12-18-2007, 12:56 AM
  3. [SOLVED] Back button!
    By amertner in forum Users
    Replies: 3
    Last Post: 09-12-2007, 10:09 AM
  4. Question about host names
    By OverZealous in forum Installation
    Replies: 7
    Last Post: 06-10-2007, 01:47 PM
  5. Multiple Domains Question
    By kristiaan_d in forum Administrators
    Replies: 2
    Last Post: 03-14-2007, 04:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •