Delete VM Backup after archive

Everything about backing up to tape

Delete VM Backup after archive

Veeam Logoby Ryad » Thu Dec 05, 2013 1:03 pm

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,
Ryad
Novice
 
Posts: 3
Liked: never
Joined: Thu Dec 05, 2013 6:35 am

Re: Delete VM Backup after archive

Veeam Logoby Vitaliy S. » Thu Dec 05, 2013 1:22 pm

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!
Vitaliy S.
Veeam Software
 
Posts: 19566
Liked: 1104 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Delete VM Backup after archive

Veeam Logoby Ryad » Thu Dec 05, 2013 1:33 pm

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,
Ryad
Novice
 
Posts: 3
Liked: never
Joined: Thu Dec 05, 2013 6:35 am

Re: Delete VM Backup after archive

Veeam Logoby foggy » Thu Dec 05, 2013 2:14 pm

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.
foggy
Veeam Software
 
Posts: 14746
Liked: 1083 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Delete VM Backup after archive

Veeam Logoby Ryad » Thu Dec 05, 2013 2:49 pm

Thanks,

I will give the scripting a try.

Cheers.
Ryad
Novice
 
Posts: 3
Liked: never
Joined: Thu Dec 05, 2013 6:35 am

Re: Delete VM Backup after archive

Veeam Logoby v.Eremin » Sun Dec 22, 2013 1:49 pm

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.
v.Eremin
Veeam Software
 
Posts: 13290
Liked: 971 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to Tape



Who is online

Users browsing this forum: No registered users and 12 guests