backup to tape , how to remove source jobs

Everything about backing up to tape

backup to tape , how to remove source jobs

Veeam Logoby NMP » Tue Jul 26, 2016 9:27 am

Hi,
As Veeam cannot take direct backup to tapes. it has to be disk backup first. so when the source job complete, backup to tape can be taken.

my query is simple, due to disk space limitation, once disk to tape job is complete. I want to remove source jobs automatically in order to save disk space for the next backup. such situation may arise when we don't want to consume much disk space. as our daily, weekly, monthly and yearly go to disk.

from support they said, it is not possible. but it is possible to use PowerShell script to remove source jobs automatically once D2T is complete. I am looking for that script.
NMP
Lurker
 
Posts: 2
Liked: never
Joined: Thu Sep 24, 2015 1:31 pm
Full Name: Noor

Re: backup to tape , how to remove source jobs

Veeam Logoby v.Eremin » Tue Jul 26, 2016 1:18 pm

Are you using backup to tape or file to tape job? In the latter case, take a look at this script. Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: backup to tape , how to remove source jobs

Veeam Logoby NMP » Wed Jul 27, 2016 5:55 am

hi,

yes it is backup to tape job. Tape will store latest backup chain from disk.
NMP
Lurker
 
Posts: 2
Liked: never
Joined: Thu Sep 24, 2015 1:31 pm
Full Name: Noor

Re: backup to tape , how to remove source jobs

Veeam Logoby v.Eremin » Wed Jul 27, 2016 11:48 am

Then, it's just a matter of removing unnecessary files in a given directory, using Remove-Item cmdlet. Additional checks whether the job has finished successfully would not harm, though.

Code: Select all
If ((Get-VBRTapeJob -Name "Name of your Job").lastresult -eq "Success") }


Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 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 5 guests