Restore a 9.4.2.4 mailstore backup to 10.0.1

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

abnormaliti
Posts: 57
Joined: Mon Jun 06, 2005 2:26 am

Restore a 9.4.2.4 mailstore backup to 10.0.1

Postby abnormaliti » Tue May 16, 2006 12:25 am

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?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue May 16, 2006 6:12 am

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.

abnormaliti
Posts: 57
Joined: Mon Jun 06, 2005 2:26 am

Postby abnormaliti » Fri May 19, 2006 1:01 am

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.

abnormaliti
Posts: 57
Joined: Mon Jun 06, 2005 2:26 am

Postby abnormaliti » Fri May 19, 2006 4:16 am

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?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Tue May 23, 2006 7:22 am

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.

abnormaliti
Posts: 57
Joined: Mon Jun 06, 2005 2:26 am

Postby abnormaliti » Tue May 23, 2006 8:02 pm

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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed May 24, 2006 8:45 am

Looks good, thx.

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

is actually necessary only once.

Cheers,

Sascha.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 14 guests