Updating live environment best practice

Hi,

Relatively new to Magento having come from MS / IIS./ ASP / MVC background.

Could I be so bold as to ask your process for updating a live site, either with your latest app/code & app/design changes or updating Magento core code, for example up to 2.4.7-p2 ?

How do minimise downtime?

How do you update your codebase? What happens if you get a random update error due to a conflict in live not found in dev/UAT?

Do you have a second instance of the site to help you perform a quick swapover and rollback if needed?

Do you get up at a silly hour of the morning and update when site traffic is at its lowest?

Do you host in a container and just press a button?

Thanks in advance.

submitted by /u/CompetitiveRespond49
[link] [comments]