Programming4us
         
 
 
Windows Server

Windows Server 2008 : Schedule Regular Full Server Backups of a Domain Controller by Using the Command Line

10/29/2010 7:21:18 PM
To schedule a regular full server backup of a domain controller by using the command line, perform the following steps:
1.
Log on to the domain controller you want to back up.

2.
Click Start, and click Command Prompt.

3.
To obtain the Disk Identifier value to use for the backup target, type the following command into the Command Prompt window, as shown in Figure 1, and then press Enter:

wbadmin get disks

Figure 1. Obtaining a disk identifier.


4.
Copy the value Disk Identifier value.

5.
In the Command Prompt window, type the following command and press Enter:

wbadmin enable backup -addtarget:{41fa84da-0000-0000-0000-000000000000} -schedule:21:00 -include:C: -quiet

Table 1 lists each parameter used in the previous command.

Table 1. Parameters to Schedule Regular Full Server Backups of a Domain Controller by Using the Command Line
ParameterMeaning
enable backupConfigure and enable a daily backup.
-addtarget:The storage location of the backups. {41fa84da-0000-0000-0000-000000000000} represents the object identifier retrieved in Step 3.
-scheduleThe schedule of the daily backups.
-includeThe disks to include in the backups.
-quietDo not prompt to proceed with the backup operation.

Tip

When a local drive is used as the backup target, you cannot select a drive that is included in the full backup.

6.
The status and results of the backup are written to the command prompt window, as shown in Figure 2.

Figure 2. Scheduling a full backup status and results in the command prompt window.


Tip

For a full list of wbadmin enable backup parameters, go to http://technet.microsoft.com/en-us/library/cc742130.aspx.

Other -----------------
- Windows Server 2008 : Schedule Regular Full Server Backups of a Domain Controller by Using the Windows Interface
- Windows Server 2008 : Perform an Unscheduled Full Server Backup of a Domain Controller by Using the Command Line
- Windows Server 2008 : Perform an Unscheduled Full Server Backup of a Domain Controller by Using the Windows Interface
- Windows Server 2008 : Perform an Unscheduled Backup of Critical Volumes of a Domain Controller by Using the Command Line
- Windows Server 2008 : Perform an Unscheduled Backup of Critical Volumes of a Domain Controller by Using the Command Line
- Windows Server 2008 : Perform an Unscheduled Backup of Critical Volumes of a Domain Controller by Using the Windows Interface
- Windows Server 2008 : Install the Windows Server Backup Server Feature
- Windows Server 2008 : Work with Group Policy Modeling and Results
- Windows Server 2008 : Configure Group Policy Application Settings
- Windows Server 2008 : Create and Apply Group Policies
- Windows Server 2008 : Use Starter GPOs
- Windows Server 2008 : Grasp the Structure of Group Policy
- Troubleshoot Windows Server 2008
- Windows Server 2008 : Use the Command-Line Server Manager (ServerManagerCmd.exe)
- Windows Server 2008 : Perform Role and Feature Management
- Windows Server 2008 : Use Initial Configuration Tasks
- Windows Server 2008 : Install and Configure the File Services Role
- Configure IPv6 in Windows Server 2008
- Windows Server 2008 : Install and Configure the DHCP Server Role
- Windows Server 2008 : Install and Configure the DNS Server Role
 
 
Most View
- Exchange Server 2010 : Planning Cross-site Failovers (part 1)
- Identity and Access Management : Cloud Authorization Management
- SQL Server 2008: Administering Database Objects - Working with Tables (part 2) - Primary Key Constraints & Unique Constraints
- Windows Server 2008 : Install the Terminal Server Role Service
- Windows Phone 7 Game Development : The World of 3D Graphics - The Depth Buffer
- jQuery 1.3 : Sharing a plugin with the world
- iOS SDK : Debugging (part 2) - Watchpoints
- SharePoint 2010 : Use Built-in Web Parts (part 1) - Use the List View Web Part
- jQuery 1.3 : Compact forms (part 2) - AJAX auto-completion
- Parallel Programming with Microsoft Visual Studio 2010 : Task Parallelism - Sort Examples
Top 10
- Windows Phone 7: Editing a Contact
- Central Management Servers (part 1) - Creating a Central Management Server
- Cloud-Enabling the ESB with Windows Azure (part 2) - Sending Messages to Azure’s AppFabric Service Bus
- Exchange 2010 : Managing Exchange Recipients (part 1)
- Securing Windows 7 : Thwarting Snoops and Crackers (part 2) - Locking Your Computer Manually, Automatically
- Exchange Server 2010 : Designing and Implementing Transport Rules
- jQuery 1.3 : The jQuery UI plugin library
- SOA with .NET and Windows Azure : WCF Discovery (part 1) - Discovery Modes
- Windows Phone 7 : Using Excel Mobile
- Windows Phone 7 : Editing Text