Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Wireless  |  Forums   | Site Map | Services  | About Us | Chicagotech MVP  | Search  | Contact Us  |              

 

 

How to use wbadmin to backup in Windows Vista 2008

 

Wbadmin is a backup command line tool that comes with Vista and Windows 2008. With Wbadmin, you can back up and restore your operating system, volumes, files, folders, and applications from a command prompt.

Subcommand

Description

Wbadmin enable backup

Configures and enables a daily backup schedule.

This subcommand applies only to Windows Server 2008.

Wbadmin disable backup

Disables your daily backups.

This subcommand applies only to Windows Server 2008.

Wbadmin start backup

Runs a one-time backup. If used with no parameters, uses the settings from the daily backup schedule.

Wbadmin stop job

Stops the currently running backup or recovery operation.

Wbadmin get versions

Lists details of backups recoverable from the local computer or, if another location is specified, from another computer.

Wbadmin get items

Lists the items included in a specific backup.

Wbadmin start recovery

Runs a recovery of the volumes, applications, files, or folders specified.

This subcommand applies only to Windows Server 2008.

Wbadmin get status

Shows the status of the currently running backup or recovery operation.

Wbadmin get disks

Lists disks that are currently online.

This subcommand applies only to Windows Server 2008.

Wbadmin start systemstaterecovery

Runs a system state recovery.

This subcommand applies only to Windows Server 2008.

Wbadmin start systemstatebackup

Runs a system state backup.

This subcommand applies only to Windows Server 2008.

Wbadmin delete systemstatebackup

Deletes one or more system state backups.

This subcommand applies only to Windows Server 2008.

Wbadmin start sysrecovery

Runs a recovery of the full system (at least all the volumes that contain the operating system's state). This subcommand applies only to Windows Server 2008, and it is only available if you are using the Windows Recovery Environment.

Wbadmin restore catalog

Recovers a backup catalog from a specified storage location in the case where the backup catalog on the local computer has been corrupted.

This subcommand applies only to Windows Server 2008.

Wbadmin delete catalog

Deletes the backup catalog on the local computer. Use this subcommand only if the backup catalog on this computer is corrupted and you have no backups stored at another location that you can use to restore the catalog.

This subcommand applies only to Windows Server 2008.

Example

wbadmin start systemstatebackup -backupTarget:D:

 

In this example, we are backing up system state to D drive.

WBADMIN START BACKUP -backupTarget:f: -include:c: -quiet

In this example, we are backing up the C: drive and placing that backup on the F: drive. With -quiet switch, it doesn't requires the user interaction.

To back up specific folders, you would simply type in the folders seperated by a comma, like this:

-include:c:\temp,d:\mdata

 

Note: The wbadmin command replaces the ntbackup command that was released with previous versions of Windows. You cannot recover backups that you created with ntbackup by using wbadmin. However, a version of ntbackup is available as a download for Windows Server 2008 and Windows Vista users who want to recover backups that they created using ntbackup. This downloadable version of ntbackup enables you to perform recoveries only of legacy backups, and it cannot be used on computers running Windows Server 2008 or Windows Vista to create new backups. To download this version of ntbackup, see http://go.microsoft.com/fwlink/?LinkId=82917.

Post your questions, comments, feedbacks and suggestions

Contact a consultant

Related Topics


 

 


 

 

Hit Counter   This web is provided "AS IS" with no warranties.
Copyright 2002-2017 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.