how to free disk space on the server with scheduled server backup

If you use configured scheduled Windows Server Backup then you may noticed that with time all you disk space is occupied by backups – 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