Results 1 to 8 of 8

Thread: Restoring zcs ce to new os install from tgz backup - my experience

  1. #1
    Join Date
    Jul 2009
    Posts
    8
    Rep Power
    6

    Default Restoring zcs ce to new os install from tgz backup - my experience

    Hello All,

    I have been using zcs ce now for over 12 months for my and my families personal email and I am over the moon with it. It is a great piece of software. Running nice and steady on Debian 4 (etch) =:-)

    Ever since my first install way back I have been running daily back-ups via a script (just tgzp'ing the zimbra folder), and last night was the first time I had to use it. HDD failure =:-(

    Initially with the links that I found in the wiki and on the web I was 'shaking my head' thinking 'this is going to be a ball ache'. However it was surprisingly easy once I sifted through the mounds of information, and has only solidified my view that this mail server is awesome.

    So here was my experience.....

    1. came home and heard the HDD grinding .... uh oh!
    2. grabbed a new HDD, swapped over and installed Debian 4 again (base system profile) and also upgraded some components.
    3. installed zimbra required packages using apt
    4. sorted dns out and removed exim4
    5. did a clean 'new install' of zimbra (keeping install source in /opt for later)
    ----- now the restore stuff ----
    6. stopped zimbra services
    7. renamed zimbra folder in /opt to zimbra_old
    8. extracted tgz backup to /opt/zimbra
    9. ran ./install.sh from within zimbra source folder
    10. hey presto ... once installation was complete, everything was started for me and up and running!

    I was sure there had to be more to it ... but no. /me is a happy bunny!

    Got to love Zimbra.

    Dan =:-)

  2. #2
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    Dan, it's great to see that this worked so well for you. I hope you don't mind, but I'm going to move this thread to "Zimbra Success Stories" where we like to wave the flags of things that go well.

    What you describe is a system doing exactly what we said it was going to do. We like that!

    Best of luck!
    Cheers,

    Dan

  3. #3
    Join Date
    Jul 2009
    Posts
    8
    Rep Power
    6

    Default

    Thanks.

    No worries about the move. Guess it is more appropriate.

    =:-)

  4. #4
    Join Date
    Apr 2009
    Location
    Italy - Genova
    Posts
    21
    Rep Power
    6

    Default

    Hi Dan,
    I don't understand the needing for the step 9! Why do you have to run ./install.sh ?
    If you made a full backup of /opt/zimbra replacing the backup should be sufficient!
    By the way, we use the same similar way with LVM snapshots and since our Zimbra server is a Virtual Machine, we have simulated a recovery from backup with success on a clone of the VM.
    Cheers,
    Luca

  5. #5
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    Quote Originally Posted by liuk View Post
    Hi Dan,
    I don't understand the needing for the step 9! Why do you have to run ./install.sh ?
    If you made a full backup of /opt/zimbra replacing the backup should be sufficient!
    By the way, we use the same similar way with LVM snapshots and since our Zimbra server is a Virtual Machine, we have simulated a recovery from backup with success on a clone of the VM.
    Cheers,
    Luca
    Hi Luca,

    Good question. I'm not the back-end expert here; in fact I got those instructions from others; what I did that was different was write them coherently. . .

    However, I believe there are some things that get set in other places than /opt/zimbra; specifically some cron jobs, some symlinks, and other things that reside in other places within the Linux system, such that a true restore without a clean install would leave an only partially-configured server.

    If you're patient and have the time (which I don't right now), read through the install.sh script and see what it does. . .you'll see for yourself if I'm right or not.
    Cheers,

    Dan

  6. #6
    Join Date
    Jul 2009
    Posts
    8
    Rep Power
    6

    Default

    Quote Originally Posted by dwmtractor View Post
    However, I believe there are some things that get set in other places than /opt/zimbra; specifically some cron jobs, some symlinks, and other things that reside in other places within the Linux system, such that a true restore without a clean install would leave an only partially-configured server.
    That was my impression. Also folder permissions as well? It just seemed safer for me to me to do the ./install.sh. All for the sake of a few minutes. Might be redundant though I admit!

  7. #7
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Post

    liuk was right.
    Step 9 was needless,
    1- > ./install -s
    2- > rename the software directory /opt/zimbra to zimbra_dummy
    3- > restore the zimbra from the old server
    4- > start the service.

    ./install -s actually updates some system's rpm databases.

    Regards
    Adeel

  8. #8
    Join Date
    Jul 2009
    Posts
    8
    Rep Power
    6

    Default

    Alas, you are correct!

    Thought I would give it a go before my upgrade to zcs 6.0 RC1 and you are right, it worked without step 9.

    Just to add to this success story, upgrade from 5.018 GA to 6.0 RC1 went as smoothly as a baby's bottom too!

    =:-)

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. fresh install (both OS and Zimbra) but zimbra-spell fails
    By xtremetoonz in forum Installation
    Replies: 14
    Last Post: 09-09-2007, 12:34 AM
  3. Replies: 16
    Last Post: 11-29-2006, 09:36 AM
  4. Restoring a zimbra server without proper backup
    By jonnyRo in forum Administrators
    Replies: 1
    Last Post: 10-12-2006, 12:45 PM
  5. Replies: 2
    Last Post: 09-28-2006, 08:30 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
  •