I have a RPi v3 that's been running very well for me for years now. It is mainly a file server, running SAMBA, NFS and AFP on Buster, along with some other random services. The DHCP setup is also a bit customized to deal with my home network setup. Because it is old, I'd like to move the 'server' to a RPi 4 board - i.e. I want to have a server of the same name and using the same ip address on my network running all the same services with the same configuration, have the same accounts, passwords and so on, but I want that server to be backed by a RPi board.
Is there a recommended way to take all of the installed packages, and their configurations, users, etc, and move them over to a fresh install of Buster on the RPi 4 board?
FWIW, I have tried simply moving the existing SD card to the new Pi board, but that seems to require re-partitioning the card, which I cannot figure out and does not seem the right way to go anyway, so I thought it better to do a clean install on the new board and get the existing packages and configuration set up.