Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-27-2011, 09:43 PM
Special Member
 
Posts: 114
Default Migration: Rsyncing /opt/zimbra/store increases file size

Hi,

A few weekends ago I started migrating a server from an old Ubuntu 6.06 32-bit server to a new Ubuntu 10.04 64-bit server. I've done this before on another server without much problem, but that was a much smaller server in terms of accounts and mail stores.

For the migration I followed the official migration documentation on the Zimbra wiki. However, this time when Rsyncing the /opt/zimbra/store contents from the old to the new server, for some reason the /store directory increased in size by a large amount. Some sub-directories became twice as large, while others just increased by 10-20%. Unfortunately, although the Rsync job was very near completion, I had to stop the transfer, as the new 10.04 server was running out of disk space. I could of course have started over and just created a new, larger 64-bit machine, but that would simply have been a work-around and not really solved my problem with the suddenly increasing data size.

Does anyone have any ideas as to why this may have happened?

Also -- just a thought -- rather than Rsyncing all the data over from one server to the other, would it be possible to simply restore all accounts from a full backup? After all, I ran a full backup to separate NAS storage before starting the migration job.

Any comments, ideas and thoughts on the issues I ran into would be greatly appreciated.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 11-27-2011, 10:51 PM
Senior Member
 
Posts: 71
Default

Take a look to the "-H" switch of rsync to correctly transfer all store hardlinks...


Sent from my iPhone using Tapatalk
__________________
Federico Bertola
Studio Storti
Reply With Quote
  #3 (permalink)  
Old 11-27-2011, 10:59 PM
Special Member
 
Posts: 114
Default

Thanks Federico. Will check it out.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.