Is there a way to inlude the System Reserved Related Drive when adding an image job with vb script? The file is created when defining the back-up job manually.
'-----------------------------------------------------------------------------------------
' Step 7: Create an image job.
' Parameters used: DisplayName - specify a display name for the image job
' Description - specify a description for the image job
' IncrementalSupport - true/false
' RunOnce - true/false
' Compression types
' IMAGE_COMPRESSION_LOW
' IMAGE_COMPRESSION_MEDIUM
' IMAGE_COMPRESSION_HIGH
' IMAGE_COMPRESSION_NEWMEDIUM
'-----------------------------------------------------------------------------------------
Set oImageJob = CreateObject("Symantec.VProRecovery.ImageJob")
oImageJob.DisplayName = "Backup of C"
oImageJob.Description = "Regular backup image of my system volume."
oImageJob.IncrementalSupport = false
oImageJob.RunOnce = false
oImageJob.Compression = oImageJob.Constants.ImageCompressionLow
oImageJob.Reason = oImageJob.Constants.ImageReasonAutomatic
oImageJob.Volumes = Array(pVolume)
'oImageJob.Volumes = Array(arr)
oImageJob.Task = oTask
oImageJob.Location(oVolumeSys.ID) = oLocation
oImageJob.Location(oVolumeC.ID) = oLocation
oImageJob.Quota=1
'-----------------------------------------------------------------------------------------
' Step 8: Add the image job to the list of jobs.
'-----------------------------------------------------------------------------------------
Call v2iAuto.AddImageJob(oImageJob)
WScript.Echo "Image Job added successfully."