For the various production services I run (WordPress sites, etc) I like to run a second, “mirror” site, as well as the production site. For example, I might have
www.mydomain.com and also
mirror.mydomain.com. The latter is created by cloning from the production site and then disabling a couple of processes that don’t need to run.
I’d like to do the same with my forum. As I understand, the restore function is “all in”, it restores not just the data (topics, etc) but also the entire configuration. That leaves me with two issues I’d like to understand better.
I use WordPress SSO. After the restore is complete I want the
mirror-forum.mydomain.comDiscourse site to point to
mirror.mydomain.com, as the logon source. How would I modify the mirrored forum site (catch 22 of course - after restore and logging on, the mirrored site would presumably point to the production site)?
I want to be 100% sure that no eMails are sent from the mirrored forum site. Again, if I restore to the mirrored forum site then I assume all the scheduled tasks from the production site (sending digest emails to users, etc) will be scheduled, right? How can I avoid that? Is there a central location to turn off ALL eMails from that server?
How can I approach this?