Backup and Restore SQL

Dear Gurus,
I have offline database backup for DATA1, DATA2 , DATA3 and LOG1 file.
Now I have one more Demo server. That server also have some Database SID.
How to detach and Attach database as well as do the work on the attach database client.
Please tell me advice.

Hello,
First get fimiliarity with ms Management Console. And using Installation master you can do backup/restore and attach/detach method, to make the other system.
Refer the following useful notes also.
SAP Note 1420452 - FAQ: Restore and recovery with MS SQL Server
SAP Note 683447 - SAP Tools for MS SQL Server, after SQL DB restore.
Note 555223 - FAQ: Microsoft SQL Server
Regards,
MSR

Similar Messages

  • Backup and Restore of DQS (Data Quality Service SQL 2012) Databases

    We are currently using DPM 2010 running on Server 2008 R2 as our backup solution.  We will soon be leveraging the Data Quality Services in SQL 2012 along with the Master Data Service.  
    In the SQL 2012 documentation from Microsoft it states, “The backup and restore operations of the DQS databases must be synchronized.” 
    Otherwise the restored Data Quality Server will not be functional.  Currently I believe that DPM will run serialized backups of databases from one SQL server. 
    I was hoping someone could point me towards some documentation for backing up DQS with DPM. 
    Is anybody currently doing this?  If so have you been successful restoring?

    LogicalName cant be same for mdf and ldf. verify again with FILELISTONLY. Also you have put wrong logical name 
    MOVE N'OriginalDB' TO N'D:\sql data\TargetDB.mdf'
    Please paste the output of
    RESTORE FILELISTONLY FROM DISK = 'D:\backup.bak'

  • 2013 Backup and Restore

    When I go to my backup and Restore and check the job status it tells me there is a backup in progress:
    A backup or restore is currently in progress
    How do I reset this as there is no backup that I have run for some time?

    Hi, 
    According to your post, my understanding is that the job status still shown “A
    backup or restore is currently in progress”.
    Did you delete a old search application and recreate a new one before?
    If so, maybe the old object is still existing in SQL, you can used the following stsadm command:
    Stsadm -o deleteconfigurationobject -id “object GUID”
    To find the object GUID, simply go into Central Admin - Manage Service Applications and highlight the offending legacy service application (Search Service
    Application in the case). You should now be able to see the GUID in the IE address bar. Run the command above, and try your backups again and all should be well.
    For more information:
    http://imperfectit.blogspot.com/2010/06/sharepoint-2010-farm-backup-fails.html
    There is a similar thread for your reference.
    http://social.technet.microsoft.com/Forums/en-US/0310b061-ea1c-4576-bb74-a02f5e04a3a0/backup-job-stuck-in-process-in-backup-and-restore-job-status?forum=sharepointadminprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Ideas for Providing User Level Data Backup and Restore

    I'm looking for ideas for implementing a user level application data backup and restore in an Apex app.
    What would be great is to have a user be provided an export file and a way to import this file. A bit overkill but hopefully never needed.
    Another option that is perfectly doable is a report that simply provides a means to create an export of the data. Since I already have an interface I can use an export to interface an export.
    Any thoughts?
    Hopefully I'm missing something already there for an end user to use.

    jlincoln wrote:
    "Do you mean "export" and "import" colloquially, or in the specific sense of the exp/imp/datapump utilities?"': I mean as in imp/exp Oracle utilities. Generally speaking, it would be neat to be able to export and import via an Apex an application. In this hosted environment I don't have that access but would this be a bad idea if you don't care about the existing data in the schema in which the data resides?I can envisage a mechanism using <tt>exp/imp</tt>, but since it requires <tt>dbms_scheduler</tt> external jobs and access to the file system it's highly unlikely to be possible in a hosted environment. (Unless you're doing the hosting?)
    Backup: Necessary for piece of mind and flexibility. I am working on a VB/Access user who does this today to get to the point when they can be comfortable with the backups occurring regularly and by the hosting site's DBA group.
    Restore: Like I said. I am working on a VB/Access user who does this today to get to the point when they can be comfortable with the backups occurring regularly and by the hosting site's DBA group. This is a very small data set. A restore would simply remove existing data and replace it with the new data.My opinion is that time would be better spent working on the user rather than a redundant backup and restore feature. Involve them in a disaster recovery exercise with whoever is hosting the environment to prove that their data is safe. Normally the inclusion of data in regular, effective database backups is sold as a major feature of APEX solutions.
    "What about security/privacy when this data ends up in uncontrolled environments?": I don't understand the point of this question. The data should not end up in uncontrolled environments. Just like the data in the database or its backups.Again, having data in a central, shared location protected by multiple levels of application, database, and OS security is usually seen as a plus for APEX over VB/Access. Exporting the data in toto to a PC/laptop that can be stolen or lost, and where it can be copied to USB drives/phones/email loses this protection.
    User Level: Because the end user must have access to the backup and restore mechanisms of the application.
    Application Data: The application data. Less than 10MB. Very small. It can be exported in a flat file downloaded by the end user. This file can then be used to upload and import via an existing application interface. For example.
    "I'm struggling to parse this for meaning.": When I say I have an existing interface I am referring to a program residing in the Apex application that will take data from a flat table structure (i.e. interface table), validate the data, derive data, and load into the target table structure.Other than the report export capability linked to above, there's nothing built-in to APEX that comes close to your requirement. If the data is simple enough that it can be handled in such a report, and you have a process that can read and recreate this export, then you have your backup/restore capability. If the data can't be handled in a simple report, then you'll need a more complex PL/SQL process to generate the file.

  • Synchronization Issue backup and restore errors

    Hi,
    I have implemented synchronization in local on two instances and worked well for me. But when I am trying to implement the same in Prod server, it is giving exception backup and restore errors. Please let me know, is it possible to implement Synchronization
    on same server in two different instances ?
    Thanks,
    Moorthy

    Hi Moorthy2015,
    According to your description, you get issue when sychronizing SSAS database server. Right?
    In Analysis Services, it is supported to do sychronization for SSAS databases between different instances on same server. We can also sychronize two different SSAS servers. So in this scenario, you can do sychronization between Pro server and Dev server.
    Please refer to links below:
    How to synchronize two SSAS Servers
    Synchronization with Microsoft SQL Server Analysis Services
    If you issue still persists, plesae share some detail information about the error.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Automate backup and restore

    Hi All,
    I want to automate backup and restore operation in T-sql script I need to give resource server,database and backup file location as input and then I need to restore that backup in differenet server so I want to give destination server as input too.
    Could somebody help me on it.
    Thanks

     From Google : 
    http://www.sqlservercentral.com/blogs/powersql-by-prashanth-jayaram/2013/08/19/sqlcmd-database-backup-and-restore-automation-quickest-and-simplest-method/
    http://social.technet.microsoft.com/wiki/contents/articles/23800.fully-automated-sql-server-restore-script.aspx
    https://sqlwhisper.wordpress.com/2014/01/31/restore-script/
    Hope it Helps!!

  • Backup and restore documentation for outlooksoft 4.2

    Any one have backup and restore appset documentation for Outlooksoft 4.2 version? I am interested in both the Server Manager functionality and doing it manually.  I haven't had much luck with backing up appset using server manager.
    Thank you.

    Hi,
    Keep in mind that with version 4.2, BPC Server manager backup and restore the OLAP DB (SQL Server 2000) whereas it does not requires it anymore starting version 5.x.
    The root reason is that under 4.2 + AS 2000, security access to cube are directly stored in the cube definition.
    But there is a side effect about this : If your AS database is over 2GB then BPC Server Manager will not work anymore. This is due to a restriction on SQL Server Analysis Service 2000 on msmdarch.exe process.
    Based on previous experience, if you want to do it manually because BPC Server manager is not working :
    Backup \webfolder\<<AppSet>>\*
    Backup \FileDB\<<AppSet>>\*
    Backup AppSet DB
    After restore, you will have to process everything to get back Analysis Service DB + Cubes + Security... But i am not very sure it will work. Maybe you should at least create the OLAP DB (even if it's empty) to make it work.
    But for sure this is doable, but technical limitation make it hard !

  • Backup and Restore My Sites

    Hi,
    I was hoping for a bit of clarity regarding this topic.
    As I understand it, there are two sides of MySites, the Site Collections that are created through self-service site creation for users content, and then service application that provisions the site profiles.
    For site profiles, I believe that the Farm Backup and Restore procedure in Central Administration takes care of this, and a backup and restore can be done by selecting the service application in the long list of tick boxes available in the Farm Backup options.
    Please correct me if I'm wrong.
    For the Site Collections, as far as I can tell, you can either back them up individually using the SharePoint native backup tool (not feasible for thousands of site collections), backup the content db using SQL backup, or Powershell. As far as I can tell,
    this has the limitation of only allowing you to backup and restore ALL sites collections at once, not individual site collections. Is this correct?
    If so, is there a way of backing up the site collections so that an individual site collection can be restored should it be required, without having to painstakingly backup all the site collections individually? I didn't know if there was a script for this
    or failing that a 3rd party tool.
    Any thoughts and input would be much appreciated.

    Re: SQL backups, yes. When you attach the content database it attaches all the site collections in the database.
    There is no out of the box method to restore individual site collections unless you perform individual site collection backups. You can automate this with PowerShell.
    Something like this would work:
    $mysites = Get-SPSite -Webapplication "My Sites"
    $Path = "\\path\to\place\backups\"
    foreach ($site in $mysite) {
    $filename = $($site.ServerRelativeUrl -replace "/", "_") + ".bak"
    Backup-SPSite -Identity $site -Path $($Path + $filename)
    This creates a site collection backup of every site collection in the My Sites Webapplication (you could customize this as necessary for your environment). Note that it replaces forward slashes ("/") in the site collection URL with underscores
    ("_") as you can't have the slashes in a filename.
    This is a quick and dirty script as well. You'd probably want to add outputs or set the site locks, or whatever.
    Alternatively, most third-party SharePoint backup solutions offer more granulated restore options -- with a single backup you can restore everything that an OOB backup would contain, plus you can get lower within the content -- so site collections, sites,
    lists, libraries, items, documents.
    Jason Warren
    Infrastructure Architect
    Habanero Consulting Group
    habaneroconsulting.com/blog

  • Grant permission - backup and restore

    Hello Everyone,
    Please help. I would like to give permission for the domain user to a particular database in SQL Server 2014 so that it can perform backup and restore it. User should take SQL Management Studio (local) to perform backup and restore.
    My user is granted the following roles: dbcreator, public, sysadmin (I know it is weak), and has privileges on the SQL Server backup directory. What should be improved?
    Thank you for your help.

    >> I would like to give permission for the domain user to a particular database 
    You can't control the permission level once the user granted higher permission in security hierarchy.
    Backup
    BACKUP DATABASE and BACKUP LOG permissions default to members of the sysadmin fixed
    server role and the db_owner and db_backupoperator fixed
    database roles.
    https://msdn.microsoft.com/en-us/library/ms186865.aspx
    Restore
    https://msdn.microsoft.com/en-us/library/ms186858.aspx
    If the database being restored does not exist, the user must have CREATE DATABASE permissions to be able to execute RESTORE.
    If the database exists, RESTORE permissions default to members of the sysadmin and dbcreator fixed
    server roles and the owner (dbo)
    of the database (for the FROM DATABASE_SNAPSHOT option, the database always exists).
    --Prashanth

  • HT4528 My apps store will not go online with verizon network, but on wifi it works. I am on an iphone 4, verizon.  I tried to do a complete, backup and restore on the phone 1 day before i noticed this problem,  The backup finished the RESTORE would fail c

    My apps store will not go online with verizon network, but on wifi it works. I am on an iphone 4, verizon.  I tried to do a complete, backup and restore on the phone 1 day before i noticed this problem,  The backup finished but the RESTORE would fail I had an error, could not access Apple server ( some server name I cant remember).
    I have plenty of space available on the iphone,
    8gb free,
    ios version- 6.1.3 ( 10B329)
    carrier - Verizon 14.0
    Modem Firmware - 3.0.04
    Can someone help.
    I tried doing my backup restore on the same computer as I once did a year ago. and THis time I cant do the restore on the iphone.
    computer osx is 10.5.8
    itunes version 10.
    I do not wish to go to ios 7 at this time.

    Settings > General > Reset > Reset Network Settings.
    Basic troubleshooting is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    If the issue continues, contact the carrier to troubleshoot the network connectivity issues.

  • Not able to sign into Blackberry Protect. Backup and Restore function not working. "Your device isn't associated with a Blackberry ID"

    Not able to sign into Blackberry Protect.  Backup and Restore function not working. Message is: "Your device isn't associated with a Blackberry ID."  My Blackberry Messenger and Blackberry World is working fine so I am sure its not an ID issue on the phone.  I can sign into Link, Blackberry.com and Protect.  I see my device in Protect but cannot send messages or view it on a map.  Times out with cannot reach device message.  BB Protect on Device has a swirling circle beside the on/of switch.  Cannot turn off.  
    I have deleted Link and re-installed.
    I have reset phone to default(factory) and signed in. 
    OS level is 10.2.1.3062
    BB Link is 1.2.3.56
    Solved!
    Go to Solution.

    I managed to figure this out myself. I had to delete the device from the Blackberry Protect website.  protect.blackberry.com.  I wiped my device again and signed in with my Blackberry ID.  I dont know if the step of wiping was necessary as I did not try my backup with the current configuration on the device following the delete.  Restore is in progress for me!

  • Iphone4 would not restore Error -50. I have tried to restore and it restored it to the point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out.

    Iphone would not restore---- Error -50. I have tried to restore, and it restored it to the new point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out. I can see earlier backups in my C:\Documents and Settings\user\Application Data\Apple Computer\MobileSync\Backup folder. There are four subfolders in this address. I need my contacts, photos, and messages back. I know this is a common error but I can not figure it out. I have ran the other troublshoot items in the error steps for 13 and 14 like apple says. Is there a way to call apple and get a step by step of how to restore from another restore point? Does anybody have a solution????

    It tells you to go to Error 13 and 14 if you receive error (-50).
    Here is what I have tried...
    Error 13 and 14: These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting. I have moved it around to different ports.
    Put a USB 2.0 hub between the device and the computer. Didn't change anything.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts. Removed all virus protection and firewall.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.Used the Microsoft fix it.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online. Doesn't matter.
    Try to restore from another known-good computer and network. I do not know how to do this or how to find the correct/full/complete restore point. There should be more information for this.

  • HT1766 Now, I understand how the backup and restore the backup functions. However, if I don't want to transfer the music that I have on iTunes to my phone, how do I avoid it? How do I not transfer the music or take it out of my iPhone if it is already the

    Now, I understand how the backup and restore the backup features function. However, if I don't want to transfer the music that I have on iTunes to my phone, how do I avoid it? How do I not transfer the music or take it out of my iPhone if it is already there? I really do not want any music on my iPhone because I have an iPod for that. Thanks. Hope someone can help.

    When you connect your phone and start iTunes on the left side you will see your phone listed under devices.Click on te icon next to it that looks like a battery. Click on the music button at the top and uncheck the sync music box.

  • Windows 8 full system backup and restore to new laptop (system with 32GB mSata Cache)?

    Hi, I have a new Envy DV7-7205 which has 2TB storage with 32GB HDD Cache (or mSata, not really sure how it's implemented). I need to return the laptop as it's faulty but I would like to startup on the replacement exactly where I left off.
    Are there any special methods required to backup and restore the system image from the old laptop to the new one, particularly with consideration to the 32GB SSD cache, as this doesn;t seem to appear as a distinct "drive" on the system.
    Please can anybody advise the simplest, safest method to move my entire system from old to the new laptops (should be exactly the same spec machine).
    Many thanks,
    Greg
    HP Envy DV7-7205tx, 2x1TB HDD, 32GB mSata Cache, Windows 8 Pro

    Hi,
    Firstly I don't know how this is going to work on new machine because the Windows 8 lisence would NOT work at all.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Can I backup and restore my itunes media using a hard drive?

    Can I backup and restore files if I used a hard drive?
    I do not want to backup my entire itunes library of >200 GB to individual CDs and DVDs, if I can help it; it will take forever. Hence the above question.
    Thanks!

    The answer to your question is yes, though anyone who posts to this group would not be asking that question. I think you might be looking for the iTunes discussions group?
    RealDave

Maybe you are looking for

  • I am not able to send Imessages or FaceTime on my iMac.

    So about 3 days ago All of the sudden my Messages and Facetime app no longer work on my iMac. I can login to both but if I try and send an Imessages I get "Not Delivered". I will NOTE that I can use the screen share option and SMS messages send but o

  • Using a TCP/IP Connection to REQUEST and RECEIVE data from a iDRX Signal Conditioner through a EIS-2B Server

    First let me say that I am new to labview, please bear with me.  I want to use Labview to querry a iDRX thermocouple signal conditioner using tcp/ip.  The signal conditioner is wired to a EIS-2B server.  The server is at 198.162.10.53 and port 2000. 

  • Exchange 2010 - Export a list of delegates for a given group of users

    I am trying to export a list of delegates on a list of mailboxes in Exchange 2010, and cannot get it to work.  This is the most promising one I'm working with. $list = import-csv c:\day1.csv $list | foreach-object {get-mailbox -ResultSize unlimited |

  • Load Order of Views

    I have three views on/controlled by one NIB (splash view, customer view, and summary view). The AppDelegate loads the splash screen which does the transition to the customer screen. I am using the 'presentModalViewController' to transition from the c

  • After Effects Comp fps settings

    Hi, I have shot some 240 fps footage and When I import it ot After Effects, I have notices that the fastest the Comp can use is 99 fps which makes the footage render our at 2.5 times slower than realtime. Is there a solution to this as I would like s