Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Offload Veeam Files To Tape Library - BUE2012

Created: 12 Nov 2012 | 6 comments

Hi All,

Would like assistance in offloading Veeam files to tape using BUE2012.
We want to offload individual files to tape, for example:

veeam-image-full.vbk to 1 tape

veeam-image-incremental.vib to 1 tape

veeam-image-incremental.vib to 1 tape

and so on..

We dont want to offload all the files, but separately stored on different tapes.
The reason why we want these to be separate because the files are very big.

Also if possible we want to do differential on the incrementals, therefore when we need to restore, we only need 2 tapes (one full and the last differential).

Also if we are able to script this using PS1 or BEMCLI.

Any help would be appreciated.

Cheers!

Comments 6 CommentsJump to latest comment

CraigV's picture

Hi,

I configured BE 2010 to do this via an INCR backup. It would only backup the changed files on disk which worked well. Haven't done this in BE 2012 as it hasn't been installed yet, but it should be possible even with this version.

If you script this in BEMCLI and save it, you can call this script from within Veeam after it finishes its backup.

Thanks!

Alternative ways to access Backup Exec Technical Support:

https://www-secure.symantec.com/connect/blogs/alte...

AGGFanatic's picture

I'm doing DIFF backup, but it requires to schedule, how do we not schedule it? It doesnt give us the ability to disable or turn off the schedule.

For some reason in BUE2012, when you create a job, you need to have FULL and DIFF/INC in the same job.

CraigV's picture

Maybe log a call with Symantec and see if they can assist...otherwise look at the Admin Guide. There should be something in there.

Alternative ways to access Backup Exec Technical Support:

https://www-secure.symantec.com/connect/blogs/alte...

pkh's picture

Regardless of the version of BE, you need to run a full backup to establish a baseline before you can do either an incremental or a differential backup.  BE 2012 just enforces this requirement.

Presumably you are running your Veeam full and incremental jobs on a regular basis.  You can schedule your BE job to backup these files after the Veeam runs.  You can pur the BE jobs on hold and start them using a BEMCLI cmdlet, Start-BEJob.

It might be easier to backup your VM's with the BE AVVI option.

payneful's picture

I run a full backup weekly and a daily incremental in Veeam 6.5 of over 50 VMs. Each run of the Veeam jobs runs a post script to kick off a BE2012 job to back up ONLY what Veeam just backed up. The scripts also determine day of week and sets media set appropriately. So if its after 1 on Friday and 10 on Monday: uses weekend tapes...etc.

BE2012 and Veeam 6.5 are on the same physical server and Powershell must be configured and you would have to configure for your environment of course.

####Powershell Script Follows######

#
#Script for Veeam to Execute BE2012 Job
#powershell -Command ""
#>

import-module bemcli
#
$a = get-date
$startdate = ((Get-Date).toshortdatestring()+" 00:01:00")
$dow = ($a).DayOfWeek
$th = ($a).hour
#$ts = $a.toshorttimestring()
#
if ( $dow -eq "Sunday" ) {
$BESel = New-BEFileSystemSelection -Path "H:\VeeamBackups\Backup Job Webdev" -PathIsDirectory -Recurse -IncludeOnlyModifiedFiles -FromDate $startdate
Get-BEAgentServer falcon.auditor.hamilton-co.org | Submit-BEOnetimeBackupJob -BackupSetDescription "Webdev to tape" -Name "Webdev to tape" `
-FileSystemSelection $BESel -Storage "Dell LTO5 Robotic Library" `
-tapestoragemediaset "Tape Media Set Weekend" `
| Wait-BEJob
get-bejob -Name "Webdev to tape*" | Remove-BEJob -Confirm:$false
}
elseif ( $dow -eq "Saturday" ) {
$BESel = New-BEFileSystemSelection -Path "H:\VeeamBackups\Backup Job Webdev" -PathIsDirectory -Recurse -IncludeOnlyModifiedFiles -FromDate $startdate
Get-BEAgentServer falcon.auditor.hamilton-co.org | Submit-BEOnetimeBackupJob -BackupSetDescription "Webdev to tape" -name "Webdev to tape" `
-FileSystemSelection $BESel -Storage "Dell LTO5 Robotic Library" `
-tapestoragemediaset "Tape Media Set Weekend" `
| Wait-BEJob
get-bejob -Name "Webdev to tape*" | Remove-BEJob -Confirm:$false
}
elseif ( $dow -eq "Friday" -and $th -gt "13" ) {
$BESel = New-BEFileSystemSelection -Path "H:\VeeamBackups\Backup Job Webdev" -PathIsDirectory -Recurse -IncludeOnlyModifiedFiles -FromDate $startdate
Get-BEAgentServer falcon.auditor.hamilton-co.org | Submit-BEOnetimeBackupJob -BackupSetDescription "Webdev to tape" -name "Webdev to tape" `
-FileSystemSelection $BESel -Storage "Dell LTO5 Robotic Library" `
-tapestoragemediaset "Tape Media Set Weekend" `
| Wait-BEJob
get-bejob -Name "Webdev to tape*" | Remove-BEJob -Confirm:$false
}
elseif ( $dow -eq "Monday" -and $th -lt "10" ) {
$BESel = New-BEFileSystemSelection -Path "H:\VeeamBackups\Backup Job Webdev" -PathIsDirectory -Recurse -IncludeOnlyModifiedFiles -FromDate $startdate
Get-BEAgentServer falcon.auditor.hamilton-co.org | Submit-BEOnetimeBackupJob -BackupSetDescription "Webdev to tape" -name "Webdev to tape" `
-FileSystemSelection $BESel -Storage "Dell LTO5 Robotic Library" `
-tapestoragemediaset "Tape Media Set Weekend" `
| Wait-BEJob
get-bejob -Name "Webdev to tape*" | Remove-BEJob -Confirm:$false
}
else {
$BESel = New-BEFileSystemSelection -Path "H:\VeeamBackups\Backup Job Webdev" -PathIsDirectory -Recurse -IncludeOnlyModifiedFiles -FromDate $startdate
Get-BEAgentServer falcon.auditor.hamilton-co.org | Submit-BEOnetimeBackupJob -BackupSetDescription "Webdev to tape" -name "Webdev to tape" `
-FileSystemSelection $BESel -Storage "Dell LTO5 Robotic Library" `
-tapestoragemediaset "Tape Media Set Daily" `
| Wait-BEJob
get-bejob -Name "Webdev to tape*" | Remove-BEJob -Confirm:$false
}