Home > Commands N-Z > Commands V

VSSADMIN


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Displays current volume shadow copy backups and all installed shadow copy writers and providers in the command window.


Syntax

VSSADMIN /?

VSSADMIN ADD SHADOWSTORAGE /for=for_volume /on=on_volume [/maxsize=max_size]

VSSADMIN CREATE SHADOWSTORAGE /for=for_volume [/autoretry=max_retry]

VSSADMIN DELETE SHADOWS /for=for_volume [/all] [/oldest] [/quiet] /shadow=shadow_id

VSSADMIN DELETE SHADOWSTORAGE /for=for_volume [/on=on_volume] [/quiet]

VSSADMIN LIST [shadows [/set= [shadow_copy_set_GUID]] | providers | volumes | writers]

VSSADMIN LIST [shadows [/for=for_volume] [/shadow=shadow_id]]

VSSADMIN [LIST SHADOWSTORAGE [/for=for_volume] [/on=on_volume]]

VSSADMIN RESIZE SHADOWSTORAGE /for=for_volume /on=on_volume [/maxsize=max_size]


Parameters
ADD SHADOWSTORAGE (NT2003)
Adds a shadow copy storage association for the given for_volume on the on_volume shadow copy storage volume.
CREATE SHADOWSTORAGE (NT2003)
Adds a shadow copy storage association for the given for_volume on the on_volume shadow copy storage volume.
DELETE SHADOWS (NT2003)
Deletes all existing shadow copies for the given for_volume.
You can delete shadow copies that have the client accessible type only.
DELETE SHADOWSTORAGE (NT2003)
Deletes volume shadow copy storage association between for_volume and on_volume.
If on_volume omitted, all shadow copy storage associations will be deleted for the given for_volume.
LIST SHADOWSTORAGE (NT2003)
Displays all shadow copy storage associations on the system.
providers (NTXP)
Lists the name, type, GUID, and version of all installed shadow copy providers.
RESIZE SHADOWSTORAGE (NT2003)
Resizes the maximum size for a shadow copy storage association between for_volume and on_volume.
Resizing the storage association may cause shadow copies to disappear.
shadows (NTXP)
Lists all shadow copies on the system ordered by shadow copy set.
volumes (NT2003)
Lists volumes eligible for shadow copies.
writers (NTXP)
Lists the name, GUID, instance ID, and status of all installed shadow copy writers.

Switches
/? (NTXP)
Displays help.
/all (NT2003)
?
/autoretry=auto_retry (NT2003)
Try to create shadow for auto_retry minutes when another process is creating a shadow copy.
/for=for_volume (NT2003)
Local storage volume drive letter or mount point.
/maxsize=max_size (NT2003)
Maximum space that the association may occupy on the shadow copy storage volume is max_size. If omitted, there is no limit to the amount of space it may use. If the maximum number of shadow copy storage associations have already been made, an error is given. max_size must be 100 MB or greater (1 MB or greater for RESIZE SHADOWSTORAGE) and accepts the suffixes:
/oldest (NT2003)
Oldest shadow copy is deleted.
/on=on_volume (NT2003)
On storage volume.
/quiet (NT2003)
?
/set= [shadow_copy_set_GUID] (NTXP ONLY)
Globally Unique Identifier (GUID) for the shadow copy set (a group of shadow copies created at the same time).
/shadow=shadow_id (NT2003)
Deletes the shadow copy with that shadow_id.
You can get the shadow_id by using LIST SHADOWSTORAGE. When you type a shadow_id, use the format: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}, where the X's are hexadecimal characters.

Related

none.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NTXP NT2003