none
DPM 2010 Protection group Tape media retention policy RRS feed

  • Question

  • Hi

    I am using the DPM 2010, Having multiple Protection group in to Disk and Tape Backup

    Short term backup is in to the Disk and long term backup is in to the Tape.

    My Requirement is to use a set of media (2 or 3 Media) for a week backup of the entire Protection group and on to the next week would like to move those Medias offsite and assign a new 2nd set of medias for the 2nd week backup, Would like to protect a full month with 4 or 5 set of medias in a month. So that i can recovery all the system to a past one month state.

     

    How to obtain this goal? Can someone help me on this please?

    Issue what i have faced is that last week tape backup was sucessfull, and this week i just  removed those tape from the library and added 2 new Medias for this week backup and found that all the protection group "Backup to Tape" got failed?

    Any idea, do i need to associate those new tapes in to the protection group? If yes! how to do that?

    - Arul

     


    • Edited by Arul Nathan Monday, September 26, 2011 7:26 AM
    Monday, September 26, 2011 7:18 AM

Answers

  • Hi,

    The goal should be to get each weeks tapes to show offsite ready before replacing them with the next weeks tapes.  You can accomplish that by tweaking two parameters, WritePeriodRatio AND TapeExpiryTolerance:

    DPM Administrator Console indicates when a tape in the library should be removed and stored in your archive location by displaying a green icon in the Offsite Ready column. You can also view all tapes ready to be stored offsite in the Tape Management Report. The Tape Management Report lists tapes that will be due for offsite storage in the upcoming period of time selected for the report.

    When the data on a tape expires, return the tape to the tape library. Expired tapes not returned to the tape library will be marked as "overdue" in the Tape Management Report. Overdue tapes expired during an earlier reporting period. Expired tapes should be returned to the tape library for reuse.


    DPM 2007 - http://technet.microsoft.com/en-us/library/cc964296.aspx
    DPM 2010 - http://technet.microsoft.com/en-us/library/ff399230.aspx

    When tape colocation is enabled, a tape on to which offsite backup is written will not be shown as Offsite Ready unless one of the following conditions are met:

     - The tape is full.
     - One of the datasets has expired.
     - Write-period ratio has been crossed. (By default, this is first backup time + 15 per cent of retention range.)


    Enabling Data Co-Location on DPM server is a prerequisite so the parameters will be honored

    a. Open DPM Management Shell.
    b. Set-OptimizeTapeUsage to True using the Set-DPMGlobalProperty cmdlet.

           Set-DPMGlobalProperty -DPMServerName <name of DPM server> -OptimizeTapeUsage $True


    WritePeriodRatio:

    TapeWritePeriodRatio is a property that can be set when colocation is enabled on tape.  In case of non-colocated ProtectionGroup, the tape becomes marked as “offsite ready” as and when it is written on to.
     
    Colocation is enabled for PGs of identical retention periods.  However the times at which data are backed to  tape may vary for each collocated PG. In such cases, this parameter helps the user to decide how long to write to tape before sending the tape offsite, even though it might not be full.

    WritePeriodRatio indicates the number of days for which data can be written on to a tape as a ratio of the retention period of the first data set written to the tape.

    WritePeriodRatio value can be between 0.0 to 1.0
    Default value is 0.15 (i.e. 15%)

    TapeWritePeriodRatio is not a registry. It is a global property for the DPM which needs to be set using DPM CLI command. Here is the command to set it

        Set-DPMGlobalProperty –DPMServerName <dpm server name> -TapeWritePeriodRatio <fraction>

    For example, if the retention period for the first data set written to a tape is 100 days, and you set the Write-Period ratio as 0.15, data will be written to the tape for 15 days from the day on which the first data set was written to the tape. After this period, the tape will be marked as offsite ready and no more data will be written to that tape until all recovery points have expired on that tape.

    Additionally - if OptimizeTapeUsage property is set to true and if CurrentTime > First Dataset’s CreationTime + (WritePeriodRatio * RetentionRange of First Dataset) then no data will be written on to the tape till all datasets on tape are expired.


    TapeExpiryTolerance:

    Indicates the number of days over the furthest expiry date among all datasets on the tape that the tape will continue to be used.

    The default value is 17 percent.

    This registry values is located under HKLM\Software\Microsoft\Microsoft Data Protection Server\1.0\Colocation.
                                          TapeExpiryTolerance:REG_DWORD:0x11

     

    I have shared a spreadsheet to help calculate offsite ready at the following site:

    http://cid-885774776d4f197a.office.live.com/self.aspx/Public/tape-offsite-ready-calculator.zip

     

    FYI - We're simplifying these settings in DPM 2012 to make this much easier to implement.

     


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, September 26, 2011 7:35 PM
    Moderator

All replies

  • Hi,

    The goal should be to get each weeks tapes to show offsite ready before replacing them with the next weeks tapes.  You can accomplish that by tweaking two parameters, WritePeriodRatio AND TapeExpiryTolerance:

    DPM Administrator Console indicates when a tape in the library should be removed and stored in your archive location by displaying a green icon in the Offsite Ready column. You can also view all tapes ready to be stored offsite in the Tape Management Report. The Tape Management Report lists tapes that will be due for offsite storage in the upcoming period of time selected for the report.

    When the data on a tape expires, return the tape to the tape library. Expired tapes not returned to the tape library will be marked as "overdue" in the Tape Management Report. Overdue tapes expired during an earlier reporting period. Expired tapes should be returned to the tape library for reuse.


    DPM 2007 - http://technet.microsoft.com/en-us/library/cc964296.aspx
    DPM 2010 - http://technet.microsoft.com/en-us/library/ff399230.aspx

    When tape colocation is enabled, a tape on to which offsite backup is written will not be shown as Offsite Ready unless one of the following conditions are met:

     - The tape is full.
     - One of the datasets has expired.
     - Write-period ratio has been crossed. (By default, this is first backup time + 15 per cent of retention range.)


    Enabling Data Co-Location on DPM server is a prerequisite so the parameters will be honored

    a. Open DPM Management Shell.
    b. Set-OptimizeTapeUsage to True using the Set-DPMGlobalProperty cmdlet.

           Set-DPMGlobalProperty -DPMServerName <name of DPM server> -OptimizeTapeUsage $True


    WritePeriodRatio:

    TapeWritePeriodRatio is a property that can be set when colocation is enabled on tape.  In case of non-colocated ProtectionGroup, the tape becomes marked as “offsite ready” as and when it is written on to.
     
    Colocation is enabled for PGs of identical retention periods.  However the times at which data are backed to  tape may vary for each collocated PG. In such cases, this parameter helps the user to decide how long to write to tape before sending the tape offsite, even though it might not be full.

    WritePeriodRatio indicates the number of days for which data can be written on to a tape as a ratio of the retention period of the first data set written to the tape.

    WritePeriodRatio value can be between 0.0 to 1.0
    Default value is 0.15 (i.e. 15%)

    TapeWritePeriodRatio is not a registry. It is a global property for the DPM which needs to be set using DPM CLI command. Here is the command to set it

        Set-DPMGlobalProperty –DPMServerName <dpm server name> -TapeWritePeriodRatio <fraction>

    For example, if the retention period for the first data set written to a tape is 100 days, and you set the Write-Period ratio as 0.15, data will be written to the tape for 15 days from the day on which the first data set was written to the tape. After this period, the tape will be marked as offsite ready and no more data will be written to that tape until all recovery points have expired on that tape.

    Additionally - if OptimizeTapeUsage property is set to true and if CurrentTime > First Dataset’s CreationTime + (WritePeriodRatio * RetentionRange of First Dataset) then no data will be written on to the tape till all datasets on tape are expired.


    TapeExpiryTolerance:

    Indicates the number of days over the furthest expiry date among all datasets on the tape that the tape will continue to be used.

    The default value is 17 percent.

    This registry values is located under HKLM\Software\Microsoft\Microsoft Data Protection Server\1.0\Colocation.
                                          TapeExpiryTolerance:REG_DWORD:0x11

     

    I have shared a spreadsheet to help calculate offsite ready at the following site:

    http://cid-885774776d4f197a.office.live.com/self.aspx/Public/tape-offsite-ready-calculator.zip

     

    FYI - We're simplifying these settings in DPM 2012 to make this much easier to implement.

     


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, September 26, 2011 7:35 PM
    Moderator
  • housekeeping - closing old post.  Open a new post if you still have a need.



    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, November 24, 2011 3:50 PM
    Moderator