Page 1 of 1

Good backup scheme

Posted: Wed Feb 15, 2006 4:05 pm
by Sneeper
Right now every night, we run omsuspend, rsync our /var/opt/scalix to a second location, and then resume operations.. Then we backup this second location.

Should I also be doing an omcpoutu on every user? Or is doing a general backup of /var/opt/scalix enough?

Also, when someone accidentally deletes a message or if someone gets a corrupted folder somehow, how do people restore from a backup of /var/opt/scalix? Do they restore to a separate running scalix and use an IMAP folder to copy it over? Do they have to restore the entire user using omcpinu losing any changes since the problem occured?

(These are non-Outlook users if that matters any)

Thanks!

Posted: Wed Feb 15, 2006 4:50 pm
by BigJoe
We started using LVM to create snapshot. Now we do an omsuspend and then use our SAN to snapshot the disk and then we have a second host that backups that LUN. We have a similar issue on restoring a specific mailbox. It would be awesome if there was a command similar to omcpoutu where it can go through and do an omcpoutu on each mailbox and pass it into tar or something. So if you look in the tarball you see:
UserOne.out
UserTwo.out
UserThree.out

and you could extract just that one user. Then import them. The problem is - at least with 9.4.2 you can't omcpoutu a mailbox if someone is in it.

It would also be great to redirect an omcpinu to a new mailbox. Incase you need to restore just one message.

Posted: Wed Feb 15, 2006 9:16 pm
by Sneeper
I'm still confused as to how one restores individual mailboxes if someone deleted a mail or had a mailbox go corrupt.

If you have a full backup of the entire system, what is the procedure for doing this?

Posted: Wed Feb 15, 2006 9:42 pm
by ScalixSupport
Please see the technote titled "Corruption/Recovery, ISDB, and SUR."


http://www.scalix.com/support/knowledgebase.html

Regards,
Don

Posted: Wed Feb 15, 2006 10:03 pm
by Sneeper
Thanks.. I'll take a look at it.

Posted: Thu Feb 23, 2006 2:43 pm
by Sneeper
Seems like I want the Item Structure Server running on the time, but it's off by default. I know I can start it with omon, but how do I make that stick across restarts/reboots?

Posted: Thu Feb 23, 2006 3:35 pm
by axsom1
Im pretty sure this is what you want:

Code: Select all

omsetsvc -a iss Y


John

Posted: Thu Feb 23, 2006 9:18 pm
by Sneeper
that was it! Thanks!