25 C
Dubai
Friday, March 29, 2024

Remove Windows Server Backup Versions using PowerShell

Don’t know that if Windows Server Backup Disk Space Management Changed in Server Windows Server 2012 R2. Some servers It overwrites the backups properly without filling the disk. In some environments it doesn’t .

But lets see how to remove backups to get some free space. to keep it going.

To know how many Backup Copies we have in the Current machine –

(Get-WBBackupSet –MachineName DS001).count

image

To keep Latest 15 Versions and remove the rest.

Remove-WBBackupSet -MachineName DS001 -KeepVersions 15

image

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

3 COMMENTS

  1. I have windows 2012 std server, we use to take daily schedule backup, I have C Drive which is only have 40 gb of data but when the baremetal with C drive backup is happening , the total backup sizes become 80gb or so, why this happening.
    Pl suggest.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?