I’d rsync the old /var/discourse to the new server. Or maybe just containers and shared.
rsync
/var/discourse
containers
shared