-
- Veeam Software
- Posts: 144
- Liked: 38 times
- Joined: Jul 28, 2022 12:57 pm
- Contact:
Re: Recycle expired tapes to other pools
+1 for this request, it could be useful.
Bertrand / TAM EMEA
-
- Veteran
- Posts: 511
- Liked: 68 times
- Joined: Oct 17, 2014 8:09 am
- Location: Hypervisor
- Contact:
Re: Recycle expired tapes to other pools
Your voice is heardPetrie wrote: ↑Jan 20, 2014 12:26 pm Hi,
VBR seems to always take new tapes from the pool "free" even if there are expired tapes in the pool (let´s say pool A). This is okay so far, but if another pool (e.g. pool B) requests a tape, there are no free tapes left.
I would like to allow the expired tapes to be recycled from pool A to pool B.
How can I achieve this? If not possible I would have to try to calculate exactly how many tapes are necessary for each pool and cycle and assign them in advance.
Does anyone have an idea how to solve this?
Thanks in advance,
Helge
Using the most recent Veeam B&R in many different environments now and counting!
-
- Product Manager
- Posts: 14716
- Liked: 1703 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Recycle expired tapes to other pools
Already. We plan to provided an experimental registry key to enable the desired behavior with upcoming v12
-
- Veteran
- Posts: 511
- Liked: 68 times
- Joined: Oct 17, 2014 8:09 am
- Location: Hypervisor
- Contact:
Re: Recycle expired tapes to other pools
Excellent news since 2014
Using the most recent Veeam B&R in many different environments now and counting!
-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Recycle expired tapes to other pools
V12.....
The build we are waiting since 1 year soon !
I hope we can use it soon
The build we are waiting since 1 year soon !
I hope we can use it soon
-
- Veteran
- Posts: 511
- Liked: 68 times
- Joined: Oct 17, 2014 8:09 am
- Location: Hypervisor
- Contact:
Re: Recycle expired tapes to other pools
Using the most recent Veeam B&R in many different environments now and counting!
-
- Service Provider
- Posts: 111
- Liked: 21 times
- Joined: Dec 22, 2011 9:12 am
- Full Name: Marcel
- Location: Lucerne, Switzerland
- Contact:
-
- Product Manager
- Posts: 9848
- Liked: 2606 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Recycle expired tapes to other pools
Hello
I had to answer a similar question in another topic. I wanted to share the registry key here too, just in case someone finds this topic:
veeam_backup_12_0_whats_new_wn.pdf - Page 29
Fabian
I had to answer a similar question in another topic. I wanted to share the registry key here too, just in case someone finds this topic:
veeam_backup_12_0_whats_new_wn.pdf - Page 29
Best,Return expired tapes to free media pools — Create the TapeMarkExpiredMediaFree (DWORD, 1)
value to immediately return any expired tapes into the Free media pool. With this mode, tapes
will no longer be constantly assigned to the same media pool after it expires, which makes tape
management less predictable. However, this also allows you to maximize tape capacity usage
across all media pools
Fabian
Product Management Analyst @ Veeam Software
-
- Veteran
- Posts: 257
- Liked: 40 times
- Joined: May 21, 2013 9:08 pm
- Full Name: Alan Wells
- Contact:
Re: Recycle expired tapes to other pools
I inventoried my Expired tapes. I have about 30 or so tapes already expired. I applied the registry key and rebooted. The tapes are still showing expired.
I wonder if this only goes into effect on tapes that expire after the key is in place but doesn't affect any that have already expired.
Anyone know?
I wonder if this only goes into effect on tapes that expire after the key is in place but doesn't affect any that have already expired.
Anyone know?
-
- Veteran
- Posts: 257
- Liked: 40 times
- Joined: May 21, 2013 9:08 pm
- Full Name: Alan Wells
- Contact:
Re: Recycle expired tapes to other pools
Another thought on this. Is it possible it is only moving tapes to Free when you put them back in the library? My guess is that this is the case since you cannot move a tape to free unless it has a location slot number for the library.
Maybe someone at Veeam can provide some instructions on what to expect with the new functions?
Maybe someone at Veeam can provide some instructions on what to expect with the new functions?
-
- Veteran
- Posts: 257
- Liked: 40 times
- Joined: May 21, 2013 9:08 pm
- Full Name: Alan Wells
- Contact:
Re: Recycle expired tapes to other pools
Well, I imported about 20 tapes that all show expired and they still show expired after the import so this clearly wasn't the issue.
I know this is just an experimental feature so hopefully, they can get it working in future updates.
I know this is just an experimental feature so hopefully, they can get it working in future updates.
-
- Veteran
- Posts: 511
- Liked: 68 times
- Joined: Oct 17, 2014 8:09 am
- Location: Hypervisor
- Contact:
Re: Recycle expired tapes to other pools
+1 for that
Long time due for integration into the GUI.
Long time due for integration into the GUI.
Using the most recent Veeam B&R in many different environments now and counting!
-
- Product Manager
- Posts: 14716
- Liked: 1703 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Recycle expired tapes to other pools
Hello Alan,
Can you please raise a support case and share the case ID with us? Experimental or not - it should be working correctly and investigated if something goes wrong. Thank you!Well, I imported about 20 tapes that all show expired and they still show expired after the import so this clearly wasn't the issue.
I know this is just an experimental feature so hopefully, they can get it working in future updates.
-
- Product Manager
- Posts: 14716
- Liked: 1703 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Recycle expired tapes to other pools
Hello folks,
Short update here: the logic behind the key enables ability to reuse the expired tapes 'locked' by one media pool with another media pool but unless the tape is reused it's not reflected in the UI and the expired tape remains within the media pool. Aside from that it should work as expected.
Short update here: the logic behind the key enables ability to reuse the expired tapes 'locked' by one media pool with another media pool but unless the tape is reused it's not reflected in the UI and the expired tape remains within the media pool. Aside from that it should work as expected.
-
- Enthusiast
- Posts: 40
- Liked: 13 times
- Joined: Apr 08, 2015 11:52 am
- Full Name: Christian Naenny
- Location: Zurich, Switzerland
- Contact:
Re: Recycle expired tapes to other pools
I did exactly this in a fairly simple PowerShell script that is started every Monday morning. This script queries for the expired tapes and moves them to the Free pool.veremin wrote: ↑Jan 22, 2014 8:14 am Currently, it's not possible to change this behaviour. Nevertheless, I believe that you can achieve what you're after with little PS scripting in place. The script will check the status of mediums in corresponding media pools, whether they are expired or not, and move the expired ones of free media pool.
If anyone wants this script, just let me know. I will gladly share it!
But I still would like the option for a Media pool to enable the automatic re-assignment of the expired tapes back to the Free pool!
Cheers
Christian
-
- Veteran
- Posts: 511
- Liked: 68 times
- Joined: Oct 17, 2014 8:09 am
- Location: Hypervisor
- Contact:
Re: Recycle expired tapes to other pools
Quote:
But I still would like the option for a Media pool to enable the automatic re-assignment of the expired tapes back to the Free pool!
Yessssssssssssssssssssssssssssssssssssssssssssssssssss, long overdue 10 years later!
Btw, you are from Switzerland! Baar is a must visit! Maybe things speed up then!
But I still would like the option for a Media pool to enable the automatic re-assignment of the expired tapes back to the Free pool!
Yessssssssssssssssssssssssssssssssssssssssssssssssssss, long overdue 10 years later!
Btw, you are from Switzerland! Baar is a must visit! Maybe things speed up then!
Using the most recent Veeam B&R in many different environments now and counting!
-
- Veteran
- Posts: 257
- Liked: 40 times
- Joined: May 21, 2013 9:08 pm
- Full Name: Alan Wells
- Contact:
Re: Recycle expired tapes to other pools
I use this PowerShell script every Monday. It removes any tapes expiring that week from Inventory. When I import those tapes back into the library they are in an unknown state so I can move them to free.
I keep track of all my tapes in a separate spreadsheet anyway so I know exactly what tapes to place in the csv file to be removed. The csv file is just a list of tape labels. No header or anything.
I keep track of all my tapes in a separate spreadsheet anyway so I know exactly what tapes to place in the csv file to be removed. The csv file is just a list of tape labels. No header or anything.
Code: Select all
Add-PSSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue
$tapes = Get-Content -Path "C:\Admin\Scripts\RemoveTapeMedia.csv"
Set-ExecutionPolicy RemoteSigned
foreach ($tape in $tapes)
{
Write-Host $("Processing Tape {0}" -f $tape)
Get-VBRTapeMedium -Name $tape | Remove-VBRTapeMedium
}
-
- Service Provider
- Posts: 275
- Liked: 61 times
- Joined: Nov 17, 2014 1:48 pm
- Full Name: Florin
- Location: Switzerland
- Contact:
Re: Recycle expired tapes to other pools
I've found that in all our environements, expired tapes are not beeing reused anymore if they belong to different media set. In the past we always set the "TapeGfsExpiredMediumSharing" regkey in order to workaround this issue.
I understand that this has been replaced by "TapeMarkExpiredMediaFree"? Is this correct?
I understand that this has been replaced by "TapeMarkExpiredMediaFree"? Is this correct?
-
- Product Manager
- Posts: 14837
- Liked: 3083 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: Recycle expired tapes to other pools
I checked some internal documents and TapeGfsExpiredMediumSharing still exists. If it does not work anymore, then I suggest to check with support. Support needs to know in which version it worked fine and when it failed.
TapeMarkExpiredMediaFree is a new key in V12, but I don't see it replacing TapeGfsExpiredMediumSharing
TapeMarkExpiredMediaFree is a new key in V12, but I don't see it replacing TapeGfsExpiredMediumSharing
-
- Product Manager
- Posts: 14716
- Liked: 1703 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Recycle expired tapes to other pools
Hello Florin,
Are you on the latest 12.2? Thank you!
Are you on the latest 12.2? Thank you!
-
- Service Provider
- Posts: 275
- Liked: 61 times
- Joined: Nov 17, 2014 1:48 pm
- Full Name: Florin
- Location: Switzerland
- Contact:
Re: Recycle expired tapes to other pools
Hi Dima
We are on 12.2 on most environements now, yes.
We are on 12.2 on most environements now, yes.
-
- Service Provider
- Posts: 275
- Liked: 61 times
- Joined: Nov 17, 2014 1:48 pm
- Full Name: Florin
- Location: Switzerland
- Contact:
Re: Recycle expired tapes to other pools
Whats the point of having both Keys in place? As far as i understand, they are basically doing the same, which is letting you reuse expired tapes for whatever mediaset without having to manually move them to the free pool.HannesK wrote: ↑Sep 23, 2024 1:22 pm I checked some internal documents and TapeGfsExpiredMediumSharing still exists. If it does not work anymore, then I suggest to check with support. Support needs to know in which version it worked fine and when it failed.
TapeMarkExpiredMediaFree is a new key in V12, but I don't see it replacing TapeGfsExpiredMediumSharing
-
- Product Manager
- Posts: 14716
- Liked: 1703 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Recycle expired tapes to other pools
Hello guys, the key TapeGfsExpiredMediumSharing is valid and confirmed by QA team to be fully operational with the latest 12.2 version.
Who is online
Users browsing this forum: No registered users and 24 guests