Results 1 to 2 of 2

Thread: rsync backup error incremental incomplete

  1. #1
    Join Date
    Jun 2012
    Rep Power

    Default rsync backup error incremental incomplete

    Hi everyone, I have just followed the next processes to do the backup of my ZCS open source with rsync but when I restore the backup, It is incomplete.

    1) I have the next accounts in my zimbra installation

    2) I stop my zimbra service

    zmcontrol stop

    3) I do the full backup with rsync in the local server

    rsync -avHK --delete /opt/zimbra /dirx/zimbra.back/

    4) I start zimbra

    zmcontrol start

    5) I create a new account

    zmprov ca hello123
    zmprov ca hello123

    6) I stop Zimbra service

    zmcontrol stop

    7) I do an incremental backup with rsync

    rsync -avHK --delete /opt/zimbra /dirx/zimbra.back/ ( this backup is faster more than the first backupp because this is incremental )

    8) Now a I want to test my backup and delete the /opt/zimbra directory

    rm -rf /opt/zimbra

    9) I restore my backup

    rsync -avHK /dirx/zimbra.back/zimbra /opt/

    10) I restore permissions

    chown -R zimbra.zimbra /opt/zimbra

    11) I start the zimbra service

    zmcontrol start

    12) I want to see my accounts to check if my last accounts created still are

    zmprov -l gaa

    But: In this point only the next accounts are showed

    There are not the u4 and u5 accounts previously created.

    Somebody can help me with this problem, thanks.

  2. #2
    Join Date
    Jun 2008
    Berkeley, CA
    Rep Power


    When I do an rsync of Zimbra I usually use the options -avH --delete and I don't use -K.

    I don't see why this should matter in your case, but perhaps it's worth a try.

Similar Threads

  1. rsync backup error incremental incomplete
    By xunilarr in forum Administrators
    Replies: 0
    Last Post: 06-27-2012, 10:47 AM
  2. Backup zimbra server with rsync
    By Bullz3y3 in forum Administrators
    Replies: 6
    Last Post: 04-26-2012, 02:41 AM
  3. ZCS-NE : rsync /opt/zimbra/backup
    By breverend in forum Administrators
    Replies: 13
    Last Post: 10-04-2011, 03:38 PM
  4. Replies: 2
    Last Post: 09-22-2011, 01:44 AM
  5. Replies: 0
    Last Post: 04-14-2010, 04:15 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