Results 1 to 4 of 4

Thread: Upgrade & Backups

  1. #1
    swu
    swu is offline Special Member
    Join Date
    Apr 2007
    Location
    Ann Arbor, MI
    Posts
    108
    Rep Power
    8

    Smile Upgrade & Backups

    I'm planning to upgrade to 5.08 in the next few days. I plan on backing up the /opt/zimbra dir prior to the upgrade using the CLI that was suggested by the Zimbra folks in another post:

    rsync -avHK /opt/zimbra/ /backup/zimbra

    When I've used this before the rsync takes a *very long* time to backup the aprox 35GB that is in /opt/zimbra. On the order of 7-8 hours (RAID 1 w/SATA drives). It spends the most time moving all the inc and full backups.

    Is there a faster way to grab the whole zimbra directory? Is the "best practice" to leave the backups in /opt/zimbra, or do folks redirect it to a dir outside of /opt/zimbra?

    Of course I want to play it safe, but when I have to allot 8-9 hours to upgrade Zimbra, that makes it a long eve.

    Any advice would be greatly appreciated. Thx!

  2. #2
    alexkelly is offline Trained Alumni
    Join Date
    Oct 2007
    Location
    Columbus, OH
    Posts
    70
    Rep Power
    7

    Default

    The good thing about rsync is that it will diff files. So you can do an initial rsync when you have the time, and even do subsequent rsyncs before your final rsync. Every one after the first one will just do the changes since the last one. In my experience, rsync is the fastest method of copying files.

    As for the backup locations, I would personally recommend moving them to a filesystem unto themselves. If a backup fills the filesystem that your mail server is running from, your mail system dies. If it fills up a filesystem that only back-ups are on, then your backup fails but mail is still being handled and users never see anything.

  3. #3
    swu
    swu is offline Special Member
    Join Date
    Apr 2007
    Location
    Ann Arbor, MI
    Posts
    108
    Rep Power
    8

    Smile

    Thanks for the feedback. I have a "box stock" zimbra install and have been contemplating the backup location. Since backing up /opt/zimbra means copying the /backup dir, that will be unneeded if the backup location resides elsewhere - and will speed up the upgrade process greatly.

    I'll stick with rsync and move the backup dir. Thanks again!

  4. #4
    Dirk's Avatar
    Dirk is offline Moderator
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    Move the backup folder out of the way and then take a copy of /opt/zimbra whatever way you are comfortable with.

    If the upgrade succeeds, then the backups will be useless and the installer will make a new /opt/zimbra/backup directory, and if the upgrade fails, you can return to your copied set without needing the backups anyway.

    There's nothing to be gained by copying them at this stage.

    Additionally, you should seriously consider storing the backups somewhere other than inside the Zimbra directory, as this cautionary tale will illustrate: The Most Important Post Ever » Zimbra :: Blog

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. upgrade from 5.04 to 5.0.8 - backups disapear
    By jproig in forum Administrators
    Replies: 0
    Last Post: 07-25-2008, 07:05 AM
  2. backups after upgrade
    By ay4you in forum Administrators
    Replies: 3
    Last Post: 04-01-2008, 08:15 AM
  3. Replies: 2
    Last Post: 10-04-2007, 03:20 PM
  4. upgrade 3.01>4.0.2@userlimit= backups "unknown document: BackupRequest"
    By martin@coherentlogix.com in forum Installation
    Replies: 6
    Last Post: 10-04-2006, 08:41 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
  •