I’ve read around the forums for a like for like case but I can’t find anything similar. Perhaps I am trying to do to much in one step. Any assistance that can be offer would be greatly appreciated.
What is the correct steps (and the correct order of the steps) I should take to upgrade from v0.30 to current whilst migrating multiple email users across multiple domains and then also changing the hostname (main domain name) for the box?
I’m looking at a server migration to be able to upgrade to current (likely can not retain IP address), a domain name change for the box and I need to preserve user emails.
Thank you for your response. Your offer of assistance is greatly appreciated, it may be that I explore the option of hiring you to achieve this but since there is no budget for this operation at this moment I’m trying to find as much support as possible to achieve this myself.
We do not use Next/OwnCloud so that is not a concern however after the update we would like to start using it.
The MIAB box is hosted with Digital Ocean however the current box is with one ‘Team’ my personal team and it must be moved to my work ‘team’.
There are 7 domains, 18 email accounts, 30 aliases, I’ve got 63% of system memory free on a 2GB droplet and the droplet is size at 50GB storage with and additional 300GB volume attached, box reports the disk has 168.59 GB space remaining.
All aspects of the server is works exactly as I would like, to your final point my concerns are around security rather than features although update NextCloud is appealing as I’d like to explore the utility of that for our businesses.
The change of box domain/host name is because I have secured a more preferable domain name.
Actually you may not be in too bad of shape. I missed the fact that your MiaB installation is updated as far as v0.30. If that is the case, you initial actions should not be much more than a normal migration to a new server via the backup restoration process. The devs have seemingly put a lot of work in to the migration process since the early days of Ubuntu 18.04. At that time an upgrade was much more problematic than it is now. I am sure that you have come across some of the threads on this forum from that time period.
So start here and follow the procedures (mostly) as written.
I say mostly because some things I do in my own way - as an example, I do not download the encrypted backups to my desktop machine. Instead, I rsync them to a folder on the new VPS, etc.
This is good, as you are going to dodge a major bullet. HOWEVER … once you start using NextCloud on the new server, please keep it up to date with new releases as this is the single most difficult aspect of MiaB to deal with if not kept up to date.
Yes, sadly this requirement will remove any chances of maintaining the current IP address unfortunately. You will have to start over with building a sending reputation with Google/Microsoft/Verizon I am afraid. Or use a SMTP relay.
Ok, so I am not certain how you attached this additional storage - if you mounted it at /home/user-data/ or set a STORAGE_ROOT environment variable when you created the MiaB originally. You will need to figure out how to implement this into the instructions at the link I gave earlier.
I am going to think that the path of least resistance here will be to simply move the MiaB as is retaining the original hostname. After that move is done, you can go back and reconfigure the MiaB with the new hostname.
One of the big things to take into consideration - and something I forgot to ask - is whether or not MiaB handles DNS for the domains, or if you are using External DNS.
Exactly. Which is why I was bringing it to your attention.
Personally, for some of my clients, I employ a backup strategy which copies the encrypted backups folder to an external server. So if everything blew up there’d be a minimal chance of restoration - rather than no chance. So far though, the one time I needed it - it came through and worked like a charm.