• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 362
  • Last Modified:

Exchange 2007 RSG query

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
bruce_77
Asked:
bruce_77
  • 6
  • 4
1 Solution
 
MegaNuk3Commented:
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
 
bruce_77Author Commented:
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
 
MegaNuk3Commented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
bruce_77Author Commented:
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
 
MegaNuk3Commented:
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
 
bruce_77Author Commented:
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
 
MegaNuk3Commented:
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
 
bruce_77Author Commented:
""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
 
MegaNuk3Commented:
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
 
MegaNuk3Commented:
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now