question

LoveArvidsson-2453 avatar image
0 Votes"
LoveArvidsson-2453 asked LoveArvidsson-2453 commented

MECM: Sync LAB and PROD, prod -> lab

Hi,

Would it be possible to have a LAB env synced with a production env with some way of automation?
So that you can have a lab that more or less reflects the production environment, except the clients of course.

I've been trying to find some good answers out there, but cant really find anyone that has written about it or tried it before.

Considering MECM is more or less a SQL DB, the things I've thought about is replication, or a Master/Slave, but i don´t know enough about it to say that is would be a valid option.

Or would the best option be using the build it export/import PS cmdlets, and building some kind of script to run which syncs these settings, and manually do the rest?

best regards,

mem-cm-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered LoveArvidsson-2453 commented

You could possibly do this using the migration wizard, bt I'd never recommend that.

Depending on the exact requirements, using PowerShell and a DevOps approach would 100% be the path I would follow; i.e., I wouldn't sync settings, I'd only perform configuration using a script applying that first to the test environment and then the prod environment when it's ready to be productionized.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Powershell to the rescue!

I've got a base setup with PS that now "copies" an ADR and deploys it.

How usable it really will be in a real-world-scenario, remains to be seen, as the parameters which is required can differentiate alot between env.
But hey! it kinda works now, and maybe it can be useful for something, just gotta work out some kinks :)

Thanks for pointing in the right direction!

0 Votes 0 ·