In this blog. I have explained how to switch the existing classic site to modern sharepoint site and backup the existing site to archival site using Invoke-SPOSiteSwap It