-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration Notes #4
Comments
A majority of these issues I came from updating from an outdated v4 appliance. I have made corrections to the documentation to include updates to the applicance. I also corrected eFa-Backup with eFa-Backup-cron. |
Upgraded my old appliance to 4.0.4-43 and did a new backup / restore. Looks like it was more successful this time as it blew away my shiny new fstab file with the source one! 😭 The missing column in the database is not on the source device, but appears to be created during restore, think I saw a line item while it was doing its thing, so anyone upgrading and not finding it on the old V4, this might be normal. My guess is that the restore from 4.0.3 crashed with a partial restore, which is why my fstab was not overwritten, but a bunch of other settings did come across and my 2nd attempt at a restore from a 4.0.4 backup was much more successful. |
@johnjore When you ran your second backup/restore, did you reuse the same v5 appliance? If so, that is why your /etc/fstab was overwritten as the restore didn't detect that the backup was from the other appliance. I'll see if I can improve this logic. |
Yes, same appliance as before. Some extra logic would probably be good as there are no warnings etc, and the restore happily goes ahead. |
Some notes regarding my migration from eFa 4 to 5
My old eFa:
SQL:
mailscanner mtalog was missing the
to_address
column after restore. Suspect some eFa upgrade added it at some point?creates.sql in eFa5 does not appear to have to_address defined, so not sure where it came from, as there are multiple config/init scripts. The missing column causes postfix_relay to crash.
v4 Prep:
eFa-Backup -backup
should be eFa-Backup-Cron (or maybe my eFa4 is old?)systemctl disable postfix
does not work, so be careful as a reboot will cause postfix to start running againMailScanner.conf:
As I didnt use /etc/MailScanner/conf.d/, I ended up manually copying over my custom settings from MailScanner.conf
virus.scanners.conf:
clamav should be clamd in line 22?
MailScanner[52133]: Virus scanner "clamd" not found in virus.scanners.conf file. Please check your spelling in "Virus Scanners =" line of MailScanner.conf
Missing as I was restoring from eFa 4.0.3:
During restore:
Not sure what this is is an error during backup, restore or normal
There is something odd with MailScanner as the restore does not appear to take something into account, causing php crashes/issues?!?. Creating new issue for that
Happy Migrations! I'll update as/when needed, but maybe close this if its not really adding anything of value, or update FAQ/Migration doc with anything worthwhile.
The text was updated successfully, but these errors were encountered: