Backing up Active Directory on Windows Server 2008

It is worth explaining well, how to make a backup of our Active Directory in case at any given time we need to restore objects from it, are users, Ous, Printers… This document explains how to install backup software from Microsoft, since NTBackup has not been continued, but with a new utility called “Windows Server Backups”.

To install “Windows Server Backups” we can do it through GUI as well as by command line, for example to use it on a Windows 2008 Core, With the command:

servermanagercmd -install Backup-Features

… wait a few seconds while this feature is installed… Ok,

GOOD, to have a backup of the Active Directory, simply make a copy of the System State of the primary domain controller, we will have to take into account that it will not let us make the copy on the same system unit, So we need therefore another volume/partition or disk. The following command executes the copy:

wbadmin start systemstatebackup -backuptarget:UNIDAD_DESTINO:

It tells us that it will back up the system state of volume C: to whom we have indicated, Confirm, “S”,

… We wait while the copy is made…

The end, Ok…

More interesting commands:
Back up the drives we are interested in: WBADMIN Start Backup –include:c:,d:,and: –backuptarget:UNIDAD_DESTINO:
Back up all critical volumes: wbadmin start backup -allcritical –backuptarget:UNIDAD_DESTINO:
Check the status of a running backup: WBADMIN get status
For a backup that's running right now: WBADMIN Stop Job
Schedule a backup: WBadmin Enable Backup –AddTarget:and: -Include:c:,d:,and: -schedule:05:30,14:30,20:30
To disable scheduled backups: WBadmin disable backup


Recommended Posts

Author

nheobug@bujarra.com
Autor del blog Bujarra.com Cualquier necesidad que tengas, Do not hesitate to contact me, I will try to help you whenever I can, Sharing is living ;) . Enjoy documents!!!