Results 1 to 8 of 8

Thread: Moving to new/bigger drives

  1. #1
    Join Date
    Aug 2007
    Location
    Nashville, GA
    Posts
    72
    Rep Power
    8

    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?
    Last edited by AutootuA; 10-28-2009 at 10:09 AM. Reason: Because I can't speel.
    Version 7.1.2_GA_3268.NETWORK

  2. #2
    Join Date
    Aug 2007
    Location
    Nashville, GA
    Posts
    72
    Rep Power
    8

    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

  3. #3
    Join Date
    Jan 2006
    Posts
    81
    Rep Power
    9

    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

  4. #4
    Join Date
    Aug 2007
    Location
    Nashville, GA
    Posts
    72
    Rep Power
    8

    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

  5. #5
    Join Date
    Jan 2006
    Posts
    81
    Rep Power
    9

    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

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    You should not require that directory ... but to be on the safe side why not archive it off somewhere.

  7. #7
    Join Date
    Sep 2009
    Posts
    18
    Rep Power
    6

    Default

    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.

  8. #8
    Join Date
    Aug 2007
    Location
    Nashville, GA
    Posts
    72
    Rep Power
    8

    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

Similar Threads

  1. [SOLVED] Moving Server Drives
    By MTecknology in forum Installation
    Replies: 1
    Last Post: 07-08-2008, 11:25 AM
  2. Moving ZCS from VMWare to VirtualBox
    By fun_lovin in forum Installation
    Replies: 4
    Last Post: 06-10-2008, 06:18 AM
  3. Spam Not Moving
    By jerelabs in forum Administrators
    Replies: 0
    Last Post: 07-13-2007, 02:02 PM
  4. Replies: 2
    Last Post: 07-02-2007, 05:56 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
  •