Results 1 to 3 of 3

Thread: Backup best practice

  1. #1
    Eyfi is offline Member
    Join Date
    Apr 2007
    Posts
    12
    Rep Power
    8

    Default Backup best practice

    I've been searching the forums for a good best practice backup schedule for Zimbra.

    I have not found any complete solution but bits and peaces here and there and this is what I would like to do.

    1. Each day stop the Zimbra service and do a rsync of the Zimbra configuration (All except for /opt/zimbra/store and /opt/zimbra/backup) to another folder locally on the server. Then start Zimbra and move the backup folder to another server or use BackupPC to backup this folder once a day.

    2. Use Zimbra backup to to a nightly backup. Full backup once a week on Saturday and incremental backups on workdays. Store backups locally on the server for 1 month.

    3. Each night do a rsync backup of the /opt/zimbra/backup to another server for redundancy.

    Here I'm a little bit stuck and need your suggestions:

    4. I would like each month to move last full backup to offsite storage and store monthly backups for at least 6 months - 1 year there.

    Pls. comment how this can be done in an effective way.

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    A Search the forums would bring up a ColdBackup Script:
    SourceForge.net ZCS Tools: Files

    Also:
    Editorial: TAKE TIME TO BACKUP
    Full Server Backup and Restore of “open source version”
    Open Source Edition Backup Procedure - ZimbraWiki

    -Some have played with hotbackups-or just become an NE user...
    Last edited by mmorse; 06-28-2007 at 09:56 AM.

  3. #3
    Eyfi is offline Member
    Join Date
    Apr 2007
    Posts
    12
    Rep Power
    8

    Default

    Thanks mmorse for your reply.

    After reading your links here how I see what I can do:

    Mount 3 volumes to the Zimbra server

    Volume 1: /opt/zimbra/backup
    Volume 2: /backup/monthly
    Volume 3: /backup/weekly

    Then this is what I'll do:

    1. Use zmschedulebackup to create this schedule:

    f 0 1 * * 6
    i 0 1 * * 0-5
    d 1m 0 0 * * *

    Now I have 1 month of daily backups on the server

    2. Edit crontab and add following lines:

    #keep 2 months of weekly backups
    0 1 * * 7 /opt/zimbra/bin/zmbackup -f -a all -t /backup/weekly
    0 1 * * * /opt/zimbra/bin/zmbackup -del 2m -t /backup/weekly

    #Keep 6 months of monthly backups (first day of each month)
    0 5 1 * * /opt/zimbra/bin/zmbackup -f -a all -t /backup/monthly
    0 2 * * * /opt/zimbra/bin/zmbackup -del 6m -t /backup/monthly

    3. Each night run a offline backup of /opt/zimbra and do rsync to /backup/zimbra.

    4. Backup the 3 volumes + /backup/zimbra and /etc folders each night to our BackupPC server or do a rsync of those volumes to another server.

    Now I have 1 month of daily backups 2 months of weekly backups and 6months of full backups.

    If you have a simpler way of doing this I would really appreciate your comments.

    Am I forgetting anything? Would you say that this covers the total backup of the system to recover from a total system crash or any day to day problems? LDAP and MySQL is included in the full and incr. backups right ?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Backup Drive Filling up!
    By Ericx in forum Administrators
    Replies: 1
    Last Post: 10-17-2008, 12:37 AM
  2. Off-site backup
    By jbareMACS in forum Administrators
    Replies: 3
    Last Post: 05-20-2007, 10:32 AM
  3. zmschedulebackup and Alternate Backup Location
    By LMStone in forum Administrators
    Replies: 16
    Last Post: 05-11-2007, 01:38 PM
  4. DDT backup strategies for 4.5 NE
    By su_A_ve in forum Administrators
    Replies: 2
    Last Post: 04-10-2007, 10:57 AM
  5. NE Backup best practises
    By Klug in forum Administrators
    Replies: 3
    Last Post: 05-29-2006, 08:32 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
  •