Information Technology Reference
In-Depth Information
The Wbadmin.exe command line and the WindowsServerBackup Windows PowerShell
commands can be used to configure and initiate backups, including system state backups.
The Wbadmin.exe syntax is this:
wbadmin.exe /?
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2013 Microsoft Corporation. All rights reserved.
---- Commands Supported ----
ENABLE BACKUP -- Creates or modifies a daily backup schedule.
DISABLE BACKUP -- Disables the scheduled backups.
START BACKUP -- Runs a one-time backup.
STOP JOB -- Stops the currently running backup or recovery
operation.
GET VERSIONS -- Lists details of backups that can be recovered
from a specified location.
GET ITEMS -- Lists items contained in a backup.
START RECOVERY -- Runs a recovery.
GET STATUS -- Reports the status of the currently running
operation.
GET DISKS -- Lists the disks that are currently online.
GET VIRTUALMACHINES -- Lists current Hyper-V virtual machines.
START SYSTEMSTATERECOVERY -- Runs a system state recovery.
START SYSTEMSTATEBACKUP -- Runs a system state backup.
DELETE SYSTEMSTATEBACKUP -- Deletes one or more system state backups.
DELETE BACKUP -- Deletes one or more backups.
The Windows Server Backup Windows PowerShell cmdlets can also be used to configure
a backup by creating a WBPolicy object and then modifying it. For a list of the commands in
the WindowsServerBackup module, run this:
Get-Command -Mod WindowsServerBackup | Sort Noun,Verb | ft -auto Verb,Noun
Managing active Directory ofline
Some Active Directory tasks can be performed offline, including offline promotion to domain
controller and offline defragmentation of the AD DS database. Offline defragmentation is
covered in the following “Optimizing an Active Directory database” section.
You can promote a server to be a domain controller by using the Install From Media (IFM)
option. First, create the installation media by using Ntdsutil.exe:
Ntdsutil
activate instance ntds
ifm
create [Sysvol] <full/RODC> <pathtomediafolder>
Run the previous commands from an elevated shell with Domain Admin privileges. You
can create installation media for an RODC from either a full domain controller or another
RODC. However, you can create installation media for a full domain controller only from a full
 
 
Search WWH ::




Custom Search