I made a backup of a fresh (installed on freshly installed AlmaLinux 9 OS) with Technitium DNS server and configured it with 3 domains. All went well. I then made a backup using the
helper-scripts/backup_and_restore.sh backup all
command. I then created another fresh install of the OS and MailCow and ran
helper-scripts/backup_and_restore.sh restore
selected the file to restore, selected option 0 to restore all (as I had backed up all) and all seemed to go ok.
Upon completion, it appeared to get stuck waiting for the database to come up.
I don’t recall the exact message, but it was along the lines of Missing idb for and some number.
One thing I had noticed was that the restore script changed the database passwords (they had randomly generated ones from the compose script). I tried multiple combinations of old and new password with no success.
Searching for other information, I found a few other suggestions to do with editing the my.cnf file and couldn’t get any of them to work either.
Have I used the backup/restore options incorrectly ?
I’m about to retry using using a file level backup and backup the volumes and data folder directly with MailCow shut down to see if that works. I’ve been fighting this for about 6 hours now and don’t seem to be getting anywhere.
Any suggestions appreciated.