Windows server 2008 – How to mount or unmount Active Directory snapshot

Posted by aidas | Posted in Active directory, Command line, Windows 2008 | Posted on 06-05-2009

0

This post will show you how to mount or unmount Active Directory snapshot using command line on your Windows server 2008. Snapshot is a copy of active directory which contains active directory database and log files and it  can be viewed without starting server in Directory Services Restore Mode.

To list all available snaphosts on server type:

ntdsutil press Enter

snapshot press Enter

list all press Enter

You will see all available snapshots with specific GUID {…..} . To mount snapshot note GUID of snapshot you would like to mount and type:

mount {<GUID>}

To unmount snapshot type:

unmount {<GUID>}

Windows server 2008 – How to create Active Directory snapshot

Posted by aidas | Posted in Active directory, Command line, Windows 2008 | Posted on 06-05-2009

0

This post will show you how to create Active Directory snapshot using command line on your Windows server 2008. Snapshot is a copy of active directory which contains active directory database and log files. Snapshot can be viewed without starting server in Directory Services Restore Mode.

Before creating snapshot you need to set AD as active instance. To do it open command line and type:

ntdsutil press Enter

activate instance NTDS press Enter

Now you are ready to create snapshot:

snapshot press Enter

create press Enter

You will see in output that snapshot was generated successfully.