D
dan tudor
Hello everybody.
I am reposting this message since I initially posted it (by mistake)
as a follow up to another thread
I am playing with the authoritative restore of Active Directory and I
have the following problem:
I have 2 Windows 2000 domain controllers in my domain.
I created 5 users - test1, test2,.., test5 - and I backed up one of
them (of course, including the System State)
After the backup was completed, I deleted the 5 users and I waited for
the Active Directory to be replicated to the second domain controller.
Here I want to test the authoritative restore, therefore I reboot the
computer that I backed up in Directory Services Restore Mode, I
restore the System State and I run < ntdsutil "authoritative restore"
"restore database" quit quit>.
ntdsutil completes successfully and I restart the computer in normal
mode.
The users test1,..test5 are there, and they are replicated on the
second domain controller.
So far is OK, but the problem appears if I repeat the test, starting
from this point: delete the 5 users, restart the computer in
Dir.Serv.Rest.Mode, restore System State (with Active Directory), run
again ntdsutli with the same options ("authoritative restore" and
"restore database") and restart the computer. This time the 5 users
are not anymore in my Active Directory.
One difference I was able to find, from the Event Viewer->Directory
Services:
- after restarting the computer in normal mode, after the first
restore, there were some logs which were specifying the updates to USN
for users for example:
the USN from the backup was 2475, "previous" USN something bigger,
like 3640 (not remember exactly, but normally, since the objects were
marked as authoritative) an new USN, the same like the one from
backup, 2475.
- after restarting the computer in the normal mode, after the second
restore, the USN from backup was, of course, the same - 2475, the
"previous" USN was over 4000, but the new USN was 0.
Has anybody any idea why is this behaviour? Is it by design that you
cannot do an authoritative restore more than once, in order to recover
the same objects?
Thanks,
Dan
I am reposting this message since I initially posted it (by mistake)
as a follow up to another thread
I am playing with the authoritative restore of Active Directory and I
have the following problem:
I have 2 Windows 2000 domain controllers in my domain.
I created 5 users - test1, test2,.., test5 - and I backed up one of
them (of course, including the System State)
After the backup was completed, I deleted the 5 users and I waited for
the Active Directory to be replicated to the second domain controller.
Here I want to test the authoritative restore, therefore I reboot the
computer that I backed up in Directory Services Restore Mode, I
restore the System State and I run < ntdsutil "authoritative restore"
"restore database" quit quit>.
ntdsutil completes successfully and I restart the computer in normal
mode.
The users test1,..test5 are there, and they are replicated on the
second domain controller.
So far is OK, but the problem appears if I repeat the test, starting
from this point: delete the 5 users, restart the computer in
Dir.Serv.Rest.Mode, restore System State (with Active Directory), run
again ntdsutli with the same options ("authoritative restore" and
"restore database") and restart the computer. This time the 5 users
are not anymore in my Active Directory.
One difference I was able to find, from the Event Viewer->Directory
Services:
- after restarting the computer in normal mode, after the first
restore, there were some logs which were specifying the updates to USN
for users for example:
the USN from the backup was 2475, "previous" USN something bigger,
like 3640 (not remember exactly, but normally, since the objects were
marked as authoritative) an new USN, the same like the one from
backup, 2475.
- after restarting the computer in the normal mode, after the second
restore, the USN from backup was, of course, the same - 2475, the
"previous" USN was over 4000, but the new USN was 0.
Has anybody any idea why is this behaviour? Is it by design that you
cannot do an authoritative restore more than once, in order to recover
the same objects?
Thanks,
Dan