If you use configured scheduled Windows Server Backup then you may noticed that with time all you disk space is occupied by backups &#8211; you need to configure retention for your backups: create scheduled task for bat file with following content: WBADMIN DELETE BACKUP -keepVersions:14 -quiet run this bat script each 2 weeks to check : WBADMIN get versions &nbsp; &nbsp;{"id":573,"date":"2017-04-06T20:44:54","date_gmt":"2017-04-06T12:44:54","guid":{"rendered":"http:\/\/www.itforce.mn\/?p=573"},"modified":"2017-04-11T23:59:25","modified_gmt":"2017-04-11T15:59:25","slug":"how-to-free-disk-space-on-the-server-with-scheduled-server-backup","status":"publish","type":"post","link":"https:\/\/www.itforce.mn\/index.php\/2017\/04\/06\/how-to-free-disk-space-on-the-server-with-scheduled-server-backup\/","title":{"rendered":"how to free disk space on the server with scheduled server backup"},"content":{"rendered":"<p>If you use configured scheduled Windows Server Backup then you may noticed that with time all you disk space is occupied by backups &#8211; you need to configure retention for your backups:<\/p>\n<ul>\n<li>create scheduled task for bat file with following content:\n<pre>WBADMIN DELETE BACKUP -keepVersions:14 -quiet<\/pre>\n<\/li>\n<li>run this bat script each 2 weeks<\/li>\n<li>to check :\n<pre>WBADMIN get versions<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,7],"tags":[],"class_list":["post-573","post","type-post","status-publish","format-standard","hentry","category-it-governance","category-sysadmin-thoughts"],"_links":{"self":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/comments?post=573"}],"version-history":[{"count":10,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":612,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/573\/revisions\/612"}],"wp:attachment":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/media?parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/categories?post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/tags?post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}