Solved

Exchange 2007 RSG query

Posted on 2011-03-07
10
341 Views
Last Modified: 2012-05-11
Hi

Ref: http://www.msexchange.org/tutorials/Working-Recovery-Storage-Groups-Exchange-2007.html

I understand the command to create an RSG in 2007 is:

New-StorageGroup –Server E2K7S04 –LogFolderPath “E:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\RSG" –Name “Recovery Storage Group” –SystemFolderPath “E:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\RSG” –Recovery

Can someone tell me what the difference between the LogFolderPath and SystemFolderPath is? What files actually go in there?

I guess the LogPath is for the transaction logs and restore.env file, what about the SystemFolderPath, is this for the actual restored database and checkpoint file path? Could someone confirm this? Should these both point to the same location or different?

What confuses me is that the next step is to create the EDB file:

New-MailboxDatabase –MailboxDatabaseToRecover “Mailbox Database” –StorageGroup “E2K7S04\Recovery Storage Group” –EDBFilePath “E:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\RSG\Mailbox Database.edb”

But why can't we just use the EDB file that gets restored by the backup?
0
Comment
Question by:bruce_77
  • 6
  • 4
10 Comments
 
LVL 31

Accepted Solution

by:
MegaNuk3 earned 500 total points
ID: 35059531
You are right about the systemfolderpath and logfilepath, you can use the same location for these since disk performance has no affect on restored DBs cause you are not going to be writing to the RSG DB and it wont be creating any new log files...

You have to assign a DB to the RSG so it knows which DB you will be restoring and then knows to redirect that restore to the RSG
0
 
LVL 2

Author Comment

by:bruce_77
ID: 35059593
Hello

Ok, understood about the DB bit

Can you tell me what files go to the systemfolderpath and which ones for the logfilepath? I assume the actual recovered edb is not involved in either of these?
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 35059697
The recovered EDB will go into the SystemFolderPath normally. The .chk file will go there too.

All the log files go into the logfilepath - which you already know.
0
 
LVL 2

Author Comment

by:bruce_77
ID: 35059727
So the SystemFolderPath is just for the chk file then really? Because we are specifying where the EDB file is going with the -EDBFilePath command as part of the below:

New-MailboxDatabase –MailboxDatabaseToRecover “Mailbox Database” –StorageGroup “E2K7S04\Recovery Storage Group” –EDBFilePath “E:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\RSG\Mailbox Database.edb

Anything else that goes in as part of the SystemFolderPath?

0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 35059784
Yep, just the .chk file then.

You can create the RSG and DB from the EMC instead if you want from EMC--> Toolbox.

You can use the same location for all the files and don't forget to remove the RSG and it's files when you are finished - I have seen RSGs mess up log truncation on the production database after backups a few times
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 2

Author Comment

by:bruce_77
ID: 35059837
Thanks for the help, MegaNuk3!

In terms of the location for the LogFolderPath, SystemFolderPath and the EDB file that we create (which is subsequently overwritten), is there any issue with having these all in the same location? Because I know there are restored log files and the R000.log type log files which may conflict and also the chk and restore.env files which may conflict as well?

From my understand the R000.log files are created when we create the EDB file that is going to be overwritten and the restore.env file is like a chk file but for the restored DB (i.e. it says what log files need to be replayed etc)
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 35062672
Having them all in the same location is not a problem - just remember to create a new directory for the RSG so you have no chance of conflicting with old/existing files from previous restores etc.

The RSG is intelligent so you will not have conflicting files during the restore to it. The log files get renamed to R000x.log during the restore.

Dont worry about restores to the RSG as it does what it says and us pretty hard to get wrong... You can just start the restore again if you need to OR worse case scenario, you can eseutil /p the RSG EDB...
0
 
LVL 2

Author Comment

by:bruce_77
ID: 35062849
""The log files get renamed to R000x.log during the restore."

If the backup software backed up E01xxxxxx1, E01xxxxxxx2, E01.log, are you saying that when these are restored, they are restored as R01xxxxxx1.log, R01xxxxxxx2.log etc? Does this not cause a problem when these logs need to be replayed into the database?

0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 35062976
Yep, they are restored as you said and no the renaming of them does not cause issues because as I said, the RSG is intelligent... The logs are only renamed in the the restore to the RSG, if you were to do a restore to production then the logs would not get renamed.
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 35063037
This link will explain it better(more correctly) than I can:
http://technet.microsoft.com/en-us/library/aa998362(v=exchg.65).aspx

I know it is for Exchange 2003, but the concept is still the same.
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
how to add IIS SMTP to handle application/Scanner relays into office 365.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now