BKP
Hello, I have open a thread few days ago about an error I have made. I have deactivated 1000 accounts (Get-mailuser) that I have recreated straight ahead! However I have lost the smtp email addresses (we have few accetped domains and remove policy). Anyway, I would like to know if they would have had any way to do roll back? WOuld it be possible to backup and restore the database? How would that work? How often backup should be done ? (scheduled?) Thanks, Graig
June 3rd, 2011 12:44pm

1. I dont believe this will be possible for an exch point of view. The database wont hold the smtp addresses, this is in AD. 2. If you havent got a recent export then you cant do much. 3. You can maybe setup a test-lab (isoloated) restore your AD then export smtp addresses to CSV then use that and import into your live env. Sukh
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2011 2:05pm

Can you try re-applying your Email Address Policies, by opening up each one, running through the "Next, Next, Finish" process and telling it to apply immediately?dave
June 3rd, 2011 8:24pm

Hi, I think best way to backup settings is to use "Start-Transcript" cmdlet and use Get-MailUser | select * These simple commands will drop all properties to a text file for future use. Then Stop-Transcript when done, or you can use CSV: $a=@() $a +=get-mailuser -resultsize unlimited | select * $a | select alias,emailaddresses -expandproperty emailaddresses | export-csv <path + filename> -encoding unicode with regard Zbynk
Free Windows Admin Tool Kit Click here and download it now
June 4th, 2011 12:01am

How's the issue currently? Any further information?Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
June 6th, 2011 8:39am

Hi guys, sorry for late reply! I was pretty busy handling issues that came up afterwards.. @Sukh: "If you havent got a recent export then you cant do much." How should I proceed to do an export? @ Dave; prior Email Address Policies have been deleted I cannot re-apply those :-S @ Zbynk: Good idea but I thought about a point of restore that would allow be to do a roll back in case something would go wrong user deactivated, distribution group, Exchange server badly configured or whatever... something that would save me ;-) not as last time. @ James-Luo: same same. If I would know how to backup the configuration and users profile I would be more at ease and would point that out to my mangers who aren't happy about what happened (my bad..). Thanks to all, Graig
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2011 9:58am

Hi Graiggoriz, Transcript dumps all the user settings to text file and those you can use later on. If you disable-mailuser, it just removes Exchange properties of that user, but does not remove AD object, so you cac still Enable-MailUser if something goes wrong: Enable-Mailuser Use your settings to Set-MailUser: http://technet.microsoft.com/en-us/library/aa995971.aspx Regards Zbynk
June 7th, 2011 11:13am

Thanks Zbynk I already did an extrat from EMC of all mailboxes mailusers and distribution groups (OU, primary external email address and emailaddresses). I would be interested in knowing how to backup the Exchnage 2007 database? I mean is there anything to do to get a point of retore in case of wrong manipulation or else?? Thanks, Graig
Free Windows Admin Tool Kit Click here and download it now
June 8th, 2011 9:16am

The database backup won't help, the settings are stored in AD for the user accounts. When you "deactivated" their accounts, you basically de-provisioned their AD account which removes the Exchange related attributes including the proxyaddresses. In order to get these back you will need to perform an AD restore of the user accounts. If your backup software has capability to do a single user restore, test it out with a single test account to verfiy.James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
June 8th, 2011 7:46pm

@James-Luo - I thought my post mentioned that :-)Sukh
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2011 12:05pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics