How to create a new database after copying an existing database with a new name

hi
i have an existing database and want to copy with a new name in sql server 2005 how do it is possible 
spose
i have a db name attached in sql server StoreManagementDB now i want to copy this database with all the transactions as StoreManagementDB_1.
thanks

Use a two steps to use a backup file to restore a database with a new name.
----You need to have a full backup of your database:
--Step 1:
RESTORE FILELISTONLY
FROM DISK = 'C:\bk\TEST.BAK'
--Find out the LogicalName of data file and log file
-- in this case: the data file: TEST and the log file LogicalName: TEST_log
--Both names will be used in the MOVE command
--Step 2:
-- Restore the files for test1.
RESTORE DATABASE test1
FROM DISK = 'C:\bk\TEST.BAK'
WITH RECOVERY,
MOVE 'TEST' TO 'C:\bk\test1_Data.mdf',
MOVE 'TEST_log' TO 'C:\bk\test1_Log.ldf'
GO

Similar Messages

  • How to create ISU Business partner from copying the existing ISU BP

    Hi,
    What is the BAPI used to create the new ISU BP from copying the data of the existing ISU BP? Please help.

    Hi Sreenivas,
    Can you please let me know the BAPI name or else the solution for the above.
    Thanks in Advance,
    Abhishek Ranjan.
    Edited by: abhishek ranjan on Oct 11, 2011 2:07 PM

  • How to create Oppertunity doc automatically after lead in CRM SALES

    Hi,
    how to create oppertunity doc automatically after creating lead in crm sales
    Thanks7regards
    kishor kumar

    Hi Kishore,
    Create SAP Business Workflow for Opportunity from Lead 
    Use
    A lead is a business transaction that describes, stores, updates, and manages the potential business interests of a business partner, and the interactions based on this over a period of time. The goal is to provide the "sales" area with the information gained in the lead, in order that it can be used as a basis for deciding whether to create an opportunity.
    The information gathered in the lead is transferred to the "sales" area via the workflow "create opportunity from lead".
    In the workflow, you decide whether the opportunity is generated manually or automatically.
    If the lead-specific attributes Priority and Lead group fulfill specific criteria, the workflow automatically generates an opportunity. Otherwise, the workflow sends a work item to the sales employee responsible, for manual creation. Once he has checked the data in the lead, the sales employee can either reject this lead or create an opportunity from it.
    The workflow is automatically started when the lead is saved.
    The sales representative entered in the lead is first taken as the sales employee whose task it is to create the opportunity based on the information in the lead. This person can be determined using partner determination in CRM, depending on the prospect in the lead, and can, for example, be a manager of a sales area. If no sales representative is entered, the workflow takes an organizational unit assigned in the workflow template, and sends the work item to all users assigned to the organizational unit.
    Prerequisites
    u2022     The type linkage for the start events AttributeChanged and SetErrorFree for the workflow WS10001011 are deactivated as a standard procedure, and, if you wish to start the workflow template, they have to be activated again in Customizing. The workflow task processors must also be maintained. In Customizing, choose Customer Relationship Management  Basic Functions SAP Business Workflow  Perform Task-Specific Customizing.
    u2022     The workflow template uses the user statuses SAAC (accepted by sales) and SARE (rejected by sales) of the status profile CRMLEAD. If you have defined several user statuses, the data flow for task TS10008154 (set status) must be adapted accordingly.
    u2022     When the opportunity is created, the workflow template uses the opportunity transaction type OPPT. If you have defined several transaction types for the opportunity, the data flow for task TS10008151 (create opportunity) must be adapted accordingly.
    u2022     If the sales employee rejects the lead, the workflow resets the qualification level to value 02 (warm). If you have specified your own qualification levels in Customizing, you need to adapt the data flow for task TS10007918 (change qualification level) accordingly.
    Process of Workflow WS10001011 (create opportunity from lead)
    The workflow "create opportunity from lead" is started when a lead is saved with qualification level Hot and status Error-free. The system uses the lead-specific attributes Priority and Lead group to check whether an opportunity can be automatically created, or a sales employee first needs to decide. If the sales employee decides that an opportunity can be created, the lead status is set to "accepted by sales", and an opportunity is created in the background. If necessary, this is forwarded to the sales employee to check. If the sales employee rejects the lead, the lead status is set to "rejected by sales", and the initiator is informed by mail.
    The workflow is ended if no opportunity is created and
    o     the lead is deleted or
    o     the qualification level of the lead is changed to a value other than Hot or
    o     the status of the lead is changed to a value other than Error-free.
    Path for the workflow:
    ==> SPRO
    ==> Customer Relationship Management
    ==> Basic Functions
    ==> SAP Business Workflow
    ==> Perform Task-Specific Customizing
    Select the Application Componenet  Abbrevation as CRM and expand
    Select CRM-BTX and expand
    Select CRM-BTX-LEA and click on Activate event linking  and acivate workflow WS 10001011
    It may helps you
    Regards
    Narayana

  • My playlist didn't show up on new laptop after copying from the old laptop

    What can I do when my playlists didn't show up on new laptop after copying from the old one?

    abombaci wrote:
    I just simply copy only the whole iTunes music folder to my external hard drive, that's it and it goes good. That way if you just copy the whole iTunes folder it also carries along with it all it's subfolders. If subfolders aren't carried over you may end up with a library with missing album arwork. Album artwork, iTunes media folder, itunes previous libraries, itunes XML folders etc., etc. You get the picture.
    Yes.
    This is much better way than changing the media folder location.
    Keep everything in the same iTunes folder.
    However, when I do it this simple way as compared to the Apple way it doesn't save my play counts or ratings.
    Since it is exactly the same library, everything should be the same.
    Then just go to external drive click on iTunes folder and then in iTunes add folder to library and all your songs load up. This isn't moving the library but just backing it up.
    You don't need to add anything.
    Hold Option and launch iTunes.
    Select Choose library... and select the iTunes folder you copied to the external.
    You can delete then /Music/iTunes/ folder as this same folder was copied to the external and this is now your iTunes library.
    You can also do this top make a backup of the iTunes library (thoug you should be making a backup (Time Machine or some other backup program) of yoru entire computer.

  • HT4623 After updating my iPhone 4S with the new iOS7, I lost all my games and apps that I had downloaded to my phone. How do I get these apps back?

    After updating my iPhone 4S with the new iOS7, I lost all my games and apps that I downloaded to my phone. How do I get them back?

    Hello JeepJackie
    Check out the article to download your past purchases to your iPhone.
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht2519
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • HT2534 Its is fake . i have bought iphone today but i haven't cred card so how i create account ? Your example type "none" window not come . New iphone but with out ID useless Phone :(

    Its is fake . i have bought iphone today but i haven't cred card so how i create account ? Your example type "none" window not come . New iphone but with out ID useless Phone

    Most of the people on these forums, including myself, are fellow users - you're not talking to iTunes Support here.
    Did you follow the instructions on that page exactly when creating the account (the instructions won't work with existing accounts) ? e.g. if doing it on your phone and you are currently logged into an account then log out of it, find a free app in the app store app, tap on its free price button, tap 'install app', and then tap on 'create new apple id' on the popup that you get. I tried those instructions on my phone a few days ago in response to another thread and I got the 'none' option on the payments screen.

  • How can i delete my old verify E-Mail and register with my new E-Mail into Creative Cloud App on the PC?

    I want to register with another Account into my Creative Cloud. When i download Creative Cloud, they always say that i must accept and verfiy my E-mail at my e-mail adress, but i have forgotten the whole password of my e-mail. So i created an new adobe account and wanted to login with this account into creative cloud. but everytime i am in creative cloud i only can accpet and verify the old email, i can't do something else. i uninstall creative cloud and install it again from the new accout, but everytime i only can verify the old email. Could anybody help me and say how i can register with my new email , so that i can verify with my new email?
    I got an PC with Win7.

    I did, but they can't help me too. I uninstall the App, and reinstall it like 10 times, and everytime it is this: (Screen: Screenshot by Lightshot)
    I don't know anymore the E-Mail Password, because it was just an fun E-Mail Adress.
    Could anybody help me and say how i can register in the Adobe Creative Cloud App on my Desktop with my new Account?
    But thanks for the help attempt Sheena.

  • How do I duplicate all my data from my existing Macbook to a new Macbook that I purchased last night?

    How do I duplicate all my data from my existing Macbook to a new Macbook?

    Easiest way is to connect them together and use Migration Assistant (which comes with all Macs).
    To connect them, use one of the following:
    ethernet cable
    firewire cable
    Apple Thunderbolt-Firewire Adapter + firewire cable (if your new Mac has Thunderbolt but your old Mac has FireWire)
    thunderbolt cable (if both Macs have Thunderbolt)
    network (wired or wireless)
    Do not use a USB cable!

  • HT204053 I loaded the new iTunes (11.0.0.163) on my computer and also just purchased a new iPhone 5.  Prior to loading the NEW iTunes, I was able to sync with my new iPhone 5.  After I loaded the new iTunes, I now get an error message: 0xE8000084.  What's

    I loaded the new iTunes (11.0.0.163) on my computer and also just purchased a new iPhone 5.  Prior to loading the NEW iTunes, I was able to sync with my new iPhone 5.  After I loaded the new iTunes, I now get an error message: 0xE8000084.  What's up?
    Also, it says the iPhone 5 is not registered to my Apple ID.

    See if the troubleshooting for 0xE error codes on this page helps : http://support.apple.com/kb/TS3221

  • I HAD AN IPHONE AND DOWNLODED MANY PAID AND FREE APPS.MY IPHONE AND LAPTOP ARE NOT WORKING NOW.HOW DO I DOWNLOAD THE APPS INTO MY NEW LAPTOP SO THAT I CAN SYNC WITH MY NEW IPAD

    I HAD AN IPHONE AND I DOWNLOADED MANY PAID AND FREE APPS FROM ITUNES STORE.NOW MY IPHONE AND LAPTOP ARE NOT WORKING.HOW DO I GET THESE APPS INTO MY NEW LAPTOP SO THAT I CAN SYNC WITH MY NEW IPAD

    How to redownload purchased apps from the App Store

  • How do I transfer powerpoint and word documents to my ipad with the new itunes?

    how do I transfer powerpoint and word documents to my ipad with the new itunes?

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • How do I reset my iCloud old inaccessible email and password with my new iTunes email and password currently working on a different device?  Thanks for any suggestions ,

    How do I reset my iCloud old inaccessible email and password with my new iTunes email and password currently working on a different device?  Thanks for any suggestions ,

    TThat's the problem.  I've tried to delete the current icloud account but in order to that you need to put in the old password which I don't have so it kicks me out.

  • HT1848 How do I transfer purchases from my Ipod to the computer with this new Itunes update?

    How do i transfer purchases from my IPod to my comouter with this new ITunes update?

    The same way you have done in every version of iTunes.
    Right click on the device and select "Transfer Purchases"
    If the sidebar is not displaying, type Cntrl + S.

  • How can I download everything on my Ipod to an account with a new name?

    How can I download everything on my Ipod to an account with a new name?  (my wife has been putting songs and books on her Ipod using my account, and she now would like to setup an account using her name)

    Hello stephencadmaster,
    While you cannot transfer purchases to a different Apple ID, you can utilize Family Sharing. I've linked to an article that explains how to share content between Apple IDs using this feature:
    Family Sharing - Apple Support
    All your family’s purchases, on all your family’s devices.
    Once you’ve set up Family Sharing, all the eligible songs, albums, movies, TV shows, books, and apps ever purchased by family members are immediately available to everyone else in the family. And, of course, so are new purchases. The content appears automatically in the Purchased tab in iTunes, iBooks, or the App Store for each family member. Just select the family member whose collection you’d like to browse, then download and play the content you choose. Other family members can access your collection in the same way. If you want to keep some purchases private, you can choose to hide individual items.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • My old MacBook pro died, got a new Mac can I use my cs4 with my new computer?

    MMy old MacBook pro died, got a new Mac, can I use my cs4 with my new computer? Do I need to buy a new license?

    Using Time Machine, or any other such program, to transfer Adobe software from one machine to another works probably less than five percent of the time. Uninstall from your new machine. Run the cleaner tool (do a search for Cleaner Tool on this site if you don't know what it is). Then reinstall properly from original media or downloads.
    --OB

Maybe you are looking for