On Thu, Feb 26, 2026 at 05:35:58PM +0100, Heinrich Rebehn wrote: > > I have a mailserver that runs OpenBSD 7.8 arm64. I want to transfer this > installation to a amd64 machine. Do you know of an easy way other than > manually copying the config files to a blank amd64 installation? > Maybe automatically select all architecture-independent files and use them to > overwrite the corresponding files on the amd machine?
I'd narrow it down a lot further to only the files you have actually changed from the default state. But then again, the procedure would be 0. make backups to somewhere safe. It's probably useful to archive data such as home directories separately from configuration files 1. note any packages installed, preserve with something like pkg_info -mz >pkglist. 2. install the fresh system 3. restore the package selection by feeding the package list to pkg_add -l 4. selectively restore relevant configuration files from the backup, possibly in parallel with restoring home directories and similar 5. with relevant config bits in place, switch the relevant DNS entries to point to your fresh system. There will be details to take care of along the way, and transferring to a new system will be a very useful opportunity to review your setup for any suboptimal points. Good luck with the project! All the best, Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team https://nxdomain.no/~peter/blogposts https://nostarch.com/book-of-pf-4th-edition "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

