As a support engineer I often get involved trying to sort out customer's retention policy & tape recycling issues.
Since you can now create policies down to minutes, it is theoretically possible to apply a retention policy of say 10 minutes or 1 hour.
Doing this would be useful for simulating complex cycles in short periods.
I seem to remember reading somewhere that NSRIM, which implments the policies only runs once per day at midnight. This would obviously scupper my simulation.
I could run NSRIM Manually after each backup cycle, would this then enforce the Sub-24hour policies?
Any other tips on how to test these cycles would be handy.
It is possible, but it doesn't make much sense. nsrim runs based on time interval it did run last time (checking timestamp of file inside mm directory). Nevertheless, in all recent versions your browse and retention is not savetime+period exactly, but rather savetime+period until end of that day.
For example, if I saved something today with retention of 1 day at 16:49 in old versions that would expire tomorrow at 16:49. In recent versions this is changed so now it expire tomorrow at 23:59. I'm not sure what mechanism is used for values below one day as I didn't test it, but if it is the same you may see the pointlessness of such approach. To expire faster and not wait scheduled nsrim check you could run it manually, but that would make sense only if retention for less than day takes older approach. Any retention or browse below one day (even that much) is a bit silly to be honest as I really can't see any benefit of it. Do you have any practical example where that could be used?
Yes, I understand that in the real world this would be rather pointless, however I tried to set up a simulation of a customers retention cycle so that I could test it in a day instead of a year.
Eg 10min=day, 1hour=1month, 12hours=1 year.
One could then run many small jobs in a day to check that the cycle works as expected.
When I tried it, I couldn't get it to work, and I suspected that it would have to do with how NSRIM works. Your explanation confirms my suspicions
ble1
6 Operator
•
14354 Posts
•
56186 Points
438
1
Posted February 4th, 2009 00:00
For example, if I saved something today with retention of 1 day at 16:49 in old versions that would expire tomorrow at 16:49. In recent versions this is changed so now it expire tomorrow at 23:59. I'm not sure what mechanism is used for values below one day as I didn't test it, but if it is the same you may see the pointlessness of such approach. To expire faster and not wait scheduled nsrim check you could run it manually, but that would make sense only if retention for less than day takes older approach. Any retention or browse below one day (even that much) is a bit silly to be honest as I really can't see any benefit of it. Do you have any practical example where that could be used?