Hi
I have a Vmware estate that I backup weekly and monthly, b2d. This comprises 13 jobs (simplisticly, one job represents one LUN), each 6-700GB. In order to stagger the start-times, so as not to bomb out the storage, each job is run by a seperate policy. So 13 policies. This requirement (staggered starts) prevents me from using automated (policy-driven) duplicates-to-tape, at least in BE2010.
So this is no great hardship, each month after the monthly b2d jobs have finished I would manually create a duplicate job, filter by date, then select each backup set and build up the duplicate job that way. Target it to a tape library, I end up with one duplicate job that backs up the b2d media sets from the 13 b2d jobs - in one job. A few days later it's done, hands off.
So now i upgrade to BE2014 for various other reasons. Now i want to create my monthly duplicate as above, but am struggling. I've tried:
1. Multi-selecting the 13 jobs in the Job-History tab of the vCenter server, right-clicking and selecting 'Duplicate'. Sounds great, and at first looks like a far easier way of doing it than BE2010, but then it ends up creating 13 seperate Duplicate jobs. Not what i want, i don't believe.
2. Using powershell. I can get my list of B2D media from the job logs with something like:
get-bejobhistory | where-object {($_.JobType -eq "Backup") -and ($_.Name -like "Monthly*VM*") -and ($_.StartTime -ge $startdate) -and ($_.EndTime -le $enddate)} | get-bejoblog | find "Media Label:"
This gives me ouput like:
Media Label: B2D013483
Media Label: B2D013484
Media Label: B2D013485
Media Label: B2D013486
etc.
I was hoping there was a bemcli cmd-let i could pipe these b2d file names to (after cleaning them up or building a temporary selection list etc), something nice and obvious like new-duplicatejob or equivalent, but i can't seem to find one in the show-behelp file.
So - my goal is to duplicate the b2d media used in these monthly AVVI backups, to a set of tapes in the tape library. Until now, that has involved creating a single Duplicate job, target to the library, with the b2d files as the selections.
How should i best go about doing this in BE2014? GUI or powershell don't mind.
Thanks
Dave