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

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 04-30-2010, 01:36 AM
Active Member
 
Posts: 28
Unhappy [SOLVED] Correct procedure for restore, help!

I'm using the this script for backing up (the simple Simple Shell Script Method)

Open Source Edition Backup Procedure - Zimbra :: Wiki

I wanted to test a restore, so I setup a a new Linux server and installed the same version of ZCS: Release 6.0.6_GA_2324.UBUNTU8 UBUNTU8 FOSS edition.
Identical installation on the new server, the only different things were the server IP address and maybe password for the admin user. No problem during the installation.
The new installation works correctly.
Then, for the restore:
I stopped ZCS, and followed these steps (mail.backup.tgz is my backup):

mv /opt/zimbra /opt/zimbra-old
mkdir /opt/zimbra
tar zxvf /var/tmp/mail.backup.tgz -C /opt/zimbra
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms

This the result, after rebboting the server:

antispam Stopped
zmmtaconfigctl is not running
zmamavisdctl is not running
antivirus Stopped
zmmtaconfigctl is not running
zmamavisdctl is not running
zmclamdctl is not running
ldap Stopped
logger Stopped
zmlogswatchctl is not running
mailbox Stopped
zmmtaconfigctl is not running.
mysql.server is not running.
zmmailboxdctl is not running.
mta Stopped
zmmtaconfigctl is not running
postfix is not running
zmsaslauthdctl is not running
snmp Stopped
zmswatch is not running.
stats Stopped

What could have gone wrong?

This procedure has worked for me several times, the only difference this time was that I used a differente IP address and maybe a different admin password. Could this be the problem or my backup was bad?
Of course things always work in a test environment, then stop to work in a production environment ...
Help!
Simone from italy
Reply With Quote
  #2 (permalink)  
Old 05-02-2010, 03:12 AM
Moderator
 
Posts: 7,929
Default

Perhaps you could check for some error messages in your logfiles ? Also ensure that none of the ports Zimbra requires are already in use. Shutdown Zimbra and the start again and once up check /var/log/zimbra.log and /opt/zimbra/log/mailbox.log to see what it is doing.
__________________
Reply With Quote
  #3 (permalink)  
Old 05-02-2010, 03:27 AM
Active Member
 
Posts: 28
Default

Thanks for replying. Maybe there was something wrong with the backup. I
added the following line to the backup script (it is commented on the script by Daniel W. Martin)

ps auxww | awk '{print $1" "$2}' | grep zimbra | kill -9 `awk '{print $2}'`

Now it the restore seems to be ok.
Maybe processes were not completely killed...I don't know. Thanks
Simone
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.