Link to home
Start Free TrialLog in
Avatar of Tom-J-Lael
Tom-J-LaelFlag for Afghanistan

asked on

Rebuilding SBS 2011 from Scratch , Malware outbreak

All,

I'm rebuilding an SBS 2011 server from scratch due to an Expiro/Xpiro outbreak. i'm being safe, rather than sorry because I think it's *possible* that the SBS 2011 has been infected, as it's reared its ugly head again.

So, I'm rebuilding SBS 2011 from scratch. I would normally employ Jeff Middleton's swing migration to xfer all of the ADUC stuff, but I'm scared the malware would transfer with it.

So, my question is, can I mount the Exchange 2010 DB from the old server, onto the freshly installed SBS 2011 server, and
Avatar of sirakov
sirakov
Flag of Bulgaria image

In order this to work you need the same domain name and organization name.
Also the exchange server should the same version i.e if its SP2 RU6 then you need to patch to new one as well.
When you mount the new database, the mailboxes will be in a disconnected state. You will have to either connect them to existing non-mail enabled users or use the restore mailbox procedure (New-MailboxRestoreRequest ).

Ok now how to do it :
1) When your users don't have a mailbox yet on the new server
-on the new server >Set-MailboxDatabase <Database Name> -AllowFileRestore:$true
-dismount the new database and delete all logs, leave only the edb file > rename it to edb.something
-copy the old edb over there and rename it to match the new database
-mount the database
- run Get-MailboxDatabase |Clean-MailboxDatabase
Now connect the users to the mailboxes using Connect-Mailbox
http://technet.microsoft.com/en-us/library/bb123490(v=exchg.141).aspx

2)When users already have a mailbox on the new server. You need to merge the content from the old database
-create a new database with the same name as the old one
- run Set-MailboxDatabase <Database Name> -AllowFileRestore:$true
-dismount the new database and delete all logs, leave only the edb file > rename it to edb.something
-copy the old edb over there
-mount the database
- run Get-MailboxDatabase |Clean-MailboxDatabase
Follow the article as above to merge the contents like this :
New-MailboxRestoreRequst -SourceDatabase "OldDatabase" -SourceStoreMailbox "Tony Smith" -TargetMailbox tony@contoso.com -AllowLegacyDNMismatch
ASKER CERTIFIED SOLUTION
Avatar of Tom-J-Lael
Tom-J-Lael
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm not familiar with Jeff Middleton's  tool / process. It might be a good idea, but I would go that way only after a research on how the migration is done in details. At the end of the day if I have to seize FSMO roles, clean metadatabase and hunt for records of the old server, it doesn't make sense to me. Swing migrations in general are more messy than useful.
My opinion only.
Avatar of Roshan Mohammed
another opton would be to use the veeam backup and recovery tool [installed on a pc for recovery sake, and use the exchnage recovery tool and use the exchnage 2010 edb file, and export the mailboxes.

cheers
Avatar of Tom-J-Lael

ASKER

I ended up forgoing rebuilding domain all together