質問する質問する
 

固定するCommand reference link for Volume Shadow Service operations

  • 2008年12月2日 18:00Stan WhiteMSFT, Moderatorユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    Configuration Manager is dependent on the Volume Shadow Service  -here is a link to the official VSS command reference:

    http://technet.microsoft.com/en-us/library/cc754968.aspx

     

     

    Here is a cheat sheet with some basic commands with their sample output.

      

    Code Snippet

    D:\vssadmin Add ShadowStorage /For=D: /On=E: /MaxSize=30000MB

    Successfully added the shadow copy storage association

     

     

    D:\>vssadmin List ShadowStorage

    Shadow Copy Storage association

       For volume: (D:)\\?\Volume{01a9f46c-9841-11da-8376-806e6f6e6963}\

       Shadow Copy Storage volume: (E:)\\?\Volume{201f6ac3-5da3-45dc-af52-15627f9a66db}\

       Used Shadow Copy Storage space: 0 B

       Allocated Shadow Copy Storage space: 0 B

       Maximum Shadow Copy Storage space: 29.297 GB

     

     

    D:\>vssadmin Delete ShadowStorage /For=D: /On=E:

    Successfully deleted the shadow copy storage association(s)

     

     

     

     

    D:\>vssadmin Add ShadowStorage /For=D: /On=E: /MaxSize=3000MB

    Successfully added the shadow copy storage association

    D:\>vssadmin Resize ShadowStorage /For=D: /On=E: MaxSize=30000MB

    Successfully resized the shadow copy storage association

     

     

     

    D:\>vssadmin List Writers

    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

    (C) Copyright 2001 Microsoft Corp.

    Waiting for responses.

    These may be delayed if a shadow copy is being prepared.

    Writer name: 'SqlServerWriter'

       Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}

       Writer Instance Id: {74a867dd-651b-4b76-93cf-ec1864f2ab11}

       State: [1] Stable

       Last error: No error

    Writer name: 'SMS Writer'

       Writer Id: {03ba67dd-dc6d-4729-a038-251f7018463b}

       Writer Instance Id: {3b455ba2-b180-40b4-b295-b5fa2264ffd7}

       State: [1] Stable

       Last error: No error