-
- Influencer
- Posts: 18
- Liked: 5 times
- Joined: Nov 30, 2020 11:29 am
- Contact:
Set drive cleaning on Tape Library
Hi,
I'm trying to figure out how to set the 'Perform drive cleaning automatically' tag on a tape library with powershell commands.
As far as I can tell, it's not possible to do it using the Get-VBRTapeLibrary / Set-VBRTapeLibrary commands.
Does anyone have an idea (or the correct command) for me?
Thanks
I'm trying to figure out how to set the 'Perform drive cleaning automatically' tag on a tape library with powershell commands.
As far as I can tell, it's not possible to do it using the Get-VBRTapeLibrary / Set-VBRTapeLibrary commands.
Does anyone have an idea (or the correct command) for me?
Thanks
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Set drive cleaning on Tape Library
Hey @grigatkis,
Sorry, looks like it might be a Feature Request. Even with .NET methods, this value is set as a Read-Only property, so it's not editable there.
Can I ask, is the goal mainly to ensure that it just doesn't get accidentally turned off by someone or why does this value need to be set programmatically?
Sorry, looks like it might be a Feature Request. Even with .NET methods, this value is set as a Read-Only property, so it's not editable there.
Can I ask, is the goal mainly to ensure that it just doesn't get accidentally turned off by someone or why does this value need to be set programmatically?
David Domask | Product Management: Principal Analyst
-
- Influencer
- Posts: 18
- Liked: 5 times
- Joined: Nov 30, 2020 11:29 am
- Contact:
Re: Set drive cleaning on Tape Library
We're trying to automate setup as much as possible and that is one of very few bits of our tape backup 'default config' that I couldn't figure out how to automate setting.
(Also, it's annoyingly easy to forget if you're in a hurry while setting up a Veeam server.)
PS: The other bits being how to change the rescan time on a GFS job and how to set the 'process the most recent restore point' button.
(Also, it's annoyingly easy to forget if you're in a hurry while setting up a Veeam server.)
PS: The other bits being how to change the rescan time on a GFS job and how to set the 'process the most recent restore point' button.
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Set drive cleaning on Tape Library
Got it! Regrettably, looks like there's just not an official way to do it right now.
If you're feeling brave and really have a need to check this frequently, you can flip the bit in the [Tape.Changers] table with Invoke-SQLCMD as part of your setup script; of course, please note this comes with no support and no guarantee that it will work/keep working Veeam Support won't be able to troubleshoot items determined to be related to this, so do this at your own risk with the above understanding.
If you're feeling brave and really have a need to check this frequently, you can flip the bit in the [Tape.Changers] table with Invoke-SQLCMD as part of your setup script; of course, please note this comes with no support and no guarantee that it will work/keep working Veeam Support won't be able to troubleshoot items determined to be related to this, so do this at your own risk with the above understanding.
David Domask | Product Management: Principal Analyst
-
- Veeam Legend
- Posts: 822
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Set drive cleaning on Tape Library
Hello,
I try to perform the same task today. Is there a method today ?
What is the unofficial cmdlet for it ?
Thanks
I try to perform the same task today. Is there a method today ?
What is the unofficial cmdlet for it ?
Thanks
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Set drive cleaning on Tape Library
Hi!
At this time I do not see that it's different in v12.1
At this time I do not see that it's different in v12.1
David Domask | Product Management: Principal Analyst
-
- Veeam Legend
- Posts: 822
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Set drive cleaning on Tape Library
OK,
So, it's on the table tape.changers the value of auto_cleaning to set to true value right ?
I did test it seems to work but I just want to be sure there is no other place to update.
Thanks
So, it's on the table tape.changers the value of auto_cleaning to set to true value right ?
I did test it seems to work but I just want to be sure there is no other place to update.
Thanks
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Set drive cleaning on Tape Library
@matteu correct, that should be the only place that it must be set.
David Domask | Product Management: Principal Analyst
-
- Veeam Legend
- Posts: 822
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Set drive cleaning on Tape Library
Thanks for your answer
Who is online
Users browsing this forum: No registered users and 7 guests