Partager via


Wbadmin get items

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Vista

Lists the items included in a specific backup.

To use this subcommand, you must be a member of the Backup Operators group or the Administrators group, or you must have been delegated the appropriate permissions. In addition, you must run wbadmin from an elevated command prompt. (To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.)

For examples of how to use this subcommand, see Examples.

Syntax

wbadmin get items
-version:<VersionIdentifier>
[-backupTarget:{<BackupTargetLocation> | <NetworkSharePath>}]
[-machine:<BackupMachineName>]

Parameters

Parameter Description

-version

Specifies the version of the backup in MM/DD/YYYY-HH:MM format. If you do not know the version information, type wbadmin get versions.

-backupTarget

Specifies the storage location that contains the backups for which you want the details. Use for listing backups stored at that target location. Backup target locations can be locally attached disk drives, volumes, remote shared folders, removable media such as DVD drives or other optical media.If wbadmin get items is run on the same computer where the backup was created, this parameter is not needed. However, this parameter is required to get information about a backup created from another computer.

-machine

Specifies the name of the computer that you want the backup details for. Useful when multiple computers have been backed up to the same location. Should be used when -backupTarget is specified.

Examples

To list items from the backup that was run on March 31, 2005 at 9:00 A.M., type:

wbadmin get items -version:03/31/2005-09:00

To list items from the backup of server01 that was run on April 30, 2005 at 9:00 A.M. and stored on \\servername\share, type:

wbadmin get items -version:04/30/2005-09:00 -backupTarget:\\servername\share -machine:server01

Additional references