Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
Ryad
Novice
Posts: 3
Liked: never
Joined: Dec 05, 2013 6:35 am
Contact:

Delete VM Backup after archive

Post by Ryad »

Hi,

I am using Veeam 7 to backup a Hyper-V environment.
I need to perform full backups of VMs on tape everyday. Is it possible to delete the backup files created in the repository after the VM backup has been archived on tape?

Thanks,
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Delete VM Backup after archive

Post by Vitaliy S. »

Hello,

I think you can control the number of restore points by the retention policy settings. Since you offload full backups every day to tape, you could delete existing files on the next backup job run. What is your current retention policy settings of the backup job?

Thank you!
Ryad
Novice
Posts: 3
Liked: never
Joined: Dec 05, 2013 6:35 am
Contact:

Re: Delete VM Backup after archive

Post by Ryad »

My issue is that i have 1TB of storage allocated to the repository but I have to backup about 1.4TB of data.
The plan is to create 2 Full-Backups per day and have the space release after the first backup completes.

Thanks,
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Delete VM Backup after archive

Post by foggy »

You could use the post-activity script that would trigger the backup to tape job and then clean up the repository after. Don't forget to set the registry key to prevent job failures due to missing backups.
Ryad
Novice
Posts: 3
Liked: never
Joined: Dec 05, 2013 6:35 am
Contact:

Re: Delete VM Backup after archive

Post by Ryad »

Thanks,

I will give the scripting a try.

Cheers.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Delete VM Backup after archive

Post by veremin »

It should be possible to find the oldest .vbk in the given repository, using the following script:

Code: Select all

$SourcePath = "Path to your repository"
$OldestVBK = Get-ChildItem $SourcePath\*.vbk| Sort-Object CreationTime -Descending | Select-Object -Last 1
Thanks.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 24 guests