{"id":815,"date":"2016-02-18T16:11:51","date_gmt":"2016-02-18T14:11:51","guid":{"rendered":"http:\/\/dety.net.ua\/?p=815"},"modified":"2016-02-18T16:11:51","modified_gmt":"2016-02-18T14:11:51","slug":"delete-windows-server-backups","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=815","title":{"rendered":"Delete Windows Server Backups"},"content":{"rendered":"<p><span style=\"font-family: Calibri;\"> We can delete older backups and free the space occupied by them using the following two ways:<\/span><\/p>\n<p><span style=\"font-family: Calibri;\">\u00a0<\/span><b><span style=\"font-family: Calibri;\">1.<\/span><span style=\"font-family: 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><span style=\"font-family: Calibri;\">Deleting System State Backup: <b>wbadmin delete systemstatebackup \u2013keepversions:10\u00a0\u00a0\u00a0<\/b><\/span><\/p>\n<p><span style=\"font-family: Calibri;\">The above command will keep the latest 10 versions and delete the rest all the system state backups.<\/span><\/p>\n<p><span style=\"font-family: Calibri;\">2.<\/span><span style=\"font-family: 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"font-family: Calibri;\">Deleting other backups: \u00a0Backup application stores multiple backup versions in the VSS shadow copies. Hence, older backup version can be deleted by deleting older shadow copy. Commands to list and delete VSS shadow copies are below. They need to be run in an elevated command window.<\/span><\/p>\n<p><span style=\"font-family: Symbol;\">\u00a0\u00b7<span style=\"font-family: 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"font-family: Calibri;\"><b>vssadmin list shadows \/for=x: \u2013 <\/b>for listing the snapshots on x: where x: is the backup location<\/span> <\/span><\/p>\n<p><span style=\"font-family: Symbol;\">\u00b7<span style=\"font-family: 'Times New Roman';\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"font-family: Calibri;\"><b>vssadmin delete shadows \/for=x: \u00a0\/oldest \u2013 <\/b>for delete the oldest shadow copy. It can be called multiple times in case there is need to delete multiple older backups.<b><\/b><\/span> <\/span><\/p>\n<p><span style=\"font-family: Calibri;\">\u00a0Note: wbadmin get versions or backup UI would still report deleted backups until next backup runs. At end of each backup \u2013 non-existent backups are removed from the backup catalog.<\/span><\/p>\n<p><span style=\"font-family: Calibri;\">\u00a0<\/span>3.<span style=\"font-family: Calibri;\">\u00a0 Following command that will delete the oldest System State Backup to just unblock you:<\/span><\/p>\n<p><b><span style=\"font-family: Calibri;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 wbadmin delete systemstatebackup \u2013deleteOldest<\/span><\/b><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We can delete older backups and free the space occupied by them using the following two ways: \u00a01.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Deleting System State Backup: wbadmin delete systemstatebackup \u2013keepversions:10\u00a0\u00a0\u00a0 The above command will keep the latest 10 versions and delete the rest all the system state backups. 2.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Deleting other backups: \u00a0Backup application stores multiple backup versions in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,12],"tags":[],"class_list":["post-815","post","type-post","status-publish","format-standard","hentry","category-novosti","category-windows"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=815"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/815\/revisions"}],"predecessor-version":[{"id":816,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/815\/revisions\/816"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}