cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

Backup Exec D. Edition - Scripting a job to consolidate incrementals images

Martin_Jay_2
Not applicable
Hello Guys,

I try to write a script to consolidate incrementals images, but even if try a lot of things, Backup Exec tell me that parameters are not correct.

Here is an extract from the script I wrote :

Dim v2iAuto
Dim oNet
Dim oVolume
Dim oTempVol
Dim oNetLocation
Dim oImageJob
Dim sFolder

Set v2iAuto = CreateObject("Symantec.ProtectorAuto")

Set oNet = CreateObject("Wscript.Network")

Call v2iAuto.Connect(oNet.ComputerName)

Set oVolume = Nothing

For Each oTempVol in v2iAuto.Volumes(False)
If ( inStr(oTempVol.MountPoint,"D:")<>0 ) Then
Set oVolume = oTempVol
Exit For
End If
Next

Set oImageJob = CreateObject("Symantec.VProRecovery.ConsolidateJob")

oImageJob.Volume = oVolume.ID
oImageJob.BeginImage = "\\DK009976\BEDE\Drive001_i004.iv2i"
oImageJob.EndImage = "\\DK009976\BEDE\Drive001_i005.iv2i"
oImageJob.Password = ""
oImageJob.Reason = 1

Call v2iAuto.ConsolidateIncrementals(oImageJob)


If you have any idea of what the problem is ?

Thanks
0 REPLIES 0