PowerShell script exchange
Post Reply
Cragdoo
Veeam Vanguard
Posts: 629
Liked: 251 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

Defragment and compact full backup file - cmdlet

Post by Cragdoo »

Is there any way to manually run a Defragment and compact full backup file ? Is there a corresponding powershell cmdlet?

Reason I ask is we had someone add a cluster object to a job, which resulted in an addtional 15TB of space being consumed. We removed the VMs from the job, and deleted the restore points (thankfully we were on per-vm chains) .

Looking to clean up and reclaim some space from the full backup file.
veremin
Product Manager
Posts: 20406
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Defragment and compact full backup file - cmdlet

Post by veremin »

Unfortunately, not. The only thing you can do programmatically is to:

- Schedule compact/defrag to the current date
- Execute job
- Let compact/defrag operation finish
- Re-schedule compact/defrag to whatever day you want to

More or less similar concept.

Thanks.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 16 guests