Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Wes on October 19, 2003, 01:02:48 AM

Title: horde email backup
Post by: Wes on October 19, 2003, 01:02:48 AM
Hi everyone,  

I have been looking at documenting my server setup and as part of this process, I also look at doing routine backups as a result of the info I figure out.

Does anyone know which files horde requires to be backed up in order to restore full functionality on another server?  I want to make a script that willback up all these files and in case of bad things happening, I can nuke my system, and restore e-mail and so forth.

Thanks in advance for any pointers!

Wes
Title: Re: horde email backup
Post by: Dan Brown on October 19, 2003, 01:22:26 AM
Horde doesn't care where on your machine the mail is located; that's a function of the SMTP and IMAP servers.  Depending on version, it's in /home/e-smith/files/users//Mail or /Maildir.
Title: Re: horde email backup
Post by: Charlie Brady on October 19, 2003, 05:25:51 AM
Dan Brown wrote:
>
> Horde doesn't care where on your machine the mail is located;
> that's a function of the SMTP and IMAP servers.

Horde preferences are stored in a MySQL database (and is backed up as part of the standard backup process).

Charlie
Title: Re: horde email backup
Post by: Wes on October 20, 2003, 04:43:51 PM
Thanks for the input, thus far guys...

Creating the backup/restore disk does not restore e-mail or users.

Copying and restoring the usr/mail folder does not help either.

What I am after specifically is  a method that will restore both e-mail folders and users on a rebuilt system.  

I have manually copied the /usr/mail folders, the horde mysql folder and used the backup disk and all I get is a virgin mail system.  Any further suggestions?

Wes
Title: Re: horde email backup
Post by: Charlie Brady on October 20, 2003, 07:27:10 PM
Wes wrote:

> Creating the backup/restore disk does not restore e-mail or
> users.

There is no "backup/restore disk". There is a re-installation disk, which does restore the system configuration, but no user accounts or user data (so you should expect a virgin mail system). You're meant to do a restore from backup after re-installation. (I expect this is all in the documentation).

Charlie
Title: Re: horde email backup
Post by: Wes on October 23, 2003, 06:42:00 AM
Charlie,

You were right on the money, thanks for the heads-up.  When in doubt, RTFM.  I was trying to write a script to do what SME-Server is already designed to do;  I must be thinking in Microsofteze as they would never design such a well thought out, full featured product that doesn't try to capitalize on upgrades or add-ons.

The 2 features you pointed out will do the complete job!  With a little planning, I have my e-mail server up as in always was, my ibays are back as they were, and users/permissions were unaltered.

Absolutely amazing work.  My hat would be off to Mitel / E-smith if I wore one!