Page 1 of 1

Shutdown Scalix properly before rsync

Posted: Mon Feb 11, 2008 3:42 pm
by axslingr
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

Posted: Tue Feb 12, 2008 4:17 am
by mikevl
Hi

No need to stop Tomcat & Postgres

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

Mike

Posted: Tue Feb 12, 2008 4:56 am
by Valerion
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).

Posted: Tue Feb 12, 2008 7:49 am
by axslingr
Thanks for the reply guys! Much appreciated.

Lance

Posted: Tue Feb 12, 2008 8:43 am
by grassu
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

:-)