The problem is that the db was not restored
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 126
Server version: 10.11.15-MariaDB-ubu2204 mariadb.org binary distribution
Copyright © 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
MariaDB [(none)]> USE mailcow;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [mailcow]> SELECT COUNT() FROM domain;
+———-+
| COUNT() |
+———-+
| 0 |
+———-+
1 row in set (0.001 sec)
MariaDB [mailcow]> SELECT COUNT() FROM mailbox;
+———-+
| COUNT() |
+———-+
| 0 |
+———-+
1 row in set (0.000 sec)
MariaDB [mailcow]> SELECT * FROM domain LIMIT 5;
Empty set (0.000 sec)
MariaDB [mailcow]> SELECT username, active FROM mailbox LIMIT 5;
Empty set (0.000 sec)
So I restored the DB with the helper-Script, but that does not work. Any suggestions?