Results 1 to 5 of 5

Thread: Backups

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Location
    Massachusetts
    Posts
    136
    Rep Power
    8

    Default Backups

    So I've looked at the admin guide, and perused the forums, and this information seems to be lacking...

    How do I get backups to tape so that when my entire office melts down life will still go on?

    Currently I send /opt/zimbra/backup to tape. Is this what I need? Anything else?

    Thank you,
    Nutz

  2. #2
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    Default

    please provide more info on what Zimbra version you are using OSS or Network..

    if you have OSS version follow the following link and backup the DATA either on network or on your TAPE.
    Open Source Edition Backup Procedure - Zimbra :: Wiki

    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  3. #3
    Join Date
    Feb 2007
    Location
    Massachusetts
    Posts
    136
    Rep Power
    8

    Default

    Not oss

    Network edition, 175 users, about 600 gigs of data, 1 server...

  4. #4
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Quote Originally Posted by Nutz View Post
    How do I get backups to tape so that when my entire office melts down life will still go on?

    Currently I send /opt/zimbra/backup to tape. Is this what I need? Anything else?
    Short version: Good, all you really need to do is backup the contents of /opt/zimbra/backup

    Long version:
    But now that we know your NE Don't forget to update your profile

    NE restore methods are on this page, your probably interested in the bottom sections: /docs/ne/latest/administration_guide/10_Backup_Restore.13.1.html
    I also always store the installer for the version that I'm on with it my backups as well.
    You should always have a full, as incremental without are kind of useless.

    Simply, move/copy/rsync the backups to your tape drive.

    Alternatively you could change your backup path to go directly to tape:

    You can change the backup target for one backup by using zmbackup -t
    CLI - zmbackup Network Edition Only - Zimbra :: Wiki

    Set it more permanently through the admin console gui > global settings> backup tab
    As of 4.5.6 you can easily set:
    zimbraBackupTarget
    zimbraBackupReportEmailSubjectPrefix
    zimbraBackupReportEmailSender
    zimbraBackupReportEmailRecipients

    OR zmprov mcf zimbraBackupTarget /location
    (check current with zmprov gacf | grep zimbraBackupTarget)

    * Do be aware of the now fixed Bug 21753 - ldap backup not kept with rest of backup
    Which is why most still create a symlink /opt/zimbra/backup> /mnt/backup symlink anyways even after changing the default backup target. Plus, this was the old method anyway.

    Of course you need to be able to write to that location in the first place Bug 13198 - Proper error message should show when backup target directory does not have proper rights to take backup

    And that's all I can think of that needs extrapolating on - of course keep asking if you need it
    Last edited by mmorse; 12-14-2007 at 02:27 PM.

  5. #5
    Join Date
    Feb 2007
    Location
    Massachusetts
    Posts
    136
    Rep Power
    8

    Default

    So I've had some problems with this:

    1) Backing up via Galaxy Express takes 24 + hours, an 1.7 TB of tape (for a 380 gig /opt/zimbra/backup/ directory)

    2) Tried just tar-ing up the backup directory using (on gig-e):

    /bin/tar -cf - /opt/zimbra/backup | ssh root@host.domain.com dd of=~/mailbackups/`date "+%Y-%m-%d"`_backups.tar

    tar went quickly at first, then slowed way down and has been running for 2 days now, slowly growing at less than 1 meg a min. I assume due to all the small files? Or maybe the backup directory is regularly written to? Redo logs?

    3) Currently trying this:
    /sbin/dump -0uan -f - /opt | ssh root@host.domain.com dd of=~/mailbackups/`date "+%Y-%m-%d"`.dump
    (almost 1% done after an hour)

    AND:
    scp /opt/zimbra/backups root@host:~/mailbackups

    Any other ideas would be very helpful...

Similar Threads

  1. cron pruning of backups
    By ThorGoLucky in forum Administrators
    Replies: 10
    Last Post: 11-13-2009, 01:20 AM
  2. Question about NE and Backups.
    By dougconley in forum Administrators
    Replies: 2
    Last Post: 12-17-2007, 11:56 PM
  3. Backups - Please review what I am doing
    By sternfan in forum Administrators
    Replies: 1
    Last Post: 12-13-2007, 03:36 PM
  4. Backups fail after workaround for bug 10827
    By warbirdcharles in forum Administrators
    Replies: 1
    Last Post: 07-17-2007, 12:07 PM
  5. How To Vet If Backups Are Working?
    By LMStone in forum Administrators
    Replies: 2
    Last Post: 03-19-2007, 06: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
  •