Mail.foxtom.de/Migration: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
|||
| Zeile 70: | Zeile 70: | ||
|} | |} | ||
== Synchronisation == | |||
=== initial === | |||
; initial rsync | |||
While the [[mx10.foxtom.de]] is live | |||
* Der initiale ''rsync'' wird auf ''mx20.foxtom.de'' ausgeführt | |||
* Dadurch werden die Maildaten vom alten Server gelesen und auf den neuen Server geschrieben | |||
<syntaxhighlight lang="bash" highlight="1" copy line> | |||
rsync -aHAX --numeric-ids --info=progress2 root@mx10.foxtom.de:/var/vmail/ /var/vmail/ | |||
</syntaxhighlight> | |||
=== Re-Sync === | |||
; repeated delta syncs | |||
Delta-Synchronisationen können mehrfach vor dem finalen Switch ausgeführt werden. | |||
=== Final === | |||
; final rsync on mx10 | |||
Vor der finalen Synchronisation dürfen auf ''mx10.foxtom.de'' keine neuen Maildaten mehr geschrieben werden. | |||
<syntaxhighlight lang="bash" highlight="1" copy line> | |||
systemctl stop postfix dovecot | |||
</syntaxhighlight> | |||
; Finale Synchronisation | |||
* ''--delete'' darf nur verwendet werden, wenn ''/var/vmail'' auf ''mx20.foxtom.de'' ausschließlich als Zielkopie dient | |||
<syntaxhighlight lang="bash" highlight="1" copy line> | |||
rsync -aHAX --numeric-ids --delete --info=progress2 root@mx10.foxtom.de:/var/vmail/ /var/vmail/ | |||
</syntaxhighlight> | |||
</noinclude> | |||
[[Kategorie:mail.foxtom.de]] | |||
<noinclude> | <noinclude> | ||
Version vom 22. Juli 2026, 11:23 Uhr
Mail.foxtom.de/Migration
Migrationsplan
Ziele
mx20.foxtom.de soll die Mailserver-Funktion von mx10.foxtom.de übernehmen
- Daten erhalten
| Daten | Status | Beschreibung |
|---|---|---|
| Maildaten | testing | /var/vmail |
| Mailbox-Konfiguration | Was ist damit gemeint? | |
| Aliase | done | Neu anlegen |
| Weiterleitungen | done | Neu anlegen |
- Minimum downtime
- Minimum announced downtime während der Umstellung
- Qualitätsmanagement
- Gut geseted vor der Freischaltung
Planung
| Aspekt | Status | Beschreibung |
|---|---|---|
| Autodiscover | planning | ISPConfig/Automail |
| Backup | testing | mail.foxtom.de/Backup |
| Certificates | planning/testing | mail.foxtom.de/Certificates |
| Data | testing/progress | mail.foxtom.de/Data |
| DNS | planning | mail.foxtom.de/DNS |
| Firewall | testing | mail.foxtom.de/Firewall |
| Hardware | testing | mail.foxtom.de/Hardware |
| Maintenance | planning | mail.foxtom.de/Maintenance |
| Roundcube | testing | mail.foxtom.de/Roundcube |
| Spam | planning/testing | mail.foxtom.de/Spam |
| Umstellung | planning | mail.foxtom.de/Umstellung |
Synchronisation
initial
- initial rsync
While the mx10.foxtom.de is live
- Der initiale rsync wird auf mx20.foxtom.de ausgeführt
- Dadurch werden die Maildaten vom alten Server gelesen und auf den neuen Server geschrieben
rsync -aHAX --numeric-ids --info=progress2 root@mx10.foxtom.de:/var/vmail/ /var/vmail/
Re-Sync
- repeated delta syncs
Delta-Synchronisationen können mehrfach vor dem finalen Switch ausgeführt werden.
Final
- final rsync on mx10
Vor der finalen Synchronisation dürfen auf mx10.foxtom.de keine neuen Maildaten mehr geschrieben werden.
systemctl stop postfix dovecot
- Finale Synchronisation
- --delete darf nur verwendet werden, wenn /var/vmail auf mx20.foxtom.de ausschließlich als Zielkopie dient
rsync -aHAX --numeric-ids --delete --info=progress2 root@mx10.foxtom.de:/var/vmail/ /var/vmail/