Page 1 of 1

Restore a 9.4.2.4 mailstore backup to 10.0.1

Posted: Tue May 16, 2006 12:25 am
by abnormaliti
I need to restore a backup of a Scalix EE 9.4.2.4 mailstore to a Scalix EE 10.0.1 server.

The backup contains the contents of /var/opt/scalix/.

I have a testlab system i would like to restore this mailstore to for the purpose of investigating mail in that store.

Can any anyone give me some instructions on the steps that may be required?

Posted: Tue May 16, 2006 6:12 am
by ScalixSupport
After copying the files from the backup to /var/opt/scalix, running ompatchom will upgrade the 9.4 message store to the 10 schema. You should then be able to simply start the server after running it.

Cheers,

Sascha.

Posted: Fri May 19, 2006 1:01 am
by abnormaliti
While running 'ompatchom' i see the following warning.

Code: Select all

WARNING: failed to run ommodent -f /var/opt/scalix/tmp/fn_copy_att_values.modify


Manually running that command return no text but exit with exit code 99.

Is this something to be concered about?

Access to the store appears to work.

Posted: Fri May 19, 2006 4:16 am
by abnormaliti
It appears after the restore of /var/opt/scalix the EE license that was used during installation of 10.0.1 was removed.

How did i reinstall the EE license from the command line?

Posted: Tue May 23, 2006 7:22 am
by Valerion
Put your license into a text file called permanent.lic, then copy it to /var/opt/scalix/LicenseKeys. Make sure the owner & group is scalix.

Or you can use the SAC to re-install it, of course.

Posted: Tue May 23, 2006 8:02 pm
by abnormaliti
All sorted.

Re-install license and found a user account that was not able to be modified at all hence the failure of ommodent. After omdelu that account, my account!, all completes sucessfully.

Here is the steps i used to get the job done.

Code: Select all

service scalix stop
service scalix-tomcat stop
cd /var/opt/scalix
rm -rf *
tar -xvzp -f /path/to/backup.tar.gz
# If the uid and/or gid of scalix has changed.
find -uid 100 -print | xargs chown scalix     
find -gid 101 -print | xargs chgrp scalix
omcheck -s -d | bash
sxmodfqdn -o oldfqdn -n `hostname -f`
ompatchom
service scalix restart
service scalix-tomcat restart

# If cannot log in to SAC.
# Uninstall SAC via ./scalix-installer --cli
omdelu -n sxqueryadmin
# Reinstall SAC via ./scalix-installer --cli

# Re-install license via SAC

# Disable passowrd change in rules wizard
vim /var/opt/scalix/omhtml/RW-`omwebconf -ql`/page/rules-lffunc.html

# Generate mime data to speed things up, consider running this every day
omtidyallu -M


Hope that helps someone in the future.

Posted: Wed May 24, 2006 8:45 am
by ScalixSupport
Looks good, thx.

# Generate mime data to speed things up, consider running this every day
omtidyallu -M

is actually necessary only once.

Cheers,

Sascha.