New-DPMRecoveryOption CopyToFolder for an Exchange database backup

I'm trying to restore an Exchange database from DPM 2010 into the file system using powershell. I'm able to perform this action in the DPM GUI simply by selecting the "Copy to a Network Folder" option. When I try this in powershell I
fail when creating the recovery option object. Here's what I'm trying:
$Pg = Get-DPMProtectionGroup –DPMServerName "DPM"
$Ds = Get-DPMDatasource -ProtectionGroup $Pg[0]
$RecoveryObject = Get-DPMRecoverypoint -Datasource $Ds[0] | Sort -Property RepresentedPointInTime -Descending | Select-Object -First 1
$RecoveryOption = New-DPMRecoveryOption -TargetServer "DPM" -RecoveryLocation CopyToFolder -RecoveryType Recover -TargetLocation "f:\test"
Restore-DPMRecoverableItem -RecoverableItem $RecoveryObject -RecoveryOption $RecoveryOption
I get the following error on the New-DPMRecoveryOption command:
New-DPMRecoveryOption : Parameter set cannot be resolved using the specified named parameters.
I've tried a few dozen permutations of the available options, but I continue to get the same error message. I'm not seeing much documentation to explain all these options. Any guidance is appreciated.

try this
EXAMPLE-1: Recovers the exchange data from tape to R:\ on the Exchange Server
=====================================================
Below are the DPM Power Shell commands as well as the results of the commands when executed.
PS C:\Program Files\Microsoft DPM\DPM\bin> $pg = Get-ProtectionGroup -DPMServerName Dpmserver1
PS C:\Program Files\Microsoft DPM\DPM\bin> $pg
Name Protection method
SQL Short-term using disk | Long-term us...
File Servers Short-term using disk | Long-term us...
Mail Short-term using disk | Long-term us...
MOSS Short-term using disk | Long-term us...
PS C:\Program Files\Microsoft DPM\DPM\bin> $ds = Get-Datasource -ProtectionGroup $pg[2]
PS C:\Program Files\Microsoft DPM\DPM\bin> $ds
Computer Name Type
EXCHANGE1 First Storage Group Storage group
EXCHANGE1 Medium2 Storage group
EXCHANGE1 Large Storage group
EXCHANGE1 Medium Storage group
PS C:\Program Files\Microsoft DPM\DPM\bin> $rp = Get-Recoverypoint -Datasource $ds[0]
PS C:\Program Files\Microsoft DPM\DPM\bin> $rp
Name Backup Time Datasource Location
First Storage Group 18/09/2009 8:00:... First Storage Gr... Disk
First Storage Group 19/09/2009 12:00... First Storage Gr... Disk
First Storage Group 19/09/2009 4:00:... First Storage Gr... Disk
First Storage Group 19/09/2009 8:00:... First Storage Gr... Disk
First Storage Group 19/09/2009 12:00... First Storage Gr... Disk
First Storage Group 19/09/2009 4:00:... First Storage Gr... Disk
First Storage Group 01/07/2009 8:00:... First Storage Gr... Media
First Storage Group 01/08/2009 8:00:... First Storage Gr... Media
First Storage Group 22/08/2009 8:00:... First Storage Gr... Media
First Storage Group 29/08/2009 8:00:... First Storage Gr... Media
First Storage Group 01/09/2009 8:00:... First Storage Gr... Media
First Storage Group 19/09/2009 8:00:... First Storage Gr... Media
PS C:\Program Files\Microsoft DPM\DPM\bin> $ri = Get-RecoverableItem -RecoverableItem $rp[10] -BrowseType Child
PS C:\Program Files\Microsoft DPM\DPM\bin> $ri
Name Backup Time Datasource Location
Mailbox Database 01/09/2009 8:00:... First Storage Gr... Media
Mailbox Database2 01/09/2009 8:00:... First Storage Gr... Media
PS C:\Program Files\Microsoft DPM\DPM\bin> $lib = Get-DPMLibrary -DPMServerName Dpmserver1
Name Drives Slots I/E ports Protection groups
Stand-alone Drive: F... 1 0 0
Library: Firestreame... 5 200 0 Mail
PS C:\Program Files\Microsoft DPM\DPM\bin> $rop = New-RecoveryOption -Exchange -ExchangeOperationType NeedCleanShutdown -RecoveryType Restore -StorageGroupName "First Storage Group" -TargetLocation "R:\" -TargetServer "exchange1.nwtraders.com" -RecoveryLocation CopyToFolder -dpmlibrary $lib[1]
PS C:\Program Files\Microsoft DPM\DPM\bin> Recover-RecoverableItem -RecoverableItem $ri[0] -RecoveryOption $rop
JobCategory Status HasCompleted
RestoreAsFilesFromArchive InProgress False
http://social.technet.microsoft.com/Forums/en-US/6833631b-de65-4568-afb8-e2b4f1522fd8/error-id31127-when-trying-to-restore-exchange-2007-mailbox-using-dpm-2007-sp1?forum=dpmexchbackup
Have a nice day !!!

Similar Messages

  • CCMS monitoring for DB2/400 database backup.

    Hi,
    sap on iseries experts,
    We need a good monitoring for the alerts from DB2/400 database backup failure with CCMS for a solution manager management.
    Actually I don,t see a specific node (or MTE class) inside CCMS for this alert;
    But DB12 display well the daily backup status . . . . . . . .
    Can anybody help me ?
    Kind Regards
    Fabio

    Hi all,
    I'm searching also for such an possibilty.
    When running Oracle there is following MTE:
    RZ20 -> SAP CCMS Technical Expert Monitors -> All Monitoring Contexts -> Oracle -> Backup/restore -> Backup status -> Last succ
    Does anybody know a method to monitor the backup with SAP on Iseries?
    Tobias

  • Restore mailbox from exchange database backup

    we are on exchange 2007 sp1 on windows 2008 OS.
    one user has lost all emails in his inbox, the only emails existing are that of today's.
    We have daily backups of the exchange DB/SG.
    Please advise if we can restore/recover his mailbox/inbox from this DB/SG backup. Also if there are any other ways to restore/recover his emails.
    Also, we cannot unmount the current DB, what tasks must i perform to mount this DB and restore/recover the mailbox or can I do this without mounting the DB. I dont want to disturb the existing DB/SG.
    We use commvault simpana 9 as our backup tool.
    please help.

    Hello,
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Cara Chen
    TechNet Community Support

  • Recommendations for recovery catalog database backup

    Hi
    We are using IBM Tivoli Storage Manager for our 9i db on AIX 5.2.
    I would like us to consider using rman but I am not sure of the best way we would go about backing up the database we would use for our recovery catalog.
    This database that hold all the metadata would need to be backed up after every rman backup. The rman backup would go to tape, so I am assuming that the recovery catalog would be backed up on tape also.
    What are the common procedures for this in other shops ?

    Dan A wrote:
    Aman. That doc does help, and indeed it does explain
    Back up the recovery catalog with the same frequency that you back up the target database.
    We would be doing nightly backups, so we would have to back up the catalog with the same frequency.
    The doc explains that we would use rman for these backups also, but that it would be in NOCATALOG mode so that the repository is in the control file.
    And then what? Just copy this to tape? Seems that with rman there is then a need to do two backups - one of the target db and one of the recovery catalog.
    Thanks.I shall suggest to take an export of the underlying schema which is holding the info in the recovery catalog. That's all which is basically required to be safe. In case , everything gets burnt regarding the catalog db,you can immediately create another db, import the user back there and things are in place. This should be a quick and easy way out of the backup of recovery catalog.
    Yes if you are going to take backups every night than backup of recovery catalog schema/db nightly will be a good option. Docs are meant to promote people for RMAN so indeed they would talk about it. But its not at all a compulstion to use RMAN for recovery catalog schema's backup. If its a big catalog maintaining lots of database's info than using RMAN with all its features is a good option. If a single db is a part of it than it may not be that much big and export of teh schema alone may serve the purpose too.
    HTH
    Aman....

  • New Wiki Page for SAP Advantage Database Server

    Please find a collection of ADS related information’s in our new Advantage Wiki Page

    All the links on this forum work fine...
    But if I try to find the page from the main menu by selecting Wiki, SCM, APO, I don't see any other links to get to CIF, DP, SNP, etc...
    Below is what I see (w/o any links to CIF, DP, SNP ,etc..)
    But I may have found the path:   You click on Additional Features on top right.
    This displays the options...
    This was NOT obvious...
    I was expecting the links on the page itself...
    SCM Advanced Planner & Optimizer
    APO (Advanced Planning and Optimization) application is at the heart of SCM. It offers planning and optimization functionalities in different business processes of Demand Planning, Supply Planning, Supply and Demand Matching, Production Planning Detailed Scheduling, Global Available to Promise and Transportation Management.
    Collaboration with Suppliers and Customers is also possible through newer application Supply Network Collaboration (SNC) till recently known as Inventory Collation Hub (ICH)
    With SCM 5.0 a new set of functionalities under Services Parts Planning were added specifically catering to Spare Parts Management.
    APO as a application is tightly integrated to execution (OLTP) system like ERP using a standard interface called Core Interface Function (CIF). It also has full BI (erstwhile BW) component for Data Mart as well as Reporting functionalities.

  • I need a new mail client for MS Exchange Mail- Entourage is slow

    Does anyone know if there is a mail client for Mac that can access MS Exhange Server mail? I am running MS Office Entourage 04 on a MacBook Pro with 2GB RAM (max). Entourage will work fine (using Rosetta) but occasionally hangs and is sluggish. If I can type faster than a computer thinks there is a problem (my typing is bad).

    Aside from Apple's own Mail application, and it's limited support for Exchange servers, I don't think there are any other apps...

  • Report and alerts for Exchange Server database backup

    Hi
    i am trying to use the Get-DailyBackupAlerts.ps1
    to check the exchange database backup state every day by email 
    and i am using this scripts its working fine but I have problem with sending email  
    here below the Error
    04/16/2015 09:46:53 Alert email will be sent
    04/16/2015 09:46:53 Report summary: Alerts 23, OK 0
    04/16/2015 09:46:53 Sending email report
    04/16/2015 09:46:53 Cannot validate argument on parameter 'From'. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
    04/16/2015 09:46:53 Finished.
    my setting the in the file Settings.xml as below 
    <EmailSettings>
        <SMTPServer>webmail.domain.com</SMTPServer>
        <SMTPPort>25</SMTPPort>
        <MailFrom>[email protected]</MailFrom>
        <MailTo>[email protected]</MailTo>
      </EmailSettings>
    any one can help ?
    Mahmoud

    Dear Mahmoud,
    In the SMTP server settings below you need to replace with your HUB server FQDN if its 2010 or Mailbox server FQDN if its 2013 and after that i think it should work.
    <SMTPServer>webmail.domain.com</SMTPServer>
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • Industry standard for database backup time

    We have many databases in our company for which our Database backups are forced to be run by System Administrators at 3PM since their tape backups are starting from 4PM.
    As a DBA I am suggesting to run all the tape backups late night so that I can schedule my Database bacukps at atleast 10PM daily.
    What is the industry standard for running daily database backups time? Can somebody please provide some links for such standards from a authorising body like Gartner, etc?
    Thanks in advance.

    There is no such standard. To have one would be simply implausible.
    It would depend massively on your infrastructure and where you take backups to. If it's tape, how fast is your networking to the tape, how fast is your tape drive. If it's disk, how fast is the disk you're backing it up to. For both, it depends on the size of the database, what type of backup you're taking and how loaded your database is, how fast your servers are. There are too many variables.
    Only you will know how fast your backups take and whether they're taking longer than they should (based on your observations on how long they usually take).

  • Can't do  ALTER DATABASE BACKUP CONTROLFILE

    when I do:
    ALTER DATABASE BACKUP CONTROLFILE TO '/export/home/user1/contrlfilesdbb';
    i got error messages:
    ERROR at line 1:
    ORA-01580: error creating control backup file /export/home/user1/contrlfilesdbb
    ORA-27038: created file already exists
    Additional information: 1
    why there is such problem?
    Help, please!
    thank you.
    Message was edited by:
    user482717

    no, you should not change the permission on the actual controlfile! i was re-reading through your post and you are trying to backup your controlfile to a directory name and not a file name. you need to specify the filename you want to backup to, not just the directory.
    for example:
    alter database backup controlfile to '/export/home/user1/ctrlfilesdbb/bkupctrl.ctl' reuse;
    you do know that this is not just a copy of the current control file but a series of scripts that based on your recovery needs can be edited to create a new control file, right?

  • Full database backup and restore

    I have a doubt on the syntax for a full database backup and restore. For a single schema, the syntax for backup & restore is :-
    exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none
    log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N
    file=JISPREPCORBILLINGPRD501
    imp <userid/password> file=<export dump file location> fromuser=<export user name> touser=<import user name>
    grants=y constraints=Y rows=y log=<import log file location>
    I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    hi,
    thanks, for your answer. I took a export of one schema of the database. But, when I tried to import the schema to the destination database, it showed
    imported with errors with the existence of functions showing. The commands used by me for export and import are as follows:-
    exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N file=JISPREPCORBILLINGPRD501
    imp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 file=JISPREPCORBILLINGPRD501 fromuser=JISPREPCORBILLINGPRD501 touser=JISPREPCORBILLINGPRD501 grants=y constraints=Y rows=y log=JISPREPCORBILLINGPRD501_imp.log
    Do, we need to drop the existing schema before importing or somethinig else. Please, help.
    regards

  • New PSUB Servise for standby Server

    Hi All,
    I have configured Physical Standby Database for my OC Database and it is running fine, now I want to create new
    PSUB service for my standby server so that when my Primary Database goes down I can make my stanby up and
    start the PSUB, so that standby database can be used.
    Thanks in advance !!
    Regards,
    OCADMIN

    Hi All,
    I have resolved the issue by creating new psub service for my standby database, following are the steps completed may help the DBA who wants to create standby database for OC database as DR
    $] export p1=OCTDBPR
    $] export p2=46
    $] opa_setput
    $] cd $RXC_BIN
    rxcpsdps -install database-connect-string database-instance-name
    rxcpsdps -install OCTDBPR STDDB
    where OCTDBPR is primary database and STDDB is standby database.
    Thanks,
    OCADMIN

  • Automatically backup new exchange database on standalone Exchange server

    Hello,
    I´m currently setting up a backup against a Exchange Server 2013. One thing I noticed when I added created a new Exchange database was that it was not automatically backup up by DPM.
    I've checked the box "Exchange 2013 databases" but after I created the fifth databases I noticed that it was not automatically checked in DPM and also that the box "Exchange 2013 databases" was unchecked.
    How can I make sure that new Exchange databases are backuped automatically?

    Hi,
    DPM does not offer an exchange auto-protect feature like we have for SQL.  You will need to add them manually as they get created on the exchange server.
    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.

  • Windows Server 2012 - Backup failing with Exchange - The application will not be available for recovery from this backup. the consistency check failed

    Hi
    We have a Windows 2012 server with Exchange 2013, all is working fine except now i am getting issues with the backup.
    'Exchange - The application will not be available for recovery from this backup. the consistency check failed for the component Microsoft Exchange Server'
    I have checked the database all is fine, i have created a new db and move all mailbox;s over and then removed the old db, i have enabled circular logging and then disabled it, it seems no matter what i do i cannot get a full backup!
    i did have to restore the server once and the backups still worked for about 4 days after that and then stopped, i have also tried to remove and re add the backup role!
    i am stumped, any advice would be great!

    Hi
    Ok, i created a test db and tried to back it up right away, it failed, i did not add any mailbox's to it either. i got quite a few events in the windows logs, as well as the same event above i got the following:
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2038
    Task Category: Exchange VSS Writer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database 4843b37c-7b3c-42b2-8b57-1393615c2c15.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="32772">2038</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261645</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>4843b37c-7b3c-42b2-8b57-1393615c2c15</Data>
      </EventData>
    </Event>
    AND
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2038
    Task Category: Exchange VSS Writer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Microsoft Exchange VSS Writer backup failed. No log files were truncated. Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9. Database db5826f3-1029-4219-ad80-441a0e94537a.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="32772">2038</EventID>
        <Level>3</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261646</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>db5826f3-1029-4219-ad80-441a0e94537a</Data>
      </EventData>
    </Event>
    and
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          21/01/2013 10:16:30
    Event ID:      2034
    Task Category: Exchange VSS Writer
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    The Microsoft Exchange Replication service VSS Writer (Instance 75754d0d-8dfe-4909-8beb-5a4f824254a9) failed with error FFFFFFFC when processing the backup completion event.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRepl" />
        <EventID Qualifiers="49156">2034</EventID>
        <Level>2</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261649</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>75754d0d-8dfe-4909-8beb-5a4f824254a9</Data>
        <Data>FFFFFFFC</Data>
      </EventData>
    </Event>
    and
    Log Name:      Application
    Source:        SPP
    Date:          21/01/2013 10:16:30
    Event ID:      16389
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NERDS-DC01.nerds.local
    Description:
    Writer Microsoft Exchange Writer experienced retryable error during shadow copy creation. Retrying...  More info: .
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SPP" />
        <EventID Qualifiers="0">16389</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-21T10:16:30.000000000Z" />
        <EventRecordID>261650</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NERDS-DC01.nerds.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft Exchange Writer</Data>
        <Data>
        </Data>
        <Data>The writer experienced a transient error.  If the backup process is retried, the error may not reoccur. (0x800423F3)</Data>
        <Data>
        </Data>
        <Binary>00000000A5120000981200000000000042BEB7C511CAC619E59C92030000000000000000</Binary>
      </EventData>
    </Event>

  • Mounting an old Exchange database file for recovery.

    Can we safely and without disturbing the production Exchange 2010 server mount an old database file from a year ago backup using (New-MailboxDatabase -Recovery) to mount the database then recover an old user mailbox.

    I believe that is no problem because a newly mounted database isn't pointed to by anything by default since it will have a different name.  User mailboxes have static entries for the database they point to.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • SBS Exchange not available for recovery with Server Backup

    Hi
    I have a Small Business Server 2008 that we have taken over, and have found that the Exchange has not been backed up over the last 2 years, showing now a total of around 62000 log files,
    When running windows backup it gets to the screen showing
    "Running consistency check for application Exchange"
    This then fails, and the backup continues, but then tells me after that "Completed with Warnings"
    and under the errors in windows server backup it says "Application will not be available for recovery from this backup, Consistency check failed for components Microsoft Exchange Server"
    The following is what I have done to try resolve this issue, 
    Stopped SQL services then tried running the backup
    Stopped Information store and tried running backup
    Used Eseutil /D 
    Enabled Circular logging on the Exchange and tried the backup again,
    Please remember this database has not been backed up in 3 years, and there are log files from 2011, so loosing all the data is not an option,
    Regards
    Sergio Spinola

    Loosing the data is unlikely, and most of those logs will have been committed already.
    If you dismount the store, and run eseutil /mh "dbpath.edb" you can see which log files are required for the store to mount.
    Please review: http://support.microsoft.com/kb/2616952/en-us
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

Maybe you are looking for