Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: ZCS-NE : rsync /opt/zimbra/backup

  1. #11
    breverend is offline Intermediate Member
    Join Date
    Jun 2009
    Posts
    22
    Rep Power
    6

    Default

    Anyone got any idea ?

  2. #12
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    Since you're using -v in your rsync I believe you can tell, in the output, whenever a hardlink is identified. This might help you investigate further--just look at the corresponding files on the source and copy, and determine if they're hardlinked on the copy same as the source. (ls -i is helpful here.)

    But...hang on there. That du output you just posted is from your source machine. This is no longer a question of how rsync works, but just "why are the backups taking up so much space on zimbra?" The answer there is, unless you've modified your zimbra crontab to use the --noZip option when doing backups, you don't get any hardlinking across different full backups.

    Just do a search on nozip. This thread's probably the main place to look: 6.0.2 Huge increase in disk usage?

  3. #13
    dmcentire is offline Intermediate Member
    Join Date
    Jun 2007
    Location
    Burlingame CA
    Posts
    21
    Rep Power
    8

    Default My two cents on this

    Just in case this helps someone, I discovered the "hard way" that the rsync backup method didn't work in my case. The rsync doesn't copy all the files (I think maybe some are busy, not sure) and the backup system, although rsynced daily, did not start or function properly when our primary ZCS hardware failed.

    I discovered that there are scripts that do an rsync, stop the ZCS server, do another rsync (to get those busy/in-use files) and then start up the server again.

    This backup method seems to work very well. I am not talking about backing up the /opt/zimbra/backup/ directory, I am talking about the entire /opt/zimbra/ directory to a standby server.

    If you do use this method, BE SURE TO TEST the functionality of your spare server to ensure all is good. That's where I slipped up.

    Dennis

  4. #14
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    Quote Originally Posted by dmcentire View Post
    I am not talking about backing up the /opt/zimbra/backup/ directory, I am talking about the entire /opt/zimbra/ directory to a standby server.
    It's been mentioned many times on the forum (and probably elsewhere) that backing up /opt/zimbra live to a standby server won't work. But this thread is about backing up /opt/zimbra/backup, and for that purpose rsync works fine.

    Since you have Network edition, you may want to look at How to: cold standby server (no cluster). There may be a few other threads on the same concept, with varying degrees of automation.

    The basic idea is, you create a backup server configured more or less identically to your production server, and you leave it shut down. Then you rsync your /opt/zimbra/backup directory to it. To bring the backup online, you start it up and do a restore.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  2. Mail is being queued, not delivered!
    By icepick94 in forum Administrators
    Replies: 12
    Last Post: 01-22-2009, 07:03 AM
  3. Replies: 41
    Last Post: 10-29-2007, 02:36 PM
  4. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 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
  •