Using old config.xml on a new install of Jenkins

I have an old install of Jenkins, version 2.285 that I messed up by updating all the plugins by accident.

I have installed a new Jenkins server on a new EC2 instance, version 2.479.3.

If I install all the same plugins on the new server as I had on the old, can I use the old config.xml file so I don’t have to set up all the authentication, views etc on the new Jenkins install?