Update Environment Best Practices

I don’t call this “best practice”, but I’ve gone through this process.
What I did was:

  1. Update environment (which makes a clone with the “-clone” suffix)
  2. Export your original site using the “Export” option when right clicking the site’s name (so you can keep it safe in case of something wrong happening)
  3. Delete the original site that was just exported (the export holds a complete backup of the site, so it can be imported back at any moment)
  4. Rename the site (to delete the “-clone” suffix)
  5. Change site domain (to delete the “-clone” suffix)

After all those changes, your site will be working just like the one before, but your folder inside “Local Sites” will still have the “-clone” suffix. To solve this the best way is to Export this cloned site the same way you did with the original one, delete the site you exported after the process is done, and import it again with the correct name, that way your folder will have the same name.
Ex:
Original folder name - localbyflywheel
Cloned folder name - localbyflywheel-clone
Cloned folder name after import (you can name it any way you want) - localbyflywheel

That way you will have the same domain, site name, and folder name as before, but with the environment upgraded.
There might even be a better way to do it, but since I did it in kind of a hurry, I didn’t put much thought into it. If you improve this process in any way, please share! I would like to know a better way to do it.

Also if you have any questions about this process I gave, don’t hesitate to ask. And remember to always be sure to make backups/exports since you are deleting the websites, so be sure to not lose your work.