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

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 10-28-2009, 07:17 AM
Senior Member
 
Posts: 72
Default Moving to new/bigger drives

My server is running Ubuntu 6.10 and my version of Zimbra is currently 5.0.19. I want to install new/bigger drives and install Ubuntu 8.04. I've since found a Power Tip on Moving ZCS to Another Server.

Has any one has done this and are there any hidden gotchas?

I'm making room on my NAS for the backup. How can I determine the correct size of backup space required?
__________________
Version 7.1.2_GA_3268.NETWORK

Last edited by AutootuA; 10-28-2009 at 10:09 AM.. Reason: Because I can't speel.
Reply With Quote
  #2 (permalink)  
Old 10-28-2009, 11:23 AM
Senior Member
 
Posts: 72
Default

It looks like I have 114GB in /opt/zimbra/.

Code:
# du -sh /opt/zimbra
114G	/opt/zimbra
I'll try a test rsync tonight to see how that goes.
__________________
Version 7.1.2_GA_3268.NETWORK
Reply With Quote
  #3 (permalink)  
Old 10-28-2009, 04:33 PM
Loyal Member
 
Posts: 81
Default

If you are going to mount the new drive(s) at /opt or /opt/zimbra it is pretty straight-forward.

Stop zimbra, mount new drives @ temporary mountpoint, rsync from original location to new location, mount new drives at permanent location, update /etc/fstab, etc.

Since you are running network edition you could also use HSM to move old data to the new drives.
__________________
Jacob Turner
Ringnebula Systems - Ukiah, CA
Reply With Quote
  #4 (permalink)  
Old 10-28-2009, 07:11 PM
Senior Member
 
Posts: 72
Default

Is it possible to remove obsolete files? Are current backups kept in the sessions directory? The 5.0.2_GA-7.1 directory has 60GB in it. Is this obsolete data?

Code:
root@mail:/opt/zimbra/backup# ls -la
total 52
drwxr-xr-x  5 zimbra zimbra  4096 2009-10-28 00:00 .
drwxr-xr-x 68 root   root    4096 2009-10-20 20:10 ..
drwxr-xr-x  5 root   root    4096 2008-05-07 18:22 5.0.2_GA-7.1
-rw-r-----  1 zimbra zimbra 15397 2009-10-28 00:00 accounts.xml
-rw-r-----  1 zimbra zimbra 15397 2009-10-27 00:00 accounts.xml.old
drwxr-x--- 35 zimbra zimbra  4096 2009-10-28 01:00 sessions
drwxr-x---  2 zimbra zimbra  4096 2009-10-28 01:00 tmp
__________________
Version 7.1.2_GA_3268.NETWORK
Reply With Quote
  #5 (permalink)  
Old 10-28-2009, 07:23 PM
Loyal Member
 
Posts: 81
Default

That is a question I don't have the answer to I'm afraid. My guess would be that you could dump the old directory, but I don't want to lead you astray.
__________________
Jacob Turner
Ringnebula Systems - Ukiah, CA
Reply With Quote
  #6 (permalink)  
Old 10-29-2009, 01:58 AM
Moderator
 
Posts: 7,928
Default

You should not require that directory ... but to be on the safe side why not archive it off somewhere.
__________________
Reply With Quote
  #7 (permalink)  
Old 10-29-2009, 03:20 AM
Trained Alumni
 
Posts: 15
Default

Quote:
How can I determine the correct size of backup space required?
You can check the backup schedule in the cron. By default it deletes all backups older than one month. Does one full backup on saturday and incremental backup on all other days. So you will have maximum of 4 full backups and other incrementals in a month. Now checking the size of the store and HSM of your current zimbra installation you can identify the size of backup you'd require. Also consider the new accounts you'd probably add later.
Reply With Quote
  #8 (permalink)  
Old 10-29-2009, 06:40 AM
Senior Member
 
Posts: 72
Default

Quote:
Originally Posted by uxbod View Post
You should not require that directory ... but to be on the safe side why not archive it off somewhere.

Just to verify that I did this correctly before I delete, I ran the following to backup up the 5.0.2_GA-7.1 directory.

Code:
rsync -avH /opt/zimbra/backup/5.0.2_GA-7.1 /mnt/share
That should give me a reliable backup, right?
__________________
Version 7.1.2_GA_3268.NETWORK
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.