Merge branch 'prod' into stage

This commit is contained in:
Christoph Haas 2025-11-02 21:21:15 +01:00
commit 9406e15ff6
2 changed files with 6 additions and 5 deletions

View file

@ -26,7 +26,8 @@ const isBookworm = Astro.url.pathname.startsWith("/ispmail-bookworm/");
{ {
isBookworm && ( isBookworm && (
<section style="background-color: #ffefef; padding: 1rem; border: 1px solid #f00; text-align: center;"> <section style="background-color: #ffefef; padding: 1rem; border: 1px solid #f00; text-align: center;">
⚠️ This section is outdated. Please use the guide for <a href="/ispmail-trixie/">Debian Trixie</a>. ⚠️ This page is part of the ISPmail guide for Debian Bookworm. Please use the newer guide for{" "}
<a href="/ispmail-trixie/">Debian Trixie</a>.
</section> </section>
) )
} }

View file

@ -65,7 +65,7 @@ You need to copy the database that contains the control data about your email do
(Bookworm) server as root and back up the *mailserver* database. That is as easy as running… (Bookworm) server as root and back up the *mailserver* database. That is as easy as running…
``` ```
mysqldump mailserver > mailserver.sql mariadb-dump mailserver > mailserver.sql
``` ```
Copy that file to the new server (using *scp*) and import it there: Copy that file to the new server (using *scp*) and import it there:
@ -83,7 +83,7 @@ If your users are using Roundcube as a webmail interface then you should migrate
Dump the SQL from the old server: Dump the SQL from the old server:
``` ```
mysqldump roundcube > roundcube.sql mariadb-dump roundcube > roundcube.sql
``` ```
Copy that file to the new server and import it: Copy that file to the new server and import it:
@ -109,7 +109,7 @@ Details are found in the rspamd chapter.
(**Hot** means: copy the files why they are still in use and potentially change while you do that.) Fortunately Dovecot (**Hot** means: copy the files why they are still in use and potentially change while you do that.) Fortunately Dovecot
uses the maildir format that stores emails as plain files on disk. Login to the new (Trixie) server and use *rsync* to uses the maildir format that stores emails as plain files on disk. Login to the new (Trixie) server and use *rsync* to
copy over the mails from the old (Bullseye) mail server: copy over the mails from the old (Bookworm) mail server:
``` ```
rsync -va oldserver:/var/vmail/ /var/vmail/ rsync -va oldserver:/var/vmail/ /var/vmail/
@ -117,7 +117,7 @@ rsync -va oldserver:/var/vmail/ /var/vmail/
(Note the trailing slashes. Type them exactly as shown above or your files will end up in wrong places.) (Note the trailing slashes. Type them exactly as shown above or your files will end up in wrong places.)
There is no need to shut down Dovecot on your production Bullseye server. Copying the files while Dovecot is running There is no need to shut down Dovecot on your production Bookworm server. Copying the files while Dovecot is running
will not break anything. This is called a “hot copy". It may not be consistent but it will save time during the final will not break anything. This is called a “hot copy". It may not be consistent but it will save time during the final
synchronization. synchronization.