Shutdown Scalix properly before rsync

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

axslingr
Posts: 65
Joined: Mon Mar 19, 2007 11:39 am
Location: Arkansas, United States

Shutdown Scalix properly before rsync

Postby axslingr » Mon Feb 11, 2008 3:42 pm

I've read quite a few posts on backing up Scalix but I'm still wondering what's the best approach for stopping scalix before doing a rsync? Is just stopping the scalix process good enough?

/etc/init.d/scalix stop
rsync -av --delete /var/opt/scalix /backup/dir
/etc/init.d/scalix start

Or should I be stopping tomcat and postgres too?

TIA,
Lance

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Tue Feb 12, 2008 4:17 am

Hi

No need to stop Tomcat & Postgres

LVM is a great option. No need to shaut anything down. 24 x 7 email

Mike

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

Postby Valerion » Tue Feb 12, 2008 4:56 am

The postgres database is not as important, as it doesn't contain mailstore data. So you should be fine with what you do, though I would prefer to use omshut and omrc (personal preference).

axslingr
Posts: 65
Joined: Mon Mar 19, 2007 11:39 am
Location: Arkansas, United States

Postby axslingr » Tue Feb 12, 2008 7:49 am

Thanks for the reply guys! Much appreciated.

Lance

grassu
Posts: 49
Joined: Sun Oct 08, 2006 11:10 am
Location: Berlin

Postby grassu » Tue Feb 12, 2008 8:43 am

In another topic about backup scalix I saw the hint to use omsuspend instead of omshut. This works quite well in my backup task. This is what I do:
- /opt/scalix/bin/omsuspend -s 120
- create lvm snapshot of data-volumen
- running dirvish to rsync the data

:-)
OS: Gentoo Xen0 / CentOS release 5.4 XenU
Server-Version: 11.4.5
Outlook: 2003/07


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 7 guests

cron