CLI script: Create protection groups for Disk based backups
The following script creates a protection group with disk based protection, for a simple folder. It can be easily extended to add more data sources of different kinds – like Microsoft Exchange, SQL,...
View ArticleDPM 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...
View ArticleCLI 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...
View ArticleCLI Script: To recover a DPM replica volume from data stored in tape
When a disaster occurs, and you lose your replica volume for any datasource, you could re-seed the replica from the backed-up data you have in tape. This little script initializes replica from a tape...
View ArticleDPM 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! IntroductionThe first difference between any...
View ArticleCLI Script: Auto re-running consistency checks
Some customers had non-DPM issues, like network issues because of which consistency check (CC) jobs failed too often. For the benefit of them, we have added a script that would re-try CC until it...
View ArticleDPM 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...
View ArticleDPM CLI Tips 'n Tricks: Powershell Basics - Part II
Tab CompletionThe 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...
View ArticleCLI 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.
View ArticleCLI 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.
View ArticleCLI 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
View ArticleHyper-V Protection with DPM 2010 Beta - How to automatically protect new...
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...
View ArticleRecover-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...
View ArticleHow 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...
View ArticleChecking 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...
View ArticleHow much can I shrink recovery point volumes with DPM2010
The script shown below finds out how much recovery points volumes could be shrunk on DPM2010. One word of caution though: use the shrink feature with common sense and not as a regular remedy!Repeated...
View ArticleHow 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...
View ArticleSpace needed to migrate a disk
The MigrateDatasourceDataFromDPM script can have many formats one of which is to migrate a source disk to a target disk or array of disks. How much space do you need to migrate? You need at least as...
View ArticleReplacing 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...
View ArticleThe 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...
View Article