Ask the Community
Groups
System State backup failing, backup has warnings about Space - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>System State backup failing, backup has warnings</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p> </p> <p>System State backup failing; Windows 7 backup has warnings about skipped files and System State backup failed and/or VSS_E_INSUFFICIENT_STORAGE or VSS_E_PROVIDER_VETO.</p> <p>.</p> <p> </p> <p> </p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p> </p> <h2 data-id="solution-1-command-line-ensuring-the-shadow-storage-has-been-set-up-correctly"><strong>Solution 1 - command line: Ensuring the Shadow Storage has been set up correctly</strong></h2> <p>To see the amount of storage space allocated and used for Volume Shadow Copies run the following command from a command prompt with elevated privileges:</p> <p><strong>vssadmin list shadowstorage</strong></p> <p> If you do not see the the storage listed, you need to add it (change the <strong>C:</strong> to the drive letter):</p> <p><strong>vssadmin add ShadowStorage /For=C: /on=C: /MaxSize=20%</strong></p> <p>If it already exists, but it says <strong>UNBOUNDED</strong> (means all of remainder), change it to <strong>20%</strong></p> <p><strong>vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=20%</strong></p> <h2 data-id="unmounted-system-volumes"><strong>Unmounted/System volumes</strong></h2> <p>For system unmounted partitions that are read only, i.e. system restore or boot volumes, assign to C: or disk with available space for 600mb allotment. This has been shown to assist with clearing VSS_E_PROVIDER_VETO unable to flush I/O write errors. Due to complexity of unmounted volume's naming convention GUI interface for setup is more efficient. </p> <h2 data-id="solution-1-gui-ensuring-the-shadow-storage-has-been-set-up-correctly"><strong>Solution 1 - gui: Ensuring the Shadow Storage has been set up correctly</strong></h2> <p><img src="https://us.v-cdn.net/6032361/uploads/migrated/PFZUEDXGCGR3/110.png" alt="Image result for configure shadow copies storage" class="embedImage-img importedEmbed-img"></img><br><img src="https://us.v-cdn.net/6032361/uploads/migrated/I88FUHJQE9QX/eid-ka01w000000g1rt-feoid-00n40000003czqx-refid-0em1w000000j0su." alt="User-added image" class="embedImage-img importedEmbed-img"></img><br><img src="https://us.v-cdn.net/6032361/uploads/migrated/OCTXNS43R6RZ/settinbgs.png" alt="Image result for configure shadow copies storage" class="embedImage-img importedEmbed-img"></img><br><br>Increase limit to 20% of disk space. In above example the default is 10% so double listed entry for each data volume. </p> <h2 data-id="solution-2-clearing-the-shadow-storage"><strong>Solution 2: Clearing the Shadow Storage</strong></h2> <p>During normal Windows operation, restore points will be created during software installation and other day to day operational tasks. These restore points create snapshots that reside in an area of the disk and consume disk space. Sometimes Windows has an internal error and cannot delete the storage. This disk space can be reclaimed by using the <strong>vssadmin</strong> command in an elevated (Administrator) MS-DOS Command Prompt. Once the command prompt is loaded, enter the following commands.</p> <p><strong>To verify that multiple snapshots exists that exceed the range of your Backup Chain Set, execute this command: vssadmin list shadows</strong></p> <p> <strong>WARNING</strong>: <strong>Do not run the </strong><strong>delete</strong><strong> or </strong><strong>resize</strong><strong> command if the computer is pending a reboot due to Windows Updates!</strong></p> <p><strong>Once you have rebooted the server and you confirm that the snapshot issue exists, execute this command to delete snapshots:</strong></p> <p><strong>To delete the oldest only: vssadmin delete shadows /For=</strong><strong>C:</strong><strong> /oldest</strong><br><strong>To delete all shadows:</strong> <strong>vssadmin delete shadows /all</strong></p> <p>This will remove all VSS snapshots on the system, prompting you first for confirmation. Running the command 'vssadmin list shadows' will display a list of snapshots on your system along with associated ID. Deletion by ID must specify a valid snapshot ID, deletion by volume must specify a valid Windows volume (e.g.: C:) and deletion of oldest snapshot simply removes the single, oldest snapshot on the system. An example of deleting by ID follows:</p> <p><strong>vssadmin delete shadows /shadow={42bb9090-723c-4107-8954-92006026defd}</strong></p> <p>To not be prompted by any of the commands use the <strong>/quiet </strong>flag.</p> <p>On some systems, the command <strong>vssadmin delete shadows</strong> isn't available.</p> <ul><li>In Windows XP VSS snapshots can't be persistent on XP (a reboot will get rid off them)</li> <li> <strong>Vista/2008</strong> you can delete shadows by <strong><em>reducing</em></strong> the size of the ShadowStorage: resize shadowstorage /On=<strong>C:/</strong>3GB</li> </ul><p>To resize the space reserved for ShadowStorage <em>(NOTE: change the <strong>C:</strong> to the drive letter):</em></p> <p><strong>vssadmin Resize ShadowStorage /For=</strong>C:<strong> /On=</strong>C:<strong> /MaxSize=</strong><span style="color: #b22222;"><strong>20%</strong></span><br><span style="color: #b22222;"><strong> ...OR if the computer doesn't accept percentages</strong></span><br><strong>vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=350MB</strong></p> <p>Once you complete your changes, we recommend you run a new 1-Time Full/Master to synchronize the new baseline data, and after the backup completes, you can run the new child backup that your schedule is based on.</p> <h2 data-id="cause"><strong>CAUSE</strong></h2> <p>ShadowStorage size not large enough</p> <h2 data-id="notes"><strong>NOTES</strong></h2> <p>For more detailed information on backup failures and performance issues see <a href="https://kaseya.vanillacommunities.com/kb/articles/aliases/unitrends/hc/en-us/articles/360013174757" rel="noopener nofollow">Unitrends KB 5062 - Backup Failures and Performance Issues</a></p> </article> </main>