DPM 2010 : Get-Datasource properties meaning question

Hello, i am currently working on a monitoring script that queries one time per day the overall status of DPM backup operations :
I wonder what is the meaning of some properties (i dumped all properties for the datasource and recoverypoint objects for all ProductionServers)
the cmdlet I use is : Get-Datasource -ProductionServer $protectedserver -Inquire | where {$_.ProtectionGroupName -ne $null}
Protected (seems the most relevant to use) = should be true
State = should be "valid" i presume
Alert = should be $null
The more "mystical" fields where i do not know what DPM 2010 is referring to are :
CurrentProtectionState = UserInputPending (what user input, where ?)
CurrentlyProtected = False (it reports false for system protection backups)
Do you know if these values are deprecated / meaningful ?
Thanks.

I am currently seeing the CurrentProtectionState = UserInputPending on a new exchange database that I added.  Do you know how this property can be changed or the CurrentlyProtected = False can be change to True using powershell?

Similar Messages

  • DPM 2010 - Getting errors when viewing reports

    Microsoft DPM Forum,
    I am getting the following error when attempting to view reports in DPM 2010:
    An error occurred during client rendering.
    An error has occurred during report processing. (rsProcessingAborted)
    Cannot create a connection to data source 'DLS'. (rsErrorOpeningConnection)
    Cannot open database "DPMDB" requested by the login. The login failed. Login failed for user 'servername\DPMR$servername'.
    This is occurring after I rebuilt the OS on the DPM server to resolve a "tape system disconnect" issue that plagued us since November of 2013.
    Any idea how to resolve this?
    Thanks in advance,
    Joe

    Mike,
    Thank you for that post.  Yes, I saw that while I was researching a possible solution to the problem.  No dice.  However, I reached out to Prosenjit Kanjilal of the Microsoft DPM Support Team (as he was emailing me on our re-occurring issue
    of Event ID: 15 errors - see other thread).  He had me do the following:
    Open SQL Studio and connect to the instance
    Go to Security->Logins
    Now Add 'servername\DPMR$servername' if it is not already added
    I also had to add the
    dbowner role to the DPMDB database under 'user mapping' for this specific user to actually resolve the issue.  The user wasn't listed in the Logins in SQL Studio.
    Thanks again!
    Joe

  • Protection Agent failure error during backup to tape with DPM 2010.

    DPM TechNet Forum,
    We are experiencing an intermittent error when backing up to tape using DPM 2010 (with latest QFE roll-up applied).
    "The operation failed because of a protection agent failure. (ID 998 Details: The device is not connected (0x8007048F))"
    Any idea what could be causing this error?
    Thanks in advance,
    Joe

    Hi,
    You can try to reproduce the problem outside of DPM using some external utilities.  If you have more than one drive in the library, run the test against both drives simultaneously to simulate multiple backup jobs running.  If you get an error
    before the tape fills you can use net helpmsg errorcode to see what the error was.
    Download the DPMerasetape.zip file from the following link and extract to c:\temp folder.
    https://onedrive.live.com/?cid=b03306b628ab886f&id=B03306B628AB886F%21524&sc=documents
    The utilities are not that user friendly, but here are the basics.
    Always Stop DPMLA Service prior to running MCT.EXE Commands.
      NET STOP DPMLA
    C:\> mct-x64.exe -p
    Opening changer \\.\Changer0
         ********** Changer Parameters **********
             Number of Transport Elements : 1
             Number of Storage Elements : 50
             Number of Cleaner Slots : 0
             Number of of IE Elements : 0
             Number of NumberDataTransferElements : 6
             Number of Doors : 0
             First Slot Number : 0
             First Drive Number : 0
             First Transport Number : 0
             First IEPort number : 0
             First Cleaner Slot Address : 0
             Magazine Size : 0
             Drive Clean Timeout : 600
      Flags set for the changer :
             CHANGER_BAR_CODE_SCANNER_INSTALLED
             CHANGER_POSITION_TO_ELEMENT
             CHANGER_STORAGE_DRIVE
             CHANGER_STORAGE_SLOT
             CHANGER_DRIVE_CLEANING_REQUIRED
             CHANGER_VOLUME_IDENTIFICATION
             CHANGER_VOLUME_SEARCH
             CHANGER_SERIAL_NUMBER_VALID
     Changer can move from Slot to :
                     Slot
                     Drive
     Changer can move from Drive to :
                     Slot
                     Drive
     Changer is Capable of positioning transport to Slot.
     Changer is Capable of positioning transport to Drive.
    C:\> mct-x64.exe -d
    Opening changer \\.\Changer0
    Product Data for Medium Changer device :
      Vendor Id    : STK
      Product Id   : L180
      Revision     : 030
      SerialNumber : 3077520000
    For MCT utility we have the  -m [MOVE] command to move media around inside the library.
    -m [ElemType-T] Transport# [ElemType-Source] S_lot#/D_rive# [ElemType-Destination] S_lot#/D_rive#
    Get / view command syntax for –m (move) command for changer 0
    C:\>mct-x64 0 -m
    Opening changer \\.\Changer0
    MoveMedium : mct -m t N s\d N s\d N   [Where s/d means Slot or Drive and N is ZERO based].
    Some Examples:
    mct-x64 -m t 0 s 0 d 0    (Using transport-0, move media from slot-0  to drive-0)
    mct-x64 -m t 0 d 0 s 0    (Using transport-0, move media from drive-0 to slot-0)
    mct-x64 -m t 0 s 0 s 100  (Using transport-0, move media from slot-0  to slot-100)
    mct-x64 -m t 0 d 0 d 1    (Using transport-0, move media from drive-0 to drive-1)
    mct-x64 -m t 0 s 0 ie 0   (Using transport-0, move media from slot-0  to IEPort 0)
    Once you move a tape into a drive, use mytape commands Loadtape, taperewind, locktape, Disable hardware compression, Set block size to 65536 (64K), writeforspanning.
    You need the symbolic name for the tape drive you loaded media into - look in the DPM console by clicking the tape drive and look at the details for
    \\.\tape########.  use that in the following command.
    Mytape.exe \\.\Tape2147483638
    Status: Getting the handle for \\.\Tape2147483638...Success
    TapeConsole_1.0>taperewind">\\.\Tape2147483638>TapeConsole_1.0>taperewind
    Status: Rewinding Tape ...Success
    TapeConsole_1.0>setdriveinfo">\\.\Tape2147483638>TapeConsole_1.0>setdriveinfo
    Hardware error correction  [y]-Enable / [n] Disable : y
    Hardware data compression  [y]-Enable / [n] Disable : N   (BE SURE TO DISABLE)
    Data padding  [y]-Enable / [n] Disable : n
    Setmark reporting   [y]-Enable / [n] Disable : n
    Number of bytes between the end-of-tape warning and the physical end of the tape: 0
    Status: Setting Drive Information...Success
    TapeConsole_1.0>writeforspanning">\\.\Tape2147483638>TapeConsole_1.0>writeforspanning
    Status: Writing onto tape...Failed !!!
    Error_ID reported: 1100                 (net helpmsg 1100
    = The physical end of the tape has been reached.
    Number of bytes written: 983040     (Ignore bytes written, we'll get physical tape position later)
    Giving up
    Time taken: 15788ms
    TapeConsole_1.0>taperewind">\\.\Tape2147483638>TapeConsole_1.0>taperewind
    Status: Rewinding Tape ...Success
    REPEAT
    TapeConsole_1.0>erasetape">\\.\Tape2147483638>TapeConsole_1.0>erasetape s
    Short erase / Long Erase [s/l]:Status: Erasing the tape...Success
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2012 Cannot modify or create protection groups after upgrading from DPM 2010

    Hi,
    We have recently upgraded from DPM 2010 to 2012.  Since the upgrade we have been unable to create new protection groups or add new datasources to an existing group.  Existing backups are running without errors. 
    We have tried checking the DPM sql user account permissions as described in
    this article but with no luck.  More searching has not provided any other relavent fixes.  We are now stuck on how to troubleshoot this any further.
    In the DPM console we get the following error adding a VM to an existing protection group:
    Modify protection group: Virtual Machines failed:
    Error 207: An unexpected error occurred on DPM server machine during a VSS operation.
    Error details: VssError:Shadow copying the specified volume is not supported.
     (0x8004230C)
    Recommended action: Retry the operation.
    Allocate Replica For \Backup Using Saved State\Cacti failed:
    Error 207: An unexpected error occurred on DPM server machine during a VSS operation.
    Error details: VssError:Shadow copying the specified volume is not supported.
     (0x8004230C)
    Recommended action: Retry the operation.
    In the event log we see:
    The description for Event ID 955 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The consistency check resulted in the following changes to SQL Server Agent schedules: Schedules added: 1 Schedules removed: 1 Schedules updated: 0.  
    Problem Details:
    <ConsistencyCheck><__System><ID>26</ID><Seq>1534</Seq><TimeCreated>23/04/2012 09:33:29</TimeCreated><Source>SchedulerImpl.cs</Source><Line>719</Line><HasError>True</HasError></__System><Tags><JobSchedule
    /></Tags></ConsistencyCheck>
    the message resource is present but the message is not found in the string/message table
    Thanks in advance for any advice.

    Hi,
    The error 0x8004230C VSS_E_VOLUME_NOT_SUPPORTED: Shadow copying the specified volume is not supported, can only come when trying to enable shadow copies on new volumes created when trying to add new datasources to protection.   Generally speaking
    Only NTFS volumes greater that 1GB with a minimum of 300MB free space can be shadow copied, so something is going wrong with the volume creation / format process.  Please investigate that, see if two new volumes get created when protecting a new data
    source, and the sizes are greated that 1GB and also verify it's formatted NTFS.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2010 Shell Cmdlets usage leading to Powershell crash

    Hi all,
    I have 71 DPM 2010 servers located at various places in the world. The most of them have a good and reliable network connection while some of them are connected via Sat-Link. All of my DPM 2010 servers have the same version, and are all running in identical
    W2K8 Servers with Powershell 3 installed on them. I've made a script to inventorize Datasource Replica disk usage/allocation, shadow volume disk usage/allocation and the number of recovery points, their size. The goal of this script is to do the job that DPM
    2010 should normaly do, for instance, deleting recovery points above retention date because it is not always the case... File recovery points number grows to their maximum (64) and for system State (because there is no User recovery on these ressources) their
    number can be above 100 and generally it's about 150...
    The script is running well locally, but if I try yo run a single Get-Datasource from one of my servers targeting another server, sometimes it leads to a simple Powershell crash... I also tried an invoke-command as job it's the same, the job returns nothing
    but it is marked as completed or sometimes as failed. This happens always on some server and on the other only sometimes...
    I really don't understand where is the origin of this problem... As anyone encountered such behaviour ?
    Thanks a lot in advance ;-)

    I did not find a solution to my problem yet, but I solved a part of it...
    The first of all "Powershell crash" was solved by issuing a Disconnect-DPMServer before each Get-DataSource...
    The second problem solved was the fact that the Get-DataSource cmdlet required the parameter <DPMServer> to be fully in Uppercase...
    The last problem remaining is the Invoke-command that continue to fail... Here is my code :
    $DPMServerStatusList = @()
    foreach($DPMServer in $DPMServerList){
    if(Test-Connection -Count 1 -BufferSize 16 -ComputerName $DPMServer){
    $DPMServerStatusList += @{
    Reachable = $True
    Computer = $DPMServer
    }else{
    $DPMServerStatusList += @{
    Reachable = $False
    Computer = $DPMServer
    $i=1
    foreach ($DPMServerState in $DPMServerStatusList){
    Write-Host $i ")" $DPMServerState.Computer " : " -BackgroundColor Blue -ForegroundColor White -NoNewline
    if($DPMServerState.Reachable){
    Write-Host "ONLINE" -BackgroundColor Green
    $Computer = $DPMServerState.Computer
    Invoke-Command -ComputerName $Computer -AsJob -JobName "$Computer" -ScriptBlock {
    param(
    $Computer
    if((Get-PSSnapin -Name "Microsoft.DataProtectionManager.PowerShell" -ErrorAction SilentlyContinue) -eq $null ){
    Add-PSSnapin -Name "Microsoft.DataProtectionManager.PowerShell"
    Disconnect-DPMServer
    $DPMDataSources = Get-Datasource -DPMServerName $Computer
    $DPMTotalConsumedSpace = 0
    $DPMTotalUnshrinkableSpace = 0
    $DPMTotalRealSpaceUsage = 0
    $DPMTotalWastedSpace = 0
    $DPMDataSourceReport = @()
    foreach($DPMDataSource in $DPMDataSources){
    if($DPMDataSource.ReplicaSize -ge 0){
    $DPMTotalConsumedSpace += $DPMDataSource.ReplicaSize
    $DPMTotalConsumedSpace += $DPMDataSource.ShadowCopyAreaSize
    $DPMTotalUnshrinkableSpace += $DPMDataSource.ReplicaSize
    $DPMTotalRealSpaceUsage += $DPMDataSource.ReplicaUsedSpace
    $DPMTotalRealSpaceUsage += $DPMDataSource.ShadowCopyUsedSpace
    $DPMDataSourceName = $DPMDataSource.DatasourceName
    $DPMProtectionGroupName = $DPMDataSource.ProtectionGroupName
    $DPMReplicaSpaceStatus = "" + $(($DPMDataSource.ReplicaSize) / 1GB) + "GB / " + $(($DPMDataSource.ReplicaUsedSpace) / 1GB) + "GB"
    $DPMShadowSpaceStatus = "" + $(($DPMDataSource.ShadowCopyAreaSize) / 1GB) + "GB / " + $(($DPMDataSource.ShadowCopyUsedSpace) / 1GB) + "GB"
    $DPMOldestDate = $DPMDatasource.GetRecoveryPoint()[0].RepresentedPointInTime
    $DPMRecoveryPointNumber = $DPMDatasource.GetRecoveryPoint().Count
    $DPMRecoveryPointNumberToBeCleaned = $($DPMRecoveryPointNumber - 35)
    #Write-Host ""
    #Write-Host " Name : " $DPMDataSourceName
    #Write-Host " ProtectionGroup : " $DPMProtectionGroupName
    #Write-Host " Replica Space Status : " $DPMReplicaSpaceStatus
    #write-Host " Shadow Copy Status : " $DPMShadowSpaceStatus
    #Write-Host " Earliest Date : " $DPMOldestDate
    #Write-Host " RecoveryPointsNumber : " $DPMRecoveryPointNumber
    if($DPMRecoveryPointNumberToBeCleaned -gt 0){
    $DPMDeleteFrom = $DPMDatasource.GetRecoveryPoint()[0].RepresentedPointInTime
    $DPMDeleteTo = $DPMDatasource.GetRecoveryPoint()[$DPMRecoveryPointNumberToBeCleaned].RepresentedPointInTime
    $DPMRestorePointsListToDelete = $(0..$DPMRecoveryPointNumberToBeCleaned) | %{$_}
    #Write-Host " RecoveryPointsToBeCleaned : " $DPMRecoveryPointNumberToBeCleaned -BackgroundColor Red
    #Write-host " Will delete Restore point from : " $DPMDeleteFrom " to " $DPMDeleteTo
    #Write-host " Restore Point ID To delete : " $DPMRestorePointsListToDelete
    $DPMDataSourceReport += @{
    Name = $DPMDataSourceName
    ProtectionGroup = $DPMProtectionGroupName
    ReplicaSpaceStatus = $DPMReplicaSpaceStatus
    ShadowSpaceStatus = $DPMShadowSpaceStatus
    OldestDate = $DPMOldestDate
    RecoveryPointNumber = $DPMRecoveryPointNumber
    RecoveryPointNumberToBeCleaned = $DPMRecoveryPointNumberToBeCleaned
    DeleteFrom = $DPMDeleteFrom
    DeleteTo = $DPMDeleteTo
    RestorePointsListToDelete = $DPMRestorePointsListToDelete
    }else{
    #Write-Host " RecoveryPointsToBeCleaned : None" -BackgroundColor Green
    $DPMDataSourceReport += @{
    Name = $DPMDataSourceName
    ProtectionGroup = $DPMProtectionGroupName
    ReplicaSpaceStatus = $DPMReplicaSpaceStatus
    ShadowSpaceStatus = $DPMShadowSpaceStatus
    OldestDate = $DPMOldestDate
    RecoveryPointNumber = $DPMRecoveryPointNumber
    RecoveryPointNumberToBeCleaned = 0
    DeleteFrom = 0
    DeleteTo = 0
    RestorePointsListToDelete = @()
    #Write-Host " Realocate Data Require : " $DPMDatasource.ReAllocationRequired
    $DPMTotalWastedSpace = $DPMTotalConsumedSpace - $DPMTotalRealSpaceUsage
    #Write-Host "_______________________________________________________"
    #Write-Host "Global Status : "
    #Write-Host " Disk Allocation : " $($DPMTotalConsumedSpace / 1GB) "GB"
    #Write-Host " Disk Usage : " $($DPMTotalRealSpaceUsage / 1GB) "GB"
    #Write-Host " Locked Space : " $($DPMTotalUnshrinkableSpace / 1GB) "GB"
    #Write-Host " Wasted Space : " $($DPMTotalWastedSpace / 1GB) "GB"
    return $DPMFinalReportArray = @{
    ServerName = $Computer
    DiskAllocation = $DPMTotalConsumedSpace
    DiskUsage = $DPMTotalRealSpaceUsage
    LockedSpace = $DPMTotalUnshrinkableSpace
    WastedSpace = $DPMTotalWastedSpace
    DataSources = $DPMDataSourceReport
    } -ArgumentList $Computer
    }else{
    Write-Host ": OFFLINE" -BackgroundColor Red
    $i++
    If it can help... What do am I doing wrong ?

  • DPM 2010 - 2012 Failure

    Hi,
    I am trying to upgrade to DPM to 2012 and keep getting an error on the SQl Server 2008 R2 section.
    SQL is installed locally by DPM 2010 so i am not sure why its failing.
    If I look at the logs and run the more information tab everything passes and there is no issues.
    Anyone got any ideas
    The SQL Server 2008 R2 installation failed. Review the SQL Server installation log file for failures, and then take the appropriate action.
    ID: 4310. Details: Unknown error (0x84bc0519)"
    Overall summary:
      Final result:                  Passed
      Exit code (Decimal):           0
      Exit message:                  Passed
      Start time:                    2012-03-27 16:53:57
      End time:                      2012-03-27 17:05:39
      Requested action:              Patch
    Instance MSDPM2010 overall summary:
      Final result:                  Passed
      Exit code (Decimal):           0
      Exit message:                  Passed
      Start time:                    2012-03-27 16:55:12
      End time:                      2012-03-27 17:05:28
      Requested action:              Patch
    Machine Properties:
      Machine name:                  DPM
      Machine processor count:       4
      OS version:                    Windows Server 2008
      OS service pack:               Service Pack 1
      OS region:                     United Kingdom
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
      Sql Server 2008      MSDPM2010            MSSQL10.MSDPM2010              Database Engine Services                 1033    
                Standard Edition     10.1.2531.0     No        
      Sql Server 2008      MSDPM2010            MSRS10.MSDPM2010               Reporting Services                       1033
                    Standard Edition     10.1.2531.0     No        
      Sql Server 2008                                                          Management Tools - Basic  
                  1033                 Standard Edition     10.1.2531.0     No        
      Sql Server 2008                                                          Management Tools - Complete  
               1033                 Standard Edition     10.1.2531.0     No        
    Package properties:
      Description:                   SQL Server Database Services 2008
      SQLProductFamilyCode:          {628F8F38-600E-493D-9946-F4178F20A8A9}
      ProductName:                   SQL2008
      Type:                          RTM
      Version:                       10
      SPLevel:                       3
      KBArticle:                     KB2546951
      KBArticleHyperlink:            http://support.microsoft.com/?kbid=2546951
      PatchType:                     SP
      AssociatedHotfixBuild:         0
      Platform:                      x64
      PatchLevel:                    10.3.5500.0
      ProductVersion:                10.0.1600.22
      GDRReservedRange:              10.0.1000.0:10.0.1099.0;10.0.3000.0:10.0.3099.0;10.0.4010.0:10.0.4250.0;10.0.5501.0:10.0.5750.0
      PackageName:                   SQLServer2008-KB2546951-x64.exe
      Installation location:         c:\c13a866f641d0165667a\x64\setup\
    Updated product edition:
      Instance             Edition             
      MSDPM2010            STANDARD            
    User Input Settings:
      ACTION:                        Patch
      ALLINSTANCES:                  True
      CLUSTERPASSIVE:                False
      CONFIGURATIONFILE:             
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTANCENAME:                  <empty>
      QUIET:                         True
      QUIETSIMPLE:                   False
      X86:                           False
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20120327_165354\SystemConfigurationCheck_Report.htm

    Anyone got any ideas?
    The SQl server doesn't report any issues and the system configuration check report passes everything :S
    I am at a loss.
    Where are the DPM 2012 installation log files stored?
    I see a folder called c:\DPMLogs but there all old log files.

  • Dpm 2010 exchange 2010 backups are failing

    Hi, I'm getting an error which does not seem to match in the DPM 2010 ID codes. Randomly, I have backups of an exchange 2010 DAG that are failing. The backup will run for a short time (5mints..up to 10minuts) and then will fail with the following error:
    Type: Recovery point
    Status: Failed
    Description: Backup failed as another copy of 'user' database is currently being backed up. (ID 32628 Details: Internal error code: 0x80990D51)
     More information
    End time: 4/25/2011 10:37:27 PM
    Start time: 4/25/2011 10:26:55 PM
    Time elapsed: 00:10:31
    Data transferred: 0 MB
    Cluster node -
    Recovery Point Type Incremental Sync
    Source details: 06001
    Protection group: EXCH2010 - 06001
    I've tried restarting the DPM server to troubleshoot. I say this happens randomly because I've had some backups successfully complete against the same exchange server. The only other item that seems odd is when creating protection groups against the DAG,
    the intial lookup seems to take forever. Not sure what to try next. 

    Hello,
    As DPM relies on the exchange writer to take the snapshot for the backup, if the backupinprogress flag is set to true and it does not seem get out of this state even when there is no actual backup in place, then at this point DPM is the victim.
    As far as I am aware the only way is to clear that flag is to:
    a.) Reboot the exchange server
    or
    b.) Restart the information store
    In some cases even:
    1.) Either Activate all other databases on another Node except for the Problem Database, and Dismount the Problem database temporarily
    Or:
    1.)Dismount all Databases on this Node including the problem database
    2.)Restart the Exchange Information Store Service.
    3.)Mount any dismounted databases
    You may want to redirect this question below to the exchange 2010 forum of:
    "if the backupinprogress is set to true when it should be set to false as there really is no backup being taken, then how can I reset it without having to perform:
    a.) reboot of exchange
    b.) restart of the information store"
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/threads
    Regards, Shane. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. This posting
    is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2010

    Hi,
    I have a DPM 2010 Server which is doing extremely strange things.  It says I am running out of disk space, my allocated disk is 12TB and the actual used space is 7TB.  I can't see which server is taking up more capacity than it should and am stuck
    as to what to do next.  I know the replica volume needs to be modified but none of the servers are taking up the additional 3TB of space, so where has this space gone?
    Many thanks

    Hi,
    Once disk space is allocated to a replica or recovery point volume that space cannot be used by anything else.  Even if you decide to reduce the retention period - the space that is freed up is only on that volume and is never returned to the storage
    pool.  The only supported method of getting space back in the storage pool is to shrink the recovery point volume if it's over-allocated.
    You can download the shrink-diskpart.zip file from the following location.  This may be updated at a later time and is supplied as-is.
    http://1drv.ms/1vICq9l
    It has three modes of operation and will prompt to select one during execution.
    R = Report, S = Shrink with confirmation, A = Automatically Shrink all possible volumes:
    Recovery points are counted by days with successful recovery points regardless of how many recoivery points are taken on any given day.  So, if you took 8 recovery points a day (counting express full and incremental) for 14 days, that would equal 112
    recovery points. On the 15th day, we would delete 8.  If you missed a few days where no RP's were made, then those days would not count toward the 14 days and we would not prune any.   So you could actually see RP from 17 days ago, but still
    not have 14 days of recovery points, so no pruning would occur.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Dpm 2010 and ws2012r2 hyper-v

    Hi i have dpm 2010 and new ws2012r2 hyper-v. I get the error replica is not consistency. I get error id104 unknow error 0x80041010.
    ok i found out that dpm 2010 dont support ws2012r2.
    is there a fix or anything i can use dpm on ws2012r2hyper-v?Or need i install agents into vm becase the os of vm are 2008r2.

    Hi,
    That is correct - only DPM 2012 R2 can protect Windows 2012 R2 workloads.  I would recommend setting up a dedicated DPM 2012 R2 server to protect the Hyper-V guests.   If that is not doable, then yes, you can protect the guest workloads directly
    by installing DPM 2010 agents inside the guests. 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2010 not recognizing space on new disk in storage pool

    We are running DPM 2010 and added one iSCSI drive with over 7 TB to the storage pool. When creating a new protection group, DPM throws the error "insufficient disk space". I'm new to DPM and none of my research has shown a reason for this error.
    Any help would be deeply appreciated.

    Hi,
    Start the DPM power shell - then run these series of command, then copy / paste the
    output in this thread.
    PS C:\Program Files\Microsoft DPM\DPM\bin> get-dpmdisk dpm-server-name
       ...OUTPUT IS RETURNED..
    PS C:\Program Files\Microsoft DPM\DPM\bin> diskpart.exe
    Microsoft DiskPart version 6.1.7600
    Copyright (C) 1999-2008 Microsoft Corporation.
    On computer: LC2-DPMLIB1
    DISKPART> list disk
       ... OUTPUT IS RETURNED ...
    DISKPART> exit
    Leaving DiskPart...
    PS C:\Program Files\Microsoft DPM\DPM\bin>
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • VM Protection running on Hyper-V 2012 R2 with DPM 2010

    Hi everyone,
    We recently setup  a new Hyper-V 2012 R2 server hosting virtual machine running with a Win2012 R2 server OS and 2008R2 standard Edition
    Our backup solution is still running DPM 2010.
    As I understand from the DPM Protection Support Matrix, You can only protect virtual machine running on a hyper-v server under Windows 2012 R2 OS with DPM 2012 R2. Isn't there possible any walkaround to have the vm protection working on dpm2010?
    Otherwise, if we choose to protect the VM at guest level instead of host-level, is DPM able to perform the recovery point?
    For instance, we've got a VM running a SQL database. We would like specifically to back up that SQL  database running on that virtual machine.Is DPM able to perfom that job?
    Regards,
    Evan

    Hi,
    To remain in a supported configuration you need to a DPM 2012 R2 server to protect the Windows 2012 R2 hyper-v server.  Unfortunately, the path to get there from DPM 2012 is not an easy one.
    Upgrade steps.
    Note: the Operating system and SQL requirements for DPM 2012
    System Requirements for DPM in System Center 2012
    http://technet.microsoft.com/en-us/library/hh757757.aspx
    1) On DPM 2010 install the latest update: KB2751231 Description of hotfix rollup package 7 for System Center Data Protection Manager 2010
    2) Update the Agents to 3.0.8195.0
    3) Backup the DPM 2010 database.
    4) Upgrade to DPM 2012 and update agents.
    5) Install the latest DPM 2012 update and Update agents.
    6) Backup the DPM 2012 database.
    7) Upgrade to DPM 2012 Sp1 and update agents.
    Note: The Operating system and SQL requirements for DPM 2012 Sp1
    System Requirements for DPM in System Center 2012 Sp1
    http://technet.microsoft.com/en-us/library/jj651645.aspx
    8) Install the latest DPM 2012 Sp1 update and update agents.
    KB2904723-Issues that are fixed in System Center 2012 Data Protection Manager SP1 Update Rollup 5
    http://support.microsoft.com/kb/2904723
    KB2904730-Description of System Center 2012 Service Pack 1 Update Rollup 5
    http://support.microsoft.com/kb/2904730
    9) Continue to DPM 2012 R2..
    Note: the Operating system and SQL requirements for DPM 2012 R2.
    System Requirements for DPM in System Center 2012 R2
    http://technet.microsoft.com/en-us/library/hh758176.aspx
    10) Backup the DPM 2012 Sp1 database.
    11) Upgrade to DPM 2012 R2 and update agents
    12) Install latest DPM 2012 R2 update and update agents.
    Else, you could stand up a new dedicated DPM 2012 R2 server from scratch to protect that new server and leave the DPM 2010 as is for current protection.  
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2010 - Consistency checks stops after 23 hours

    When running a consistency check on a very large amount of files, the checks repeatedly stops after 23-24 hours.
    How do I solve this, so that I get a full consistency check and a good replica?
    Please visit http://www.bleumer.eu

    Hi,
    OK - I'm not aware of any known DPMRA crash issues for DPM 2010 UR7 - so this will need to be investigated by getting the crash stack and possibly a process dump.  Please open a support ticket for investigation.
    In the meantime - run a chkdsk /f against the DPM replica volume to be sure we're not crashing due to a file system problem.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • No Previous versions available (DPM 2010/12)

    Hi All,
    My users do not see any previous versions. On server SERVER I have a share SHARE, and within share SHARE I have a folder named FOLDER. The share is protected by server DPM. They are part of the same domain.
    If I browse to the share \\ SERVER\SHARE directly and I get the properties of FOLDER, and hit the tab 'previous versions', I see the message "There are no previous versions available".
    If I browse to the share on the DPM server \\ DPM\server.domain.local_share and get the properties of FOLDER, and hit the tab 'previous versions', I see the previous versions based on the schedule I implemented.
    This happens on a DPM2010 and DPM2012 installation. I reran the EUR deployment a few times now, but to no result better than this.
    Anyone has an idea what might cause this?
    Best regards,
    Ronald

    Hi,
    I would ensure the below five items have been satisfied:
    1) EUR will not work if local shadow copies are enabled on the Protected Server in question.
    2) Schema needs to be extended and checkbox enabled on each DPM Server you want EUR enabled on.
    3) DPM Shares need to be created by DPM on the DPM server. [net shares]
    4) System account needs at least read and list permission on the root of volumes being protected for EUR to work.
    5) EUR cross domain / forest is not supported.
    Additional information EUR for file shares on the root of mountpoints :
    http://blogs.technet.com/b/dpm/archive/2012/05/21/data-protection-manager-support-for-end-user-recovery-on-mountpoint-shares.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your
    question. This can be beneficial to other community members reading the thread. Regards, Dwayne Jackson II. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights."

  • SSIS 2012 Script Task to Get File Properties

    Hello,
    I researched on how to grab a file properties such as file size, file modified date, etc and I came across the following
    link:
    I followed exact steps and when I went to execute the package, I got the following error:
    Below is the code:
    // C# code
    // Fill SSIS variables with file properties
    using System;
    using System.Data;
    using System.IO; // Added to get file properties
    using System.Security.Principal; // Added to get file owner
    using System.Security.AccessControl; // Added to get file owner
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_cb8dd466d98149fcb2e3852ead6b6a09.csproj
    [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
    public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    #region VSTA generated code
    enum ScriptResults
    Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    #endregion
    public void Main()
    // Lock SSIS variables
    Dts.VariableDispenser.LockForRead("User::FilePath");
    Dts.VariableDispenser.LockForWrite("User::FileAttributes");
    Dts.VariableDispenser.LockForWrite("User::FileCreationDate");
    Dts.VariableDispenser.LockForWrite("User::FileExists");
    Dts.VariableDispenser.LockForWrite("User::FileInUse");
    Dts.VariableDispenser.LockForWrite("User::FileIsReadOnly");
    Dts.VariableDispenser.LockForWrite("User::FileLastAccessedDate");
    Dts.VariableDispenser.LockForWrite("User::FileLastModifiedDate");
    Dts.VariableDispenser.LockForWrite("User::FileOwner");
    Dts.VariableDispenser.LockForWrite("User::FileSize");
    // Create a variables 'container' to store variables
    Variables vars = null;
    // Add variables from the VariableDispenser to the variables 'container'
    Dts.VariableDispenser.GetVariables(ref vars);
    // Variable for file information
    FileInfo fileInfo;
    // Fill fileInfo variable with file information
    fileInfo = new FileInfo(vars["User::FilePath"].Value.ToString());
    // Check if file exists
    vars["User::FileExists"].Value = fileInfo.Exists;
    // Get the rest of the file properties if the file exists
    if (fileInfo.Exists)
    // Get file creation date
    vars["User::FileCreationDate"].Value = fileInfo.CreationTime;
    // Get last modified date
    vars["User::FileLastModifiedDate"].Value = fileInfo.LastWriteTime;
    // Get last accessed date
    vars["User::FileLastAccessedDate"].Value = fileInfo.LastAccessTime;
    // Get size of the file in bytes
    vars["User::FileSize"].Value = fileInfo.Length;
    // Get file attributes
    vars["User::FileAttributes"].Value = fileInfo.Attributes.ToString();
    vars["User::FileIsReadOnly"].Value = fileInfo.IsReadOnly;
    // Check if the file isn't locked by an other process
    try
    // Try to open the file. If it succeeds, set variable to false and close stream
    FileStream fs = new FileStream(vars["User::FilePath"].Value.ToString(), FileMode.Open);
    vars["User::FileInUse"].Value = false;
    fs.Close();
    catch (Exception ex)
    // If opening fails, it's probably locked by an other process
    vars["User::FileInUse"].Value = true;
    // Log actual error to SSIS to be sure
    Dts.Events.FireWarning(0, "Get File Properties", ex.Message, string.Empty, 0);
    // Get the Windows domain user name of the file owner
    FileSecurity fileSecurity = fileInfo.GetAccessControl();
    IdentityReference identityReference = fileSecurity.GetOwner(typeof(NTAccount));
    vars["User::FileOwner"].Value = identityReference.Value;
    // Release the locks
    vars.Unlock();
    Dts.TaskResult = (int)ScriptResults.Success;
    Eventually I am looking to just grab the Modified Date from the Windows Explorer folder and insert into table. Any suggestions? Thank you in advance!
    Sanjeev
    Sanjeev Jha

    Hi SSISJoost,
    I am so glad you responded to this thread. You are absolutely right. I copied the entire code including the project name (guid) and that solved the error problem.
    Now, what did you do to get the message box? I added the watch and I could see the values but how do I get these values in a table? If I remember correctly, in your blog, you mentioned something about using derived columns. I am familiar with Derived Columns
    but how do I do that? I appreciate your response.
    Thank you.
    Sanjeev
    Sanjeev Jha
    I used a second script task to show all variable values. It has a
    MessageBox in it and between all
    variables I added a
    newline to make it more readable...
    But with an Execute SQL Task and parameters you can also put these values in a Table... or you can read the file in a Data Flow Task and add those variables (as metadata) to each record with a Derived Column
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • I have a pdf file, how do it ONLY View but not can get changed, I mean locked

    I have a pdf file, how do it ONLY View but not can get changed, I mean locked?

    Use the Security tab in the properties of the document.

Maybe you are looking for