Problem with multiple versions of GitLab Runner and Docker executor errors

I tried to run gitlab on the new server and restore the data, but after the restore, everything is the same as the old one. How can I ignore the unused data (such as runner registration information, etc.) when restoring and only keep my repository data and user data?