Delete Image automation Process

1 -I need to know what is the object used to remove images from BESR7 for a VBscript.
    I have searched the automation docs and there is no reference.
    eg. v2iAuto.RemoveImage(oCurrentJob.ID)

2- If possible also where to retrive the  recovery counts for the backup sets
    eg. where is it coming from, eg. xml file , etc.

Thank you

4 Replies
Highlighted

Re: Delete Image automation Process

If you have not already done so, you may want to look at the example script files located on the product CD; currently Symantec Technical support does not offer assistance in scripting. As for your second question the XML formatted *.SV2i file located in the same sub-directory as the recovery point image set is where the count is stored and it is this file that gets invoked to determine if a new base or incremental update is to be formed.

Highlighted

Re: Delete Image automation Process

David,
1- yes I have been there and the 4 examples does not give reference to what I want.
    also, to let you know, out way of automating the entire BESR process is fully automated by vbs, since backup         runs and DR restores.
    backline has told me that if in any instances(whatever that many it is) of the backup fail, and is not able to update     a log (whatever it is) BESR will keep history of images until is really sure to remove/consolidate them.
    I searched the entire html reference for a clue to how to remove/delete the IMAGES not the job(s)
    Is there anyone out there that knows the function?

2- If you could be more specific as to what child should I be looking for would be great.
    i have been to all xml files before and expanded them all looking for a clue and nothing.
    I have now gone to the one you mentioned again and looked very closely to each key/parameter/child, etc and     cannot find any hint to the counts, and this counts should be obvious to find as I have far too many (10, 22, 28,     etc) since  we should have a maximun 6 for the week incremental run.

thank you again
   
Highlighted

Re: Delete Image automation Process

Hello support: here are the files:
30/03/2008  09:19 PM     5,652,611,072 C_Drive080.v2i
31/03/2008  07:51 PM        50,069,504 C_Drive080_i001.iv2i
01/04/2008  07:53 PM       234,356,736 C_Drive080_i002.iv2i
02/04/2008  07:52 PM        51,118,080 C_Drive080_i003.iv2i
03/04/2008  10:52 PM        52,953,088 C_Drive080_i004.iv2i
04/04/2008  10:53 PM        90,701,824 C_Drive080_i005.iv2i
06/04/2008  10:22 PM     5,686,165,504 C_Drive081.v2i
08/04/2008  10:33 PM       145,489,920 C_Drive081_i001.iv2i
09/04/2008  08:52 PM        51,380,224 C_Drive081_i002.iv2i
10/04/2008  11:54 PM       220,463,104 C_Drive081_i003.iv2i
11/04/2008  11:53 PM        52,690,944 C_Drive081_i004.iv2i
30/03/2008  08:43 PM     7,860,912,128 D_Drive080.v2i
31/03/2008  07:49 PM       515,112,960 D_Drive080_i001.iv2i
01/04/2008  07:50 PM       519,569,408 D_Drive080_i002.iv2i
02/04/2008  07:50 PM       523,501,568 D_Drive080_i003.iv2i
03/04/2008  10:50 PM       519,569,408 D_Drive080_i004.iv2i
04/04/2008  10:51 PM       542,900,224 D_Drive080_i005.iv2i
06/04/2008  09:46 PM     7,961,051,136 D_Drive081.v2i
08/04/2008  10:29 PM       950,534,144 D_Drive081_i001.iv2i
09/04/2008  08:50 PM       535,822,336 D_Drive081_i002.iv2i
10/04/2008  11:51 PM       536,346,624 D_Drive081_i003.iv2i
11/04/2008  11:50 PM       554,958,848 D_Drive081_i004.iv2i
30/03/2008  09:46 PM     5,579,735,040 E_Drive080.v2i
31/03/2008  07:51 PM           524,288 E_Drive080_i001.iv2i
01/04/2008  07:54 PM           524,288 E_Drive080_i002.iv2i
02/04/2008  07:52 PM           524,288 E_Drive080_i003.iv2i
03/04/2008  10:52 PM           524,288 E_Drive080_i004.iv2i
04/04/2008  10:53 PM           524,288 E_Drive080_i005.iv2i
06/04/2008  10:49 PM     5,579,735,040 E_Drive081.v2i
08/04/2008  10:34 PM           524,288 E_Drive081_i001.iv2i
09/04/2008  08:52 PM           524,288 E_Drive081_i002.iv2i
10/04/2008  11:54 PM           524,288 E_Drive081_i003.iv2i
11/04/2008  11:53 PM           524,288 E_Drive081_i004.iv2i
11/04/2008  11:53 PM             4,346 N178SSBWMF002.sv2i

IT COUNTS 6 FULL BACKUPS AND 27 INCREMENTALS
THE CONSOLE SHOWS:
    1SET: 6 RECOVERY POINTS
    2SET: 5 RECOVERY POINTS

HERE IS THE SV2I FILE:
<SDO clsid="{E097FFA2-58F0-4EDC-8489-4A4BD6230F26}">
    <ComputerName vt="8">N178SSBWMF002</ComputerName>
    <MemorySize vt="19">1022</MemorySize>
    <OSType vt="8">Windows XP Service Pack 2</OSType>
    <Volume1 vt="13" clsid="{C85BC36B-53ED-4760-A388-DE72B0A04119}">
        <VolumeType vt="8">Simple</VolumeType>
        <IsHidden vt="11">0</IsHidden>
        <IsActive vt="11">-1</IsActive>
        <ImageFile vt="8">\\n178ssbwmf001\backup$\N178SSBWMF002\C_Drive081_i004.iv2i</ImageFile>
        <DriveLetter vt="8">C:\</DriveLetter>
        <HistoryFile vt="8">C:\Documents and Settings\All Users\Application Data\Symantec\Backup Exec System Recovery\History\M2187241529Offset63_Volume.pqh</HistoryFile>
        <Label vt="8"/>
        <IsSystem vt="11">-1</IsSystem>
        <VolumeId vt="8">M2187241529Offset63_Volume</VolumeId>
        <IsExchangeServer vt="11">0</IsExchangeServer>
        <ExchangeServerVersion vt="8"/>
        <ExchangeServerServicePackVersion vt="8"/>
        <Size vt="21">20974428160</Size>
        <FreeSpace vt="21">6130487296</FreeSpace>
        <Segment1 vt="13" clsid="{C9D92A04-7744-4697-A02A-A0AAEB01A9AD}">
            <DeviceNumber vt="19">0</DeviceNumber>
            <IsLogical vt="11">0</IsLogical>
            <Size vt="21">20974431744</Size>
            <OffsetOnMedia vt="21">63</OffsetOnMedia>
        </Segment1>
    </Volume1>
    <Volume2 vt="13" clsid="{C85BC36B-53ED-4760-A388-DE72B0A04119}">
        <VolumeType vt="8">Simple</VolumeType>
        <IsHidden vt="11">0</IsHidden>
        <IsActive vt="11">0</IsActive>
        <ImageFile vt="8">\\n178ssbwmf001\backup$\N178SSBWMF002\D_Drive081_i004.iv2i</ImageFile>
        <DriveLetter vt="8">D:\</DriveLetter>
        <HistoryFile vt="8">C:\Documents and Settings\All Users\Application Data\Symantec\Backup Exec System Recovery\History\M2187241529Offset40965750_Volume.pqh</HistoryFile>
        <Label vt="8">D_DRIVE</Label>
        <IsSystem vt="11">0</IsSystem>
        <VolumeId vt="8">M2187241529Offset40965750_Volume</VolumeId>
        <IsExchangeServer vt="11">0</IsExchangeServer>
        <ExchangeServerVersion vt="8"/>
        <ExchangeServerServicePackVersion vt="8"/>
        <Size vt="21">20974460928</Size>
        <FreeSpace vt="21">7130955776</FreeSpace>
        <Segment1 vt="13" clsid="{C9D92A04-7744-4697-A02A-A0AAEB01A9AD}">
            <DeviceNumber vt="19">0</DeviceNumber>
            <IsLogical vt="11">0</IsLogical>
            <Size vt="21">20974464000</Size>
            <OffsetOnMedia vt="21">40965750</OffsetOnMedia>
        </Segment1>
    </Volume2>
    <Volume3 vt="13" clsid="{C85BC36B-53ED-4760-A388-DE72B0A04119}">
        <VolumeType vt="8">Simple</VolumeType>
        <IsHidden vt="11">0</IsHidden>
        <IsActive vt="11">0</IsActive>
        <ImageFile vt="8">\\n178ssbwmf001\backup$\N178SSBWMF002\E_Drive081_i004.iv2i</ImageFile>
        <DriveLetter vt="8">E:\</DriveLetter>
        <HistoryFile vt="8">C:\Documents and Settings\All Users\Application Data\Symantec\Backup Exec System Recovery\History\M2187241529Offset81931500_Volume.pqh</HistoryFile>
        <Label vt="8">E_DRIVE</Label>
        <IsSystem vt="11">0</IsSystem>
        <VolumeId vt="8">M2187241529Offset81931500_Volume</VolumeId>
        <IsExchangeServer vt="11">0</IsExchangeServer>
        <ExchangeServerVersion vt="8"/>
        <ExchangeServerServicePackVersion vt="8"/>
        <Size vt="21">31461695488</Size>
        <FreeSpace vt="21">23194812416</FreeSpace>
        <Segment1 vt="13" clsid="{C9D92A04-7744-4697-A02A-A0AAEB01A9AD}">
            <DeviceNumber vt="19">0</DeviceNumber>
            <IsLogical vt="11">0</IsLogical>
            <Size vt="21">31461696000</Size>
            <OffsetOnMedia vt="21">81931500</OffsetOnMedia>
        </Segment1>
    </Volume3>
    <Volume4 vt="13" clsid="{C85BC36B-53ED-4760-A388-DE72B0A04119}">
        <VolumeType vt="8">Simple</VolumeType>
        <IsHidden vt="11">0</IsHidden>
        <IsActive vt="11">0</IsActive>
        <ImageFile vt="8"/>
        <DriveLetter vt="8">Z:\</DriveLetter>
        <HistoryFile vt="8">C:\Documents and Settings\All Users\Application Data\Symantec\Backup Exec System Recovery\History\M2187241529Offset143380125_Volume.pqh</HistoryFile>
        <Label vt="8"/>
        <IsSystem vt="11">0</IsSystem>
        <VolumeId vt="8">M2187241529Offset143380125_Volume</VolumeId>
        <IsExchangeServer vt="11">0</IsExchangeServer>
        <ExchangeServerVersion vt="8"/>
        <ExchangeServerServicePackVersion vt="8"/>
        <Size vt="21">146804793344</Size>
        <FreeSpace vt="21">99660939264</FreeSpace>
        <Segment1 vt="13" clsid="{C9D92A04-7744-4697-A02A-A0AAEB01A9AD}">
            <DeviceNumber vt="19">0</DeviceNumber>
            <IsLogical vt="11">0</IsLogical>
            <Size vt="21">146804797440</Size>
            <OffsetOnMedia vt="21">143380125</OffsetOnMedia>
        </Segment1>
    </Volume4>
</SDO>

ARE YOU ABLE TO TELL ME WHERE THE COUNTING IS COMING FROM?
THANK YOU AGAIN



Highlighted

Re: Delete Image automation Process

This is something that you should take up with our professional services team: 1-877-870-5700