Thank you very much for all your replies! I never took a look at sysmerge. I never used it before, because when upgrading to a new OpenBSD version I always took the path that Peter suggested. This time however, because im am only switching architectures and not versions, I figured there should be an easier way. I had hoped for a tool that would simply replace all arm64 binaries with the corresponding amd64 ones. Nevertheless, sysmerge looks quite promising, at least by identifying the files that I will have to take care of.
-Heinrich > On 26. Feb 2026, at 22:14, Kirill A. Korinsky <[email protected]> wrote: > > On Thu, 26 Feb 2026 17:35:58 +0100, > Heinrich Rebehn <[email protected]> wrote: >> >> Hello All, >> >> 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 think you're looking for sysmerge options -d and -p. > > If I understand correctly that you try to achive, when I'll do somethign > like that: > > 1. pkg_info -mz -- to get list of installed packages > 2. sysmerge -d -- to get changes in system's config files > 3. sysmerge -d -p -- to get changes in port's config files > > with all of this in new machine: > > 1. pkg_add $(cat list-with-packages) > 2. apply diff from previous (2) > 3. apply diff from previous (3) > > > -- > wbr, Kirill

