r/exchangeserver • • 11d ago

Migrating mailboxes back to on prem when Exchange online is down

We aren't there yet. But how would we go about doing this? I expect there is no clean/official way of doing this, and it will be a pain to re-sync emails later.

0 Upvotes

23 comments sorted by

9

u/garthoz 11d ago

From what ? If it’s down your not migrating anything. Setting up a an on-prem exchange environment is well documented. DNS for MX records is what points the world. You will need to cleanse Active Directory of pointers for mailboxes located at 365, easily scripted.

-1

u/steve-work 11d ago edited 11d ago

We're currently hybrid, with all mailboxes online*. Inbound / outbound mailflow is currently via on prem (centralised transport), due to legacy reasons. Say this outage goes on for a long period, I can see management asking how we can mailboxes back on prem.

1

u/Doctorphate 11d ago

Use your backup software to restore the mailbox to onprem, point DNS back to on prem and away you go?

1

u/steve-work 11d ago

MX records are currently pointed to on prem, all mailboxes in the cloud. Outage is over for us now.

0

u/AlCapone90 11d ago

you can't. over

5

u/chuckescobar 11d ago

Yeah since EXO = no worky this is not possible. Also don’t get the bright idea of trying to change hybrid mail flow at this point because that could really fuck things up.

0

u/steve-work 11d ago

Yes, can't see a clean way of doing this!

2

u/Benedykt123 11d ago

There’s not just not a clean way; there is literally no way. If the source is down you can not migrate.

What the fuck kind of data are you going to migrate?

0

u/steve-work 11d ago

I was thinking, get new empty mailboxes running on prem, whilst the outage is ongoing, so people can send and receive emails. And merge them together later.

6

u/Hot_Sun0422 11d ago

I suggest getting comfortable with the idea that sometimes the best move is no move.

1

u/steve-work 11d ago

I'm not planning on doing this, but if the outage extends for days, I can see management asking.

1

u/Hot_Sun0422 11d ago

No is a perfectly acceptable answer. Then use that to pivot the discussion to a business risk analysis that needs to be done for your org because if email going down is that crippling, management should have a plan in place. If management suggests moving exchange back to on prem, explain to them that just because it’s on prem will not stop something like this from happening again. The only difference is instead of an army of employees who specialize in Exchange, you’ll have only your internal employees.

1

u/steve-work 11d ago

Outage is over now for us, but if this went on multiple days, we would be pressured to do something.

2

u/Hot_Sun0422 11d ago

Then you've just discovered a business risk. You're business evidently cannot function without e-mail for more than 72 hours. Have this conversation with leadership now to have a plan in place in the future.

1

u/chuckescobar 11d ago

Making problems for next week you is not a way to get ahead.

2

u/7amitsingh7 7d ago

There is no simple way to move mailboxes back to on-premises just because Exchange Online is down. If you still have a hybrid Exchange setup, you may be able to move mailboxes back, but it requires a working on-premises Exchange environment and proper planning. A better approach is to keep regular backups of your Microsoft 365 mailboxes so you can access or restore your data if a major outage occurs. Moving everything back and syncing it again later would be complicated and could lead to data consistency issues.

1

u/steve-work 7d ago

Thanks, for your reply. We do have a working hybrid setup, but wouldn't be able to migrate back if EOL was down. We do have solid backups. I'm interested in how we would go about getting mailboxes working again on prem, the historic email could come later from backups. I understand this sort of thing is completely unsupported. We would have to break the link from EOP to EOL. What AD/Exchange changes would we need to make for this? Would it just be removing the target addresses? What other AD attributes would need to be changed? Obviously this is not likely to happen again, but if EOL is down for multiple days it would be good to have an idea of how we would do this, in an extended outage.

1

u/Desperate_Ease2040 11d ago

Simple , don't do it

1

u/steve-work 11d ago

I'm expecting this to be resolved today/ before next week, but if its still knackered on Monday, what's the plan?

2

u/cyndotorg 11d ago

Our mail is back, so, presumably yours will follow

3

u/Maxplode 11d ago

Sounding like a Monday problem to me

2

u/Excellent_Milk_3110 11d ago

I had this in the back of my mind but why go through the effort if you cannot reach anyone that is still on exchange online. You will only make the outage take longer when everything gets back online and email starts to flow normal.

1

u/titlrequired 11d ago

You would be better off looking at putting something in front of exchange/exo like mimecast that can function independently of exchange. But consider this, even if your email is still up, doesn’t mean the people you want to talk to have the same resiliency.