Browse by Tags - The Official System Center Data Protection Manager Team Blog - Site Home - TechNet Blogs

Browse by Tags

Tagged Content List
  • Blog Post: CLI Script: Copy latest point in time of SQL DB to a folder

    This script copies the latest recovery point of the specified SQL databases to the destination folder on a production server. Save this script as a .ps1 file and run it. Usage and examples of scripts can be found by calling them with ‘-?’ or ‘-help’ from inside DPM Management Shell. -------------...
  • Blog Post: Why good scripts may start to fail on you for instance with timestamps like “01/01/0001 00:00:00”!

    You may have scripts running fine since early DPM2007 days but start to show unexpected results with DPM2010. This blog explains what is likely happening and how to resolve that. Typically information returned from cmdlets is assumed to be valid unless some error occurred, right? That is no longer a...
  • Blog Post: DPM CLI> Hello World

    Welcome to the DPM CLI world. The CLI is based upon the latest Powershell technology from Microsoft, and gives the user a powerful scripting and CLI experience in a .Net environment. Feel free to browse through the Powershell pages, blogs etc. for great reads on this cool technology. You can also download...
  • Blog Post: CLI Script: To generate status reports

    The attached script generates a comprehensive report of the status of all backups and the storage utilization for each Exchange Server that is protected by DPM on a per SG basis.
  • Blog Post: How do I schedule a DPM script from Powershell?

    Suppose you found or created one of those valuable scripts but want to run it on a schedule or even schedule itself. Whilst there is this wonderful Powershell Pack that includes a module to utilize the task scheduler from Powershell, this article uses the standard “Schtasks” utility. We assume some familiarity...
  • Blog Post: DPM CLI Tips 'n Tricks: Powershell Basics - Part II

    Tab Completion The most fascinating part of DPM Management Shell is Tab Completion of cmdlets. By learning the common verbs in Powershell (like Get, Set, Start etc.), a Windows or an Exchange admin can easily use that knowledge and learn the DPM cmdlets. This is because the same verbs are used in...
  • Blog Post: CLI Script: DPM status report

    The following script generates a comprehensive report of failures and the storage utilization for each Exchange Server that is protected by DPM on a per SG basis.
  • Blog Post: Script: Auto-add new SQL DBs for protection

    This is a sample script that will automatically add all the newly available SQL DBs in all instances for protection. You can customize this easily to change the protection policy. Save the attached file as a .ps1 file and invoke through the DPM Management Shell. The script can also be added to the Windows...
  • Blog Post: Hyper-V Protection with DPM 2010 Beta - How to automatically protect new Virtual Machines

    We had a great question come into the DPM Newsgroup recently. How do I automatically protect new VMs added to a Hyper-V host using DPM? In any virtualized environment, adding new VMs is a frequent operation. While backup administrators can protect an entire Hyper-V host using the DPM Management Console...
  • Blog Post: CLI Script: Script to generate DPM configuration report

    The attached script generates a report of the mapping between each Exchange Server, the backup Protection Groups and its associated SGs. Krishna Mangipudi
  • Blog Post: How to create and delete recovery points for DPM via PowerShell

    Knowing how to manipulate DPM by way of PowerShell can come in handy in many situations. For example, I had a case to where I was troubleshooting the DPM console that was crashing and there was a concern as to whether or not recovery points where being made for specific protection groups. Using the PowerShell...
  • Blog Post: Erasing unsupported tapes & utility automation sample

    You may encounter tapes in DPM libraries that are written with an unsupported block size and first need to be erased because DPM cannot evaluate such tapes and therefore will not do anything to it. The ZIP file that can be downloaded here contains a script, script user guide and two utilities to accomplish...
  • Blog Post: How to use SAN recovery option and mapping data source volumes to Windows disks

    Say you want to use the DPM “SAN recovery” option. This requires storage management steps for which it is useful to know which Windows disks (LUN’s) hold the associated DPM volumes for a given data source. First a generic recap of the potential ‘DPM SAN recovery’ advantages and steps; ‘SAN recovery’...
  • Blog Post: DPM CLI Tips 'n Tricks: Powershell Basics

    The scripts posted in this blog require knowledge of Powershell and DPM cmdlets. So we thought we would present some tips ‘n tricks to become power users! Introduction The first difference between any normal Command Line Interface (CLI) (typically, Windows cmd.exe based environment) & Powershell...
  • Blog Post: Recover-Recoverable Item

    Its 6:00PM.   You were supposed to leave at 5:00PM.   Your boss catches you as you walk out the door and says he needs a file restored for a presentation first thing in the morning.   You say, “No problem, I will restore it real quick before I head home.”   You head to the DPM server...
  • Blog Post: The search for DPM tape utilities stops here…

    This solution combines several existing tape related scripts with enriched functionality. The short list is shown in the DPMTapeUtil user guide illustration on the right. You can download the script and user guide from here , provided “as is” no rights or warranties implied. This script...
  • Blog Post: Replacing tape drive assignments

    Imagine you got a replacement library for a broken one, or one with larger capacity to partition or share between DPM servers but anyway shows up as another tape drive. For discussion sake we say everything is fine with the new library but you now got all those protection groups on one or more DPM servers...
  • Blog Post: DPM PowerShell Script -- invoking a Consistency Check

    By design, DPM 2007 should be ‘ fire and forget ’ – meaning that after initial replication, data changes will automatically and routinely replicate.  However, due to a variety of external factors, the data set may become inconsistent.  Usually, DPM will correct itself within...
  • Blog Post: CLI Script: Recover to latest point in time for a SQL DB

    This script restores the latest recovery point of the specified SQL databases. Save this script as a .ps1 file and run it. Usage and examples of scripts can be found by calling them with ‘-?’ or ‘-help’ from inside DPM Management Shell. ------------------------------------- Start of Script ------...
  • Blog Post: CLI Script: To remove all datasources in inactive protection state

    The attached script removes all inactive datasources under a given DPM server. It provides options to remove inactive datasources on disk/tape/both. Save this as a .ps1 file and invoke it from inside the DPM Management Shell. Please contact us if you need any further assistance in running the script...
  • Blog Post: Protect, Unprotect, Protect, Unprotect – Understanding how DPM 2010 retention works

    UPDATE 11/20/2013: The script below has been updated to work with all current versions of DPM 2012. ===== With special thanks to Fahd Kamal for the backgrounder content. Imagine that you are experimenting with DPM 2010.  You protect some data, and then you remove that protection group.  Then...
  • Blog Post: CLI: Create new Recovery points on tape for all datasources in a PG

    This is a sample script that will automatically create new recovery points for the entire Data source’s in a Protection Group. You can customize this easily to change script file to create recovery points on disk. Save the attached file as a .ps1 file and invoke through the DPM Management Shell. ...
  • Blog Post: About defining DPM protection from CLI

    Those with interest in modifying and creating DPM protection from CLI probably appreciate this otherwise there is little sense in reading further I guess. Those that seek to save and recreate protection configurations are up for a task that proved to be a daunting one, you may want to look into a twin...
  • Blog Post: DPM CLI: Quick reference help

    While using the DPM Management Shell, one would like to have a list of all cmdlets and its short help for quick reference. Also, we heard it would be useful to group the various cmdlets by the function they do – e.g. Library, Disk, Recovery or Protection related etc. Keeping this in mind, we have published...
  • Blog Post: Checking LDM database space usage

    When should I be concerned with this? Usually not at all and the DPM2010 RTM release will check actual LDM consumption providing an early warning. Neither will DPM2010 consume all LDM space allowing space for re-consolidation purposes to reduce extents should that be needed.  However, … …on large...