Support case ID: 00461077
Hi all,
As I want to change the media pool of tape backup on specific day, I want to use script to change the "Media Pool for full backups". But I can't find the job parameter in google or veeam doc, and I don't know how to list the joboptions in veeam powershell console. Please help.
$Job = Get-VBRTapeJob -Name $JobName
$JobNameObjectOptions = $Job.getoptions()
$JobNameObjectOptions.Options."Media Pool for full backups" = "Another Medial Pool"
-
- Novice
- Posts: 3
- Liked: never
- Joined: Oct 17, 2013 2:15 am
- Full Name: David Yeung
- Contact:
-
- Novice
- Posts: 3
- Liked: never
- Joined: Oct 17, 2013 2:15 am
- Full Name: David Yeung
- Contact:
Re: Tape Backup Job options for Media Pool
After searching, I find something, but when the job start, it seem to be rollback to gui setting (use back monthlymediapool when backup job start).
$dailymediapool_id = "d50a5cf9-a9fa-4a8a-89df-33a0267f4bcb"
$monthlymediapool_id = "9b069ef8-d82b-441b-88dd-dd00519da652"
$Job = Get-VBRTapeJob -name "Backup To Tape Job"
$Options = $Job.GetOptions()
$Options.options.rootnode.tapejobbackupoptions.tapefullmediapoolid = $dailymediapool_id
$Job.SetOptions($Options)
$dailymediapool_id = "d50a5cf9-a9fa-4a8a-89df-33a0267f4bcb"
$monthlymediapool_id = "9b069ef8-d82b-441b-88dd-dd00519da652"
$Job = Get-VBRTapeJob -name "Backup To Tape Job"
$Options = $Job.GetOptions()
$Options.options.rootnode.tapejobbackupoptions.tapefullmediapoolid = $dailymediapool_id
$Job.SetOptions($Options)
-
- Product Manager
- Posts: 20389
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Tape Backup Job options for Media Pool
Hi, David.
It seems that for now media pool can’t be set via PowerShell, at least, I couldn’t find a way how it can be done. Though, thank you for the feedback; we will consider further snap-in improvements in one of the future releases/patches.
Thanks.
It seems that for now media pool can’t be set via PowerShell, at least, I couldn’t find a way how it can be done. Though, thank you for the feedback; we will consider further snap-in improvements in one of the future releases/patches.
Thanks.
-
- Novice
- Posts: 3
- Liked: never
- Joined: Oct 17, 2013 2:15 am
- Full Name: David Yeung
- Contact:
Re: Tape Backup Job options for Media Pool
Thanks you. Hope Veeam can update this setting soon.
-
- Product Manager
- Posts: 20389
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Tape Backup Job options for Media Pool
Currently, in PS snap-in many tape job settings can be only specified only during job creation. However, as mentioned, above, we are planning to improve this functionality in one of the next releases.
Thanks.
Thanks.
Who is online
Users browsing this forum: No registered users and 16 guests