Results 1 to 4 of 4

Thread: [SOLVED] Redologs

  1. #1
    Join Date
    Jun 2007
    Location
    Quito, Ecuador
    Posts
    258
    Rep Power
    8

    Default [SOLVED] Redologs

    Hi guys i got a question, does redologs rotate? or you should rotate them manually, if this is so, how can you do that, i remember once i rotate all redologs from the folder archive and my zimbra died, any idea?

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

    Default

    NE has:
    zimbraRedoLogArchiveDir: redolog/archive
    zimbraRedoLogDeleteOnRollover: FALSE
    zimbraRedoLogEnabled: TRUE
    zimbraRedoLogFsyncIntervalMS: 10
    zimbraRedoLogLogPath: redolog/redo.log
    zimbraRedoLogRolloverFileSizeKB: 102400
    The archive folder is then cleaned out during the incremental backup process.

    If you don't run incremental backups the archive folder will never get cleaned out. As if you don't run those you're also willing to give up point-in-time restore functionality (restoreToTime/restoreToIncrLabel/restoreToRedoSeq) in that case you don't need to keep the redologs around at all. You just need the current redo.log file for crash recovery purposes. Thus the config setting for this type of operation: zmprov mcf zimbraRedoLogDeleteOnRollover TRUE

    On FOSS you can set zimbraRedoLogDeleteOnRollover FALSE (TRUE by default) but you must remember to purge /opt/zimbra/redolog/archive/ frequently least you run out of disk space on accident.

    Edumacation:

    Full Backup Process-
    1. Backs up the LDAP directory.
    2. Backs up the global system data including system tables and the local config.xml file.
    3. Iterates through each account to be backed up and backs up the LDAP entries for those accounts.
    4. Places the account’s mailbox in maintenance mode to temporarily block mail delivery and user access to that mailbox.
    5. Backs up the mailbox.
    a. Creates MySQL dump for all entries related to that mailbox.
    b. Creates a backup of the index directory for that mailbox.
    c. Backs up the message directory for that mailbox.
    4. Returns that account’s mailbox to active mode and moves on to the next one.
    (So you now have the message store, the database, the indexes, and the LDAP directory all backed up.)

    Incremental Backup Process-
    1. Backs up the LDAP directory.
    2. Backs up the global system data including system tables and the local config xml.
    3. Iterates through each account to be backed up and backs up the LDAP entries for those accounts.
    4. Looks in the backup target directory to find the latest full backup for the account.
    5. Moves the archive redo logs, created since the last backup, to the <backup target>/redologs directory.

  3. #3
    Join Date
    Jun 2007
    Location
    Quito, Ecuador
    Posts
    258
    Rep Power
    8

    Default

    Thanks a lot Mike it is clear for me, i'm gonna change this attribute on my zimbra and tell you how it goes, in my case i just do a full backup that's why i got to many space used by redologs, thanks again,

  4. #4
    Join Date
    Jun 2006
    Location
    Indianapolis, IN
    Posts
    51
    Rep Power
    9

    Default

    Alright! So nice to find the magic thread that addresses my issue. We nuked the incremental schedule some time ago (for a reason I can't recall) and only have a full and delete job scheduled. Sheesh...glad to have found this answer.

Similar Threads

  1. Incremental Backup Frequency
    By cjstone in forum Administrators
    Replies: 7
    Last Post: 09-17-2008, 10:44 AM
  2. Restoring Previous (antique) Redologs
    By psicopat in forum Administrators
    Replies: 0
    Last Post: 02-06-2008, 12:06 AM
  3. Disable NE redologs for migration?
    By Rich Graves in forum Migration
    Replies: 1
    Last Post: 04-10-2007, 11:04 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
  •