By default, VSS is configured to write shadow copies to a storage location on the local volume which can result in VSS errors during backup if the Windows 2008 Server is low on disk space or the IO is too high to maintain the shadow copies. To resolve this issue, you can configure VSS to write shadow copies to a different drive or NTFS volume on the Server. Dedicate a separate drive that is not being backed up to the shadow copies, or if a separate drive is not available, configure a separate NTFS volume on the server that contains the paging file and is not being backed up.
Use the following steps to configure VSS to write the shadow copies to a different location:
- On the Windows 2008 Server, navigate to C:\Windows\System32\, right-click cmd.exe, and click Run as administrator.
- At the command prompt, run the following command:
vssadmin add shadowstorage /for=<backed up drive> /on=<new shadow copy drive> /maxsize=<allowed disk space percent usage>
- if the VSS shadow copies of drive D: are to be stored on drive C: and can use up to 90% of free disk space on drive C, you would enter the command:
vssadmin add shadowstorage /for=d: /on=c: /maxsize=90%
- Once the command is run, the following message display:
Successfully added the shadow copy storage association
- To view the shadow copy storage locations, run the following command:
vssadmin list shadowstorage