Moving the DPM 2012 SQL Database to another SQL Server

I have 2 DPM Servers running and I would like to move those SQL Dbs onto another SQL Server. I know during the install you can select whether or not you want to install SQL or use another instance, but I dont want to re-install the whole thing and start
over. Is there any easy way to do this?

Hi,
in my opinion, you can stop with this Walkthrough after step 6, dont think that you Need to do a sync or consistency check.
Seidl Michael | http://www.techguy.at | twitter.com/techguyat |
facebook.com/techguyat |
youtube.com/techguyat

Similar Messages

  • Reconfigure DPM after migrating Sharepoint to another SQL Server

    How can I Reconfigure DPM after migrating Sharepoint to another SQL Server?

    Hi,
    I have tried this.
    When I removed the SharePoint datasource from Protection group there was no option to keep or lose data.
    I ran ConfigureSharePoint -EnableSharePointProtection  and ConfigureSharePoint -ResolveAllSQLAliases , then refreshed view in DPM console and added SharePoint back to protection group.
    The modify protection group screen showed success. looking in Monitoring, I see Consistency check failed with this error "DPM cannot continue protection for SharePoint Farm Sharepoint Farm\sqpl2008srv1\SharePoint_Config on spwfe1.internal.ermanz.govt.nz.
    (ID 30184)" this followed with Recovery point failing as well and description was same error (as above).
    I then removed the datasource again and created a new Protection Group and added SharePoint, but got same result. When creating the PG, it did not format space or do initial copy and CC's and RP's failed as before.
    When DB's were moved to another SQL Server, SharePoint retained the same SQL name as before (uses aliases)

  • How to copy the data from one database to another database without DB link

    Good Day,
    I want to copy the data from one database to another database with out DB link but the structure is same in both.
    Thanks
    Nihar

    You could use SQL*Plus' COPY command
    http://technology.amis.nl/blog/432/little-gold-nugget-sqlplus-copy-command
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/apb.htm#sthref3702
    Edited by: Alex Nuijten on Sep 16, 2009 8:13 AM

  • How to Copy the PLD from one database to another

    Dear Members,
       i have designed the  PLD for Purchase Order, i want to copy the particular PLD into another Database.
    i tried to copy the PLD from one database to another through copy express.. i copied the PLD sucessfully. But the problem is,it copies all PLD's from one database to another. i want only the Purchaseorder PLD has to be copied in to another database.any body can help me in this regard.
    With Regards,
    G.shankar Ganesh

    Hi,
    select * into A1 from RDOC where Author !='System'
    select *  into A2  from  RITM   where Doccode  in (select Doccode from A1 )
    select * from A1
    select * from A2
    sp_generate_inserts 'A1'
    sp_generate_inserts 'A2'
    you will get Insert scripts of A1 and A2 tables .After that You 'll  Replace A1 to RDOC and A2 to RITM.
    So that you can RUN this SQL srcipts any where (In any Database)
    but First u have to run sp_generate_inserts  Storeprocedure(from websites) .
    drop table A1,A2

  • How to Move or Copy the Tables from One Database to Another Database ?

    HI,
          Can any one help me on this, How i can move or copy the tables from one database to another database in SQL server 2005 by using SQL query. Hope can anyone provide me the useful and valuable response.
    Thanks
    Gopi

    Hello,
    Maybe these links help you out
    http://www.microsoft.com/downloads/en/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&displaylang=en
    http://www.suite101.com/content/how-to-copy-a-sql-database-a193532
    Also, you can just detach the database make a copy and move it to the new server.

  • Moving the ZENworks Mobile Management Database

    So, as a test, I wanted to check if I could move the DB from one
    (internal SQL Express) server to another regular SQL 2008R2 Server. The
    DB was before on the same server as the Web/HTTP feature was installed.
    Now I moved the DB and I can't login as the administrators I've
    specified. The only thing I see in the log is this:
    Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite
    (send()).
    [00:35:17] SQLError:
    ExecuteSQL returned status: -1
    State: 08S01
    Native: 0
    Error: [Microsoft][ODBC SQL Server Driver]Communication link failure
    [00:39:11] SQLError:
    ExecuteSQL returned status: -1
    State: 22001
    Native: 0
    Error: [Microsoft][ODBC SQL Server Driver]String data, right truncation
    [00:39:47] SQLError:
    ExecuteSQL returned status: -1
    State: 01000
    Native: 10054
    Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite
    (send()).
    Anyone who did this with success?
    Niels

    Jason Blackett wrote:
    > The process for this involves contacting Novell Technical Support as
    > it requires decryption and re-encrypting to configuration file that
    > contains the db information and that tool is only available through
    > support.
    >
    > Jason
    >
    > >>> Niels Poulsen<[email protected]> 8/9/2012 4:41 PM >>>
    > So, as a test, I wanted to check if I could move the DB from one
    > (internal SQL Express) server to another regular SQL 2008R2 Server.
    > The DB was before on the same server as the Web/HTTP feature was
    > installed.
    >
    > Now I moved the DB and I can't login as the administrators I've
    > specified. The only thing I see in the log is this:
    >
    > Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite
    > (send()).
    > [00:35:17] SQLError:
    > ExecuteSQL returned status: -1
    > State: 08S01
    > Native: 0
    > Error: [Microsoft][ODBC SQL Server Driver]Communication link failure
    > [00:39:11] SQLError:
    > ExecuteSQL returned status: -1
    > State: 22001
    > Native: 0
    > Error: [Microsoft][ODBC SQL Server Driver]String data, right
    > truncation [00:39:47] SQLError:
    > ExecuteSQL returned status: -1
    > State: 01000
    > Native: 10054
    > Error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite
    > (send()).
    >
    > Anyone who did this with success?
    Okay... I must have misread the docs, I thought this was only required
    if I moved the WEB server to?
    Niels

  • DPM 2012 R2 - Database Error 943 in Restore Pane

    Hi all,
    this morning we came upon a problem with our DPM server. It is on version 4.2.1273.0 (UR4), running on 2012 Server German with the latest patches. 
    When opening the restore pane, we get an error window mentioning a database inconsistency (ID: 943). The dpm client closes then. All other dpm functions seem to work correctly. What we have tried already:
    DBCC checkdb yields no errors. The sql database is online, also all backup operations of dpm run normally. 
    A dpmsync -sync does not change the problem.
    Trying a restore via powershell, the powershell window closes as soon as a Get-DPMRecoverypoint is issued. So the problem seems not only dpm interface-related.
    The last backup of the database is from 10/29 when the UR4 was installed (shame on us!). Restoring this DB renders the DPM service inoperable (missing sql stored procedure). So we went back to a backup of today that shows the error described above.
    We have not tried a restore after UR4 was installed, but definitely within a month before, where everything worked fine. 
    Any ideas? Does it make sense to uninstall UR4? Any advanced troubleshooting to find the 'inconsistency' in the DB?
    Thanks for your help,
    Best,
    Markus

    Unfortunately I am not able to find any related entries. I checked eventlog, SQLserver logs and the DPM logs under DPM\Temp. I have added the Traceloglevel entry to the registry and set it to 0x400. Again no entries with current timestamp in the dpm log.
    A verbose log setting fills a 15MB log file in about 5 seconds... 
    The tape backup did not run over the weekend. I get a number of failed SQL Jobs in the event log: 
    SQL Server Scheduled Job 'b176171f-43f8-41c0-aa05-8c7208080c19' (0x2E83A67F375A1E4098FE306980DC2328) - Status: Failed - Invoked on: 2014-11-17 12:30:00 - Message: The job failed.  The Job was invoked by Schedule 27148 (Schedule 1).  The last step
    to run was step 1 (Default JobStep).
    I am tempted to do a complete reinstall of the DPM server and OS; my problem is that I lose all current backups doing so. Running out of ideas.
    Best,
    Markus

  • Moving audit Records from one database to another database using dblink

    i got five database, i have to move sys.aud$ records from five databases to one centralized database into another schema every day at 10:00 clock, i have to use a dblink for this, i have to create same table as sys.aud$ with different schema in centralized database with one extra column db_unique_name,by using db_link how i need to move records from all the five databases to one centralized database, can anyone help me here how to create a db_link from to move records from five database to one centralized database, due to maintainance perspective i have to move the records from all the five databases to one centralized database. i have to write a script for moving the audit records from all the five databases to one centralized database, can anyone help me how to write the script, or if you have any related scripts , can u post here, it will helpful for me.

    spool audit.log
    --"Auditing Initialisation Parameters: check initialization parameter"
    select name || '=' || value from v$parameter where name like '%audit%'
    ---"if auditing is disabled then issue this command and bounce"
    alter system set audit_trail=db,extended scope = spfile
    shutdown immediate
    startup
    create tablespace ORDER_DATA datafile '+DDATA' size 50m;
    create user INFO identified by INFO;
    Grant connect,resource to INFO;
    Alter user INFO quota unlimited on ORDER_DATA;
    create table INFO.ORDER as select * from sys.aud$;
    alter INFO.ORDER add db_unique_name varchar2(50);
    create table INFO.ORDER
    partition by range (Timestamp#)
    subpartition by hash(dbid)
    subpartition template
    (subpartition sp1 tablespace users,
    subpartition sp2 tablespace users)(
    partition p1 values less than (TO_DATE('07/29/2010','MM/DD/YYYY')),
    partition p2 values less than (TO_DATE('07/29/2011','MM/DD/YYYY')),
    partition p3 values less than (MAXVALUE)) tablespace BGORDER_DATA as select * from sys.aud$
    spool off;
    exit
    BEGIN
    DBMS_SCHEDULER.create_job(
    job_name => 'Move Aud$ records',
    job_type => 'PLSQL_BLOCK',
    job_action => 'CREATE OR REPLACE PROCEDURE bgorder_aud
                        AS
                   ts TIMESTAMP;
                   BEGIN
    ts := SYSTIMESTAMP;
    insert into info.order select * from sys.aud$ where timestamp# < ts;
    delete sys.aud$ where timestamp# < ts;
    commit;
    END;
    start_date => TRUNC(SYSDATE) + 22 / 24,
    repeat_interval => 'FREQ=daily;BYHOUR=22;BYMINUTE=0;BYSECOND=0',
    enabled => TRUE,
    comments => 'Move records');
    END;
    /

  • The SBO 2005 B - database helth-checkup SQL Procedure

    Dear Friends,
    Could you please give me "The SBO 2005 B - database helth-checkup query" for SQL Server?

    Hi Narottam,
    Do you mean for Inventory Valuation Checkup query, it is available in the link mentioned below.
    https://websmp205.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000705765&_SCENARIO=01100035870000000183&_ADDINC=011000358700001192682007E&_OBJECT=011000358700001515052008E
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

  • Restoring SQL DB to another SQL Instance

    Hello. I try automate restoring SQL DB for test environment.
    I get existed script from Technet Gallery and adapted him for my conditions.
    Look it
    Param(
    [string]$DPMServer ="dpmserver",
    [string]$ProtectionGroupName = "GroupName",
    [string]$SourceServerName = "SourceServer",
    [string]$DestinationServerName = "DestServer",
    [string]$DestinationInstanceName = "DestServer\InstanceName",
    [string]$SQLDatabaseName = "DBName",
    [string]$DestinationPath = "E:\Data\")
    Import-Module DataProtectionManager
    $conn = Connect-DPMServer $DPMServer
    if ($conn) {
    $ProtectionGroupSQLObj = Get-ProtectionGroup $DPMServer | Where-Object { $_.FriendlyName -eq $ProtectionGroupName}
    $DataSourceSQLObj = Get-DataSource -ProtectionGroup $ProtectionGroupSQLObj | Where-Object { $_.Name -eq $SQLDatabaseName -and $_.Instance -eq $SourceServerName}
    if ($DataSourceSQLObj -ne $null) {
    $SQLDatabases = [Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SQL.SQLDataSource]$DataSourceSQLObj;
    $RecoveryPointsSQLObj = Get-Recoverypoint -DataSource $SQLDatabases | Where-Object { $_.HasFastRecoveryMarker -eq "Fast" -and $_.IsRecoverable -and $_.Location -eq "Disk"} | Sort-Object BackupTime -Desc;
    If ($RecoveryPointsSQLObj.Count) #Check More Than 1 RP Is Returned
    $RecoveryPointToRestore = $RecoveryPointsSQLObj[0]; #Get The Latest RP (1st In List)
    Else #If Only 1 RP Is Returned
    $RecoveryPointToRestore = $RecoveryPointsSQLObj;
    $length = $RecoveryPointToRestore.PhysicalPath.Length
    $AlternativeDatabaseObj = New-Object -TypeName Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SQL.AlternateDatabaseDetailsType
    $LocationMapping = New-Object Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SQL.FileLocationMapping[] $length
    $AlternativeDatabaseObj.LocationMapping = $LocationMapping
    $i = 0
    While($i -lt $length) #Perform The While Loop While $i Is Less Than The Number Of Files To Restore ($length). Add The Crrent File Names And Locations For Each File To Be Restored
    $AlternativeDatabaseObj.LocationMapping[$i] = New-Object -TypeName Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SQL.FileLocationMapping; #Create The Object
    $AlternativeDatabaseObj.LocationMapping[$i].FileName = $RecoveryPointToRestore.FileSpecifications[$i].FileSpecification; #Set File Name For Files
    $AlternativeDatabaseObj.LocationMapping[$i].SourceLocation = [Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.PathHelper]::GetParentDirectory($RecoveryPointToRestore.PhysicalPath[$i]); #Set Source Location (Path) For Files
    If ($AlternativeDatabaseObj.LocationMapping[$i].FileName.ToLower().EndsWith(".ldf")) #If LDF File Set Destination Location As $DestinationLDFPath
    $AlternativeDatabaseObj.LocationMapping[$i].DestinationLocation = $DestinationPath
    Else #If MDF File Set Destination Location As $DestinationMDFPath
    $AlternativeDatabaseObj.LocationMapping[$i].DestinationLocation = $DestinationPath
    $i++; #Increment Counter (Move Onto Next File)
    $AlternativeDatabaseObj.InstanceName = $DestinationInstanceName; #Set Destination Server Name. If Restoring To Named Instance Include The Instance Name
    $AlternativeDatabaseObj.DatabaseName = $SQLDatabaseName; #Set Destination DB Name
    $ROP = New-RecoveryOption -TargetServer $DestinationServerName -SQL -RecoveryLocation OriginalServer -RecoveryType Recover -AlternateDatabaseDetails $AlternativeDatabaseObj -Verbose
    $RestoreJob = Restore-DPMRecoverableItem -RecoverableItem $RecoveryPointToRestore -RecoveryOption $ROP -Verbose
    $Wait = 2; #Initial Wait Time
    While ($RestoreJob -ne $null -and $RestoreJob.HasCompleted -eq $false)
    Start-Sleep -Seconds $Wait;
    $Wait = 20;
    $RestoreJob
    The problem is that the
    script only recovers
    files, but
    not the DB.
    When I recover this DB from DPM Console, the DB is attached to SQL Server, but don't when I run my script. Application Logs and SQL Server Logs empty.
    Somebody can
    tell me what my problem
    is?

    Hi,
    Here is the steps to manually backup and restore SQL database:
    https://technet.microsoft.com/en-us/library/jj244601.aspx#BKMK_Secondary
    For the script related topic you post to this forum:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Transferring 3 SQL databases from both SQL Express 2005 and Standard to a new physical server

    I am trying to figure out the best method for transferring SQL 2005 databases from 2 different physical servers to a new server running windows server 2008 64bit.
    I own a fully registered copy of Microsoft SQL 2005 32bit Standard Edition. However all of my SQL databases together are only 4GB in size thereby making 2008 SQL Express an option.
    Here is the breakdown of the servers:
    1) (Old Server1) Windows 2003 Server 32bit - SQL Express 2005 32bit
    2) (Old Server2) Windows 2003 Server 32bit - SQL Server 2005 32bit Standard
    3) (New Server) Windows 2008 Server 64bit - (Not sure which version to install)
    **The objective is to migrate 2 SQL databases from Old Server1 and 1 SQL database from Old Server 2 to the New Server. What version should I install on the new server??? Do I go with 2008 express or install the 2005 Standard Edition?
    Pending your response to which version to install, what are the correct steps to migrate (which I have never done before) the databases from both of these servers to the new server?
    I have researched this online and I think this particular situation is unique in that I am transferring from both SQL Express and Standard from 2 different physical servers to a 2008 server that is 64bit. I cannot find anything online that I feel confident
    in trying. Please help me, as I have this migration deadline of this weekend. Any help is appreciated. Thanks.

    Hello,
    You may choose between using backup/restore or using detach/attach methods to migrate the databases.
    https://msdn.microsoft.com/en-us/library/ms187858(v=sql.90).aspx
    You can transfer logins using the following article.
    http://support.microsoft.com/en-us/kb/918992
    To decide if you migrate to Express Edition or to another edition, please review the features supported by each edition. For instance, Express Edition does not support jobs (SQL Server Agent is not available).
    https://msdn.microsoft.com/en-us/library/cc645993(v=sql.100).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • DPM 2012 R2: over W2008 o W2012 server?

    Hi, I have a simply question:
    With DPM 2012 R2, is recommended to migrate to windows 2012? Out actual plataform is W2008 R2 updated but we dont know if a W2012 plataform can bring improvements with performance or similars...
    Regards & thanks.

    Hi,
    There is no real need migrate to Windows server 2012 unless you need DPM to protect data sources like Windows server 2012 Dedup volumes that would require DPM to be running on a Windows 2012 server in order to protect it.
    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.

  • If DPM 2012 agent installation support to windows server 2012 ?

    i have DPM 2012 and i need to install agent on windows server 2012 

    Yes, you need.
    You can refer to these links :
    DPM 2010
    http://technet.microsoft.com/en-us/library/ff399140.aspx
    DPM 2012
    http://technet.microsoft.com/en-us/library/jj860400.aspx
    Hope this helps.
    Note: This posting is provided 'AS IS' with no warranties or guarantees, and confers no rights. Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable. This helps the community, keeps the forums tidy, and
    recognises useful contributions.

  • How to extend the size of c3k database in Sybase(Adaptive Server Enterprice 15.5)?

    Hi All,
    I am trying to extend the size of c3k database in my system.
    I tried like the above screen short but it could not work because the increament button is disable.
    how can i increase the size?
    can any one help at this?

    Hi,
    From Central go to devices, find the C3000Device, right click and add space on it and then retry what you just posted.
    Regards,
    Kimon

  • Error when moving a mailbox from one database to another using the EMS

    Error "The database is excluded from provisioning.Please Select a different target database for the move"
    Above is the Error i get when moving a mailbox to another database on the same Exchange mailbox Server 2013 using the EMS 

    Hi MikeVATX,
    Using the EMS I ran the Command
    below,
    Get-MailboxDatabase DBName | select name,*provision*
    The result displayed that the Parameter IsExcludedFromProvisioning was set to True which i had to set to false by running the command below as per your guide.
    Get-MailboxDatabase -Identity DBName | Set-MailboxDatabase -IsExcludedFromProvisioning
    $ False
    Then i was able to move the mailboxes. 
    It now works fine.Thanks for that solution.
    Thanks & Regards,
    Ronald

Maybe you are looking for

  • LaserJet M1319f MFP Installation issue on Windows 7

    Dear HP support team and community members, I'm currently trying to install HP LaserJet M1319f MFP connected by USB on Lenovo Q190 machine /Intel Core i3 processor/ running freshly installed Windows 7 Enterprise 64 bit with Bulgarian language pack, a

  • I can not install itunes on windows 7

    Itunes said I needed to upgrade to version 11.1. I tried to download and nothing. It will not let me install ( I have windows 7). Long story short I have deleted itunes then tried to re-install again. This did not work. Now, I don't have itunes at al

  • Application not visible in 9.3.1

    hi All, I have successfully created a database(ms-sql) and configured it.on top of it i have created an application successfully.but when i try to login that app thru planning web or workspace its not visible there.can anyone tell me what is the caus

  • WebCamera's available(native) modes

    In flash I can use flash.media.Camera.setMode() to set disired resolution and fps. My question is quite simple: How to get a list of available (native) Camera modes? If it's not possible what is the best practice to let user to change Camera's resolu

  • Safari (Mac OS) wants me to install Flash instead of using HTML5

    Hi, I re-installed Mac OS from scratch. No Flash player is installed yet, and when I open one of my Captivate files (published as Flash & HTML5) in Safari, I'm redirected to a Flash player download site. So, - when opening index.html (HTML5 version),