Results 1 to 5 of 5

Thread: Backing up OS Ed using rsync - To backup message store or not?

  1. #1
    blueflametuna is offline Senior Member
    Join Date
    Jan 2010
    Location
    Idaho
    Posts
    60
    Rep Power
    5

    Default Backing up OS Ed using rsync - To backup message store or not?

    Is there a way to backup Zimbra without the message store, database & index?

    I am looking for a recovery procedure to restore software and configuration but without having to remotely copy 25 GB of messages daily (or weekly).

    Does anyone have any comments or suggestions, or can direct me to a thread where this has already been discussed at length?

    I found the scripts at Open_Source_Edition_Backup_Procedure

    and I have tested it locally. Took almost two hours on the first pass.

    /opt/zimbra doesn't seem to be everything, though.
    There are a few subtle tweaks like /etc/passwd entries for zimbra, postfix,
    and /etc/alternatives ...
    Who knows where else the installation puts things?

    There are a bunch of post installation adjustments that have been made,
    like spam, a/v, SPF, etc. I still have to address all of those.

    But I just need to know that if I exclude /store, /db, /index, /logger and friends that it would still be possible to recover the running config.
    Is there a minimum subset that I must keep? Database format files?

    (Yes, I know, everyone would lose their saved messages.)

  2. #2
    Krishopper is offline Dedicated Member
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    If you're using the rsync method, the first backup will take the longest while it copies everything over. Subsequent backups will be much quicker, and only need to copy changes (new messages, deletions, changed database files, etc.).

    You shouldn't have to worry about /etc/passwd and the other files outside of /opt/zimbra. If you are to recover, you will do a fresh install which will put all of that stuff in place, then restore over that install with your restore of the backup, and run the installer again, and you'll have everything.
    01 Networks, LLC / Cybernetik.net
    Zimbra NE and OSS Cloud Hosting
    Shared Web Hosting
    Consulting Services

  3. #3
    blueflametuna is offline Senior Member
    Join Date
    Jan 2010
    Location
    Idaho
    Posts
    60
    Rep Power
    5

    Default

    The script is using the --backup-dir method, which suggests a form of incremental backup. If I take that out, and just use the --delete option,
    then I just maintain one current copy, correct?

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    Default

    Quote Originally Posted by blueflametuna View Post
    .....then I just maintain one current copy, correct?
    That's not good practice for taking a backup of any sort.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    blueflametuna is offline Senior Member
    Join Date
    Jan 2010
    Location
    Idaho
    Posts
    60
    Rep Power
    5

    Default

    It is better than making no backups at all.
    There is no need for keeping archival history from months ago.
    Or recovering individual files from last week.
    I just need a copy of the current working system.

    If after running a full rsync, each subsequent rsync should be just the delta.
    But I want it in place, rather than as a separate directory. A current copy.

    The intent is to make a local copy, then rsync the copy to an offsite machine.
    My last question was whether the --backup-dir method is making separate directories with just incremental changes that would need to be applied to the main backup directory. Each day would add another directory, and each would need to be reapplied in sequence. Even if I ran another full copy weekly, that is still a lot of recovery work.

    Sounds like no matter how a backup is made, doing a bare metal recovery is non-trivial. OS, network, install s/w, restore backup, re-install, add third-party hacks, ... It's still hours if you know what to do. Days if not.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] rsync permision denied
    By get2guy in forum Administrators
    Replies: 4
    Last Post: 10-22-2010, 12:32 AM
  2. Emails bouncing with "Error Text: 401,'null'"
    By sholden in forum Zimbra Connector for Outlook
    Replies: 27
    Last Post: 08-20-2008, 04:59 PM
  3. Using a message store backup from another server
    By entorno in forum Administrators
    Replies: 1
    Last Post: 02-22-2008, 08:42 AM
  4. Sizing of Mysql vs Message store
    By hillman in forum Administrators
    Replies: 8
    Last Post: 11-12-2007, 12:10 PM
  5. copying only last full backup to store offsite
    By riccadus in forum Administrators
    Replies: 0
    Last Post: 01-11-2007, 01:29 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
  •