restoring scalix from /var/opt/scalix

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

fabtk
Posts: 26
Joined: Wed May 07, 2008 8:05 am

restoring scalix from /var/opt/scalix

Postby fabtk » Fri Dec 19, 2008 4:34 am

Hi Scalix-Community,

Got some serious issues atm ... Scalix SRV (fedora5 - scalix v10.x) crashed a few days ago. Now we finally managed it to get the whole /var/opt/scalix filestructure from the crashed harddisk(s).

Is it possible, to restore the data on a "this post will be deleted" scalix v11.4.2.x, even if the OS is not the same? (debian etch - We know, it's officially unsupported).

thanks in advance for your answer(s)

greetings, fabtk

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Fri Dec 19, 2008 5:11 am

I don't think that should be a problem.

But why restoring to an unsupported distribution? That's going to give you a lot of troubles in the future, when you want to upgrade scalix.

fabtk
Posts: 26
Joined: Wed May 07, 2008 8:05 am

Postby fabtk » Fri Dec 19, 2008 6:22 am

But why restoring to an unsupported distribution?

I'm just the installing and configuration guy, the other descisions are (unfortunately) not part of my job ... If I could choose, I would use CentOS 5 ...

Valerion said ...
1) Shut down Scalix
2) Make a backup of the empty mailstore (just in case)
3) Copy /var/opt/scalix/??/s to /var/opt/scalix/??/s on the server (even if the two ??'s doesn't match)
4) Make VERY sure ownerships and permissions are correct
5) run ompatchom
6) Restart Scalix


Does this work for me too?

fabtk
Posts: 26
Joined: Wed May 07, 2008 8:05 am

Postby fabtk » Fri Dec 19, 2008 3:16 pm

Mh ok, I could convice my capo ... We will use Fedora 9 (we're using the Community Edition = Suppored OS)

Does this "copy paste" tactic work? I can't imagine that it's easy like this 0o

Are there any migration tutorials here in the forum? Couldn't find any <.<

Thanks in advance for your answers.

Greetings, fabtk

//EDIT: Mhh just read, that Fedora 9 is just supported for testing <.< damn, the only supported free OS is Cent OS 4/5, never worked with it ...

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Fri Dec 19, 2008 3:46 pm

You're better off restoring to the same OS and version, and then upgrading, but you should be able to restore it to an 11.x system and run ompatchom, you might just have a bunch of problems as we've never tested this.

CentOS is basically the same as Fedora, without the new version every 6 weeks.

fabtk
Posts: 26
Joined: Wed May 07, 2008 8:05 am

Postby fabtk » Fri Dec 19, 2008 4:06 pm

CentOS is basically the same as Fedora, without the new version every 6 weeks.

Mhhh, you said Fedora is basically the same as Centos, Fedora Core 4 ("old" dead scalix srv) or Centos 5, what's the better & more secure way for restore? It's a very old scalix version (10.0.0.343) ...

greetings and thanks for the fast answer,

fabtk

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Fri Dec 19, 2008 4:53 pm

If you're changing the OS, it doesn't really matter which one... 5 is newer, so should have fewer bugs :)

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

Postby Valerion » Sat Dec 20, 2008 12:12 am

Just remember that for early versions of Scalix CentOS was not recognised, so it will work, but you will have to change the /etc/redhat-release to pretend to be RHEL. in addition, not all of them have packages for RHEL 5, some only support RHEL 4, but I can't recall when that was.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests