Hello List, I have some questions concerning the backup of a cyrus imap server: Do you have any hints how to backup a Cyrus IMAP Server in general? I found two basic solutions, none of which seem perfect: a) stop the server, backup /var/lib/... AND THE CONFIG FILES, restart the server. b) make a snapshot of the filesystem (e.g. following the cyrus wiki) Solution b) seems a little much for a simple backup, but i don't want to stop my IMAP Server during the backup. So my questions are: Are there better solutions? There must be, hm? How long does Cyrus have to be down during backup? Do you have any experience? -- Mit freundlichen Grüßen Markus Feilner --------------------------- Bitte beachten Sie unsere neuen Adressdaten! Vielen Dank. --------------------------- Feilner IT Linux & GIS Linux Solutions, Training, Seminare und Workshops - auch Inhouse Beraiterweg 4 93047 Regensburg fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092 mail mfeilner@feilner-it.net web http://www.feilner-it.net
Markus Feilner schrieb:
Hello List, I have some questions concerning the backup of a cyrus imap server:
Do you have any hints how to backup a Cyrus IMAP Server in general? I found two basic solutions, none of which seem perfect: a) stop the server, backup /var/lib/... AND THE CONFIG FILES, restart the server. b) make a snapshot of the filesystem (e.g. following the cyrus wiki)
Solution b) seems a little much for a simple backup, but i don't want to stop my IMAP Server during the backup. So my questions are:
Are there better solutions? There must be, hm?
How long does Cyrus have to be down during backup? Do you have any experience?
I make a rdist-copy to a second server and then a backup of the second one. During the rdist-copy the IMAP-Server has to be stopped for about 5 minutes. The backup of the second server however lasts several hours. I didn't find a better solution 2 years ago. Maybe there is one, now. HTH Dieter
Am Dienstag, 28. Dezember 2004 10:34 schrieb Dieter Brüggemann:
Markus Feilner schrieb:
Hello List, I have some questions concerning the backup of a cyrus imap server:
Do you have any hints how to backup a Cyrus IMAP Server in general? I found two basic solutions, none of which seem perfect: a) stop the server, backup /var/lib/... AND THE CONFIG FILES, restart the server. b) make a snapshot of the filesystem (e.g. following the cyrus wiki)
Solution b) seems a little much for a simple backup, but i don't want to stop my IMAP Server during the backup. So my questions are:
Are there better solutions? There must be, hm?
How long does Cyrus have to be down during backup? Do you have any experience?
I make a rdist-copy to a second server and then a backup of the second one. During the rdist-copy the IMAP-Server has to be stopped for about 5 minutes.
hm. That's my preferred way, i guess, but not yet perfect. Can both IMAP Servers run on the same host? I guess yes, hm?
The backup of the second server however lasts several hours. I didn't find a better solution 2 years ago. Maybe there is one, now.Several hours?
Is that old Hardware or many Users or why does this take so long?
HTH Dieter
Thanks!! -- Mit freundlichen Grüßen Markus Feilner --------------------------- Bitte beachten Sie unsere neuen Adressdaten! Vielen Dank. --------------------------- Feilner IT Linux & GIS Linux Solutions, Training, Seminare und Workshops - auch Inhouse Beraiterweg 4 93047 Regensburg fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092 mail mfeilner@feilner-it.net web http://www.feilner-it.net
Markus Feilner schrieb:
Am Dienstag, 28. Dezember 2004 10:34 schrieb Dieter Brüggemann:
Markus Feilner schrieb:
Hello List, I have some questions concerning the backup of a cyrus imap server:
Do you have any hints how to backup a Cyrus IMAP Server in general? I found two basic solutions, none of which seem perfect: a) stop the server, backup /var/lib/... AND THE CONFIG FILES, restart the server. b) make a snapshot of the filesystem (e.g. following the cyrus wiki)
Solution b) seems a little much for a simple backup, but i don't want to stop my IMAP Server during the backup. So my questions are:
Are there better solutions? There must be, hm?
How long does Cyrus have to be down during backup? Do you have any experience?
I make a rdist-copy to a second server and then a backup of the second one. During the rdist-copy the IMAP-Server has to be stopped for about 5 minutes.
hm. That's my preferred way, i guess, but not yet perfect. Can both IMAP Servers run on the same host? I guess yes, hm?
Of course they can, but why should they?
The backup of the second server however lasts several hours. I didn't find a better solution 2 years ago. Maybe there is one, now.Several hours?
Is that old Hardware or many Users or why does this take so long?
I have a slow network connection to my backup location.
HTH Dieter
Thanks!!
Your welcome. PS: Don't you think that suse-imap-e would be a better place for this thread? It is not really security-related.
Am Dienstag, 28. Dezember 2004 10:54 schrieb Dieter Brüggemann:
Markus Feilner schrieb:
Am Dienstag, 28. Dezember 2004 10:34 schrieb Dieter Brüggemann:
Markus Feilner schrieb:
Hello List, I have some questions concerning the backup of a cyrus imap server:
Do you have any hints how to backup a Cyrus IMAP Server in general? I found two basic solutions, none of which seem perfect: a) stop the server, backup /var/lib/... AND THE CONFIG FILES, restart the server. b) make a snapshot of the filesystem (e.g. following the cyrus wiki)
Solution b) seems a little much for a simple backup, but i don't want to stop my IMAP Server during the backup. So my questions are:
Are there better solutions? There must be, hm?
How long does Cyrus have to be down during backup? Do you have any experience?
I make a rdist-copy to a second server and then a backup of the second one. During the rdist-copy the IMAP-Server has to be stopped for about 5 minutes.
hm. That's my preferred way, i guess, but not yet perfect. Can both IMAP Servers run on the same host? I guess yes, hm?
Of course they can, but why should they?
Well - in order not to have to put two machines somewhere.
The backup of the second server however lasts several hours. I didn't find a better solution 2 years ago. Maybe there is one, now.Several hours?
Is that old Hardware or many Users or why does this take so long?
I have a slow network connection to my backup location.
OK. Thanks Dieter!
HTH Dieter
Thanks!!
Your welcome.
PS: Don't you think that suse-imap-e would be a better place for this thread? It is not really security-related.
-- Mit freundlichen Grüßen Markus Feilner --------------------------- Bitte beachten Sie unsere neuen Adressdaten! Vielen Dank. --------------------------- Feilner IT Linux & GIS Linux Solutions, Training, Seminare und Workshops - auch Inhouse Beraiterweg 4 93047 Regensburg fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092 mail mfeilner@feilner-it.net web http://www.feilner-it.net
I have some questions concerning the backup of a cyrus imap server: Are there better solutions? There must be, hm?
Have a look at "lvcreate -s". Stop imap, create the snapshot, restart imap, make the backup from the snapshot and then remove the snapshot. It'll take a special partition (with a standard filesystem). Best to run this when there are little imap updates though. -- Regards, Peter
participants (3)
-
Dieter Brüggemann
-
Markus Feilner
-
Peter van den Heuvel