ESEUtil /r questions

smith1974
smith1974 used Ask the Experts™
on
Hi

These questions revolve around E2007

I have been reading the article here: http://technet.microsoft.com/en-us/library/aa998075(EXCHG.65).aspx

But I was still a little confused :)

a. What does ESEUtil /r actually refer to; a hard recovery or a soft recovery?

b. And how does ESEUtil /C fit into

c. Does soft recovery actually take place automatically, it doesn't require an ESE switch?

d. If running ESEUtil /r and there are log files missing, will this force the DB to mount without the logs, and therefore result in data loss?

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
AkhaterSolutions Architect

Commented:
a. eseutil /r is soft recovery, eseutil /p is hard recovery
b. eseutil /c is used on restored databases
c. yes  soft recovery happens automatically when you mount the database
d. no eseutil /r will never lose data. if you have missing logs eseutil /r will fail
AkhaterSolutions Architect

Commented:
Excuse me I typed wrong above

eseutil /r is soft recovery: it is what needs to be done after a unplanned shutdown/failure of the database but db file and logs are available

eseutil /c is hard recovery (Not /p): what needs to be done after a restore

the rest is correct /c is hard recovery or restore mode

eseutil /p is rePair mode it ignores the logfiles at all

eseutil is done automatically when you try to mount a database that is in a dirty shutdown state

eseutil /r will not lose data. if there are missing logs it will fail

Author

Commented:
Thanks Akhater...

One set of final questions -

i. Regarding ESEUtil /r: I thought Exchange automatically tried to replay log files whenever a DB was mounted? In what situations would I need to manually run this command?

ii. Let's say Exchange had a dirty shutdown on a DB. When I remount, Exchange should automatically try and replay the logs, correct? If not, then I will recv a message saying that some logs are missing, then I run ESEUtil /r?

If there are some log files missing, then running /r won't result in data loss, but I will be prompted to run /a switch (with Exchange 2007), which will bring back the DB minus the transactions relating to those lost log files.

Is my understanding correct here?
Solutions Architect
Commented:
"i. Regarding ESEUtil /r: I thought Exchange automatically tried to replay log files whenever a DB was mounted? In what situations would I need to manually run this command?"

Yes when you try to mount a database that is in dirty shutdown state eseutil /r will be run automatically against it. however running it manually gives you sometimes more control like the /i or /a parameters for example more info can be found at

http://technet.microsoft.com/en-us/library/bb123479(EXCHG.80).aspx

"ii. Let's say Exchange had a dirty shutdown on a DB. When I remount, Exchange should automatically try and replay the logs, correct? If not, then I will recv a message saying that some logs are missing, then I run ESEUtil /r? "
it is a good practice to start with a /r first yes


"iii. If there are some log files missing, then running /r won't result in data loss, but I will be prompted to run /a switch (with Exchange 2007), which will bring back the DB minus the transactions relating to those lost log files."
as long as these missing log files are in the Lost Log Resilience  range

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial