Results 1 to 5 of 5

Thread: understanding backups

  1. #1
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    6

    Default understanding backups

    I just took over a Zimbra 5.0.10_GA_2639.RHEL4_20081003014818 installation and I'm trying to understand the backups that are taking place. There is a nightly cron job backupZimbra.pl that runs and seems to backup the entire zimbra installation (for us /opt/zimbra/) to $backup_dir defined in said program. Some mechanism is also backing up accounts.xml and a sessions directory to the same location. I don't understand where this latter backup is originating and what the sessions directory contains that wouldn't be backed up by backupZimbra.pl.

    I appreciate any help.

    Thanks,
    Brandon

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    Well, if it is a home brew script then we would need to know what was actually in those two xml files. If the whole of /opt/zimbra is being backed up then who knows

  3. #3
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    6

    Default

    The script that is backing up /opt/zimbra, backupZimbra.pl, contains

    # This script can be used to backup Zimbra Collaboration Suite 4.0.0 GA #
    # #
    # Most recent version of this script can be downloaded from: #
    # SourceForge.net: ZCS Tools #
    # #
    # Copyright (C) 2006 Chintan Zaveri #
    # E-mail: smile\@sis.net.in #

    so I thought it might be something commonly used. What it does is shut email services (/etc/init.d/zimbra stop) which seems crazy to have to do this and then it rsyncs /opt/zimbra to another location.

    accounts.xml that is created in ZCS-backup contains entries like

    <account zimbraId="8aea7572-0468-4070-981c-0be46300498d" email="brandon@geronimoalloys.com" latestFullBackupLabel="full-20090203.060005.994">

    and the sessions/full-20090203.060005.994 contains the following

    accounts/ ldap/ session.xml shared_blobs/ sys/

    I was assuming this might be a standard backup procedure writing to ZCS-backup.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by bwm71 View Post
    What it does is shut email services (/etc/init.d/zimbra stop) which seems crazy to have to do this and then it rsyncs /opt/zimbra to another location.
    The backup script will have to shutdown Zimbra during the back otherwise the database and mail files may not be in a consistent state in your backed-up files.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    6

    Default

    Right, I understand the need to shutdown to make sure the database is sane. I'm trying to figure out what is creating the files mentioned in the ZCS-backup directory.

    I understand what backupZimbra.pl is doing.

Similar Threads

  1. Of backups and restoration
    By lcxe in forum Administrators
    Replies: 10
    Last Post: 11-20-2008, 09:13 AM
  2. multiserver backups question
    By Vladimir in forum Administrators
    Replies: 0
    Last Post: 10-14-2008, 12:37 PM
  3. Automatically delete backups
    By dannylandulf in forum Administrators
    Replies: 6
    Last Post: 03-11-2008, 09:12 AM
  4. Question about NE and Backups.
    By dougconley in forum Administrators
    Replies: 2
    Last Post: 12-17-2007, 11:56 PM
  5. Network Edition backups out of control
    By dameron in forum Administrators
    Replies: 1
    Last Post: 08-29-2007, 02:38 PM

Posting Permissions

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