Migration of old server to new server...how??

Hi all...
I am here to discuss about some information  to how migrate a server from old machine to a new server??
can someone provide some good links??
i did searched on google but didnt quite understood the whole thing.
Currently server is sql 2005 and in new server also i want the same .

hi
Refer this kb article for moving databases from one server to another server
http://support.microsoft.com/default.aspx/kb/314546
There are 4 ways to move/copy a database from one server to another server using SQL Server Tools.
i) Detach the database from the old server and attach it in the new server. This is purely offline operation and it moves the database instead of copying it.
Refer http://msdn.microsoft.com/en-us/library/ms190209.aspx : how to use attach/detach database in SQL Server Management Studio(SSMS)
ii) Back up the database in the old server and restore it in the destination server. This can be performed during online and it creates a new database in the destination server.
Refer http://msdn.microsoft.com/en-us/library/ms187048.aspx for more information.
iii) Using copy database wizard in SQL Server Management Studio.
Select the database in the source server in SSMS
Right click ->Tasks->Copy Database Wizard to launch the copy database wizard.
Enter the source and destination credentials and select either attach/detach or SMO type
click next and you can schedule or run immediately
Click finish to execute it
Refer http://msdn.microsoft.com/en-us/library/ms188664.aspx for more information.
iv) The last type is to generate the create script using Generate Script Wizard (SSMS)  and execute it in the destination server.
Select the database in the source server in SSMS
Right click ->Tasks->Generate Scripts Wizard to launch the wizard.
Select the various scripting options needed and select the objects needed to generate the scripts for them. Make sure script data = true in the scripting option to generate script for data as well (INSERT statements)
click next ->next and finish to generate the script (new query window or clip board or file)
connect to the destination server and create the new database in it.
Click new query window and paste the script generated using GSW above and execute them with the destination database context.
Refer http://msdn.microsoft.com/en-us/library/ms181421.aspx for more information
v) Using Transfer Object in SMO
Sample code:
ScriptingOptions so = new ScriptingOptions();
so.ScriptData = true;
Transfer t = new Transfer(db);
t.CopyAllObjets = true;
t.options = so;
 t.TransferData();
Note: Transfer class is available in Microsoft.SqlServer.SmoExtendedClass.dll  (SQL Server 2008)
or Microsoft.SqlServer.Smo.dll (SQL Server 2005)
There are various member variables to be configurable. Also ScriptingOptions class object can be created and assigned to the transfer object as well.
set ScriptData = true in order to transfer data also. It copies the destination instead of moving the database
Refer  http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.transfer.aspx for more information.
Does this helped?
Thanks
Sreekar

Similar Messages

  • I had a data migration done from old iMac to new iMac, how do I use that file to find my old email contacts, Safari bookmarks, etc ?

    I recently had a data migration from old iMac to new iMac 11.2
    How do I use that data file to get old email contacts, Safari bookmarks, etc ?

    FireWire cables are dirt cheap and that's how you should be doing the migration. You might have to start over, wiping the new machine's HD, and restoring the software as described in the Everything Mac manual that came with it. See Best Practices and Setup new Mac for more details.

  • How do I migrate from old Imac to new?

    How do I migrate from old Imac to new?

    Setting-up a new Mac from an old one, its Backups, or a PC 

  • I have chosen to fil migrate from old ibook to new MacBook Pro using Time Machine after establishing admin account. I now have two admin. accounts and wish to delete the later one and transfer files manually. I am worried I will loose both accounts. ??

    I have chosen to fil migrate from old ibook to new MacBook Pro using Time Machine after establishing admin account. I now have two admin. accounts and wish to delete the later one and transfer files manually. I am worried I will loose both accounts. ??

    Use the Office for Mac and ignore using Parallels for that. If you have PC only apps you have to run that are MS Windows only then consider Parallels. Just transfer your main PC, using Migration Assistant.  If you don't know how then simply read over Pondini's article called Lion or Mountain Lion Setup Assistant tips and look for the section on migrating from a PC. Millions have done what you are about to, it's far from leading edge these days, if you go to an Apple Store to purchase they will offer this as a service, something you might be interested in.

  • Cant find my iTunes library after migration from old PC to new Mac

    Can't find my iTunes library after migration from old PC to new Mac?

    Migration Assistant has transferred itunes content, but where is it on new iMac?
    https://discussions.apple.com/thread/3358162?start=0&tstart=0   <<< click here for a possible answer.

  • Migration from old MacPro to new MacPro?

    How will the migration of my data be handled with the new MacPro?
    My old MacPro has sATA hard disks and Firewire 800. The new one will have no internal sATA, no Firewire but just Thunderbolt and USB 3.
    In previous days I could transfer all my data through the migration assistant and Firewire. In addition I always physically moved 2 of the 3 hard disks to the new Mac. All of these strategies will not work anymore. Even worse, there are no external enclosures availble for sATA disks with Thunderbolt connectors.
    So - is there any reasonable way to migrate more than 2 TB of data from my old to a new MacPro????

    Sonnet TB
    http://www.sonnettech.com/product/echoexpresschassis.html
    Sonnet 4-port 6G SATA controller
    http://eshop.macsales.com/item/Sonnet%20Technologies/TSATA6PROE4/
    They mention the above controller with either external or inside a TB case.
    A 'full size' 3 x PCIe cards (or one double-wide and 1 x single width) or a case w/ one SATA 6G card and room for disk drives.
    PCIe SSD cards will do well.
    The cost of TB/TB2 cases does represent $300 and up cost. For those already using external drive cases of 4-12 drives it should be easy.

  • Migration from old Mac to new mac 27 inch

    Just a quick question on migration of data & applications.
    I have 10.5.8 on my old Mac & have ordered a new 27 inch Imac which will be delivered next week.
    Reading the migration process I have one query.
    My new Mac will have OSX 10.6 - the new ilife 2011 programs - so my question is whilst I want my old photos, movies, data and applications that will not be on the new computers do I transfer (migrate) across in migration the old iphoto & Ilife 2010 applications and operating systems
    thanks

    +Last question I promise.+
    It has really not so much to do with "getting the best" out of it; rather, it has to be formatted correctly to work (i.e. most hard drives come formatted for Windows). So, depending on which brand you get, it's best to format it just to make sure. Note: you do not really need any included software, the Mac built-in Disk Utility does a fine job. Once you power it up and plug it in, you'll get an icon on your desktop. Now open Disk Utility, find that hard drive on the left, and choose the "partition" tab. Once there, make sure to choose "Mac OS Extended (Journaled) and, under options, choose GUID partition table. You can then also name it and/or partition it if you want (don't forget to name each partition, i.e. HD backup, photos, whatever). Click on apply. You'll get a warning that everything on it will be deleted - that is ok. Once done, you'll have the newly named partition(s) on your desktop and are ready to go.
    Another note: if you're planning on using Time Machine, read all the tips (Pondini's) in the TM forum. I don't use it, so I can't help there (I create bootable clones on mine instead).
    Final note: when you reply on these forums, it makes it easier if you click on the reply button of the person you are responding to - otherwise we don't know which one of us should respond to your last question....

  • I migrated my old IMac to new and Aperture won't let me import from camera

    I migrated old iMac to new and Aperture will not let me import from camera from. Migrating created two users and I get an error message saying I do not have permission write. I have gone to get info and it says I have read and write permissions.
    iMac 10.7.5 Aperture 3.4.5

    nopriors wrote:
    I used migration Assistant
    That's the problem.  Apple doesn't make it clear that you should transfer when the new Mac starts up, not later on with Migration Assistant. 
    which told me to enter a new name . I had the new computer and old with same name. I called the new user my name with word "old" so not the same name as old Mac.
    The problem isn't the names, it's the (mostly hidden) User ID number (UID).  See the pink box in Problems after using Migration Assistant for an explanation of what happened.
    Your best bet is to use one of the workarounds (probably #4) in the green box there, to re-transfer your account.  It will have exactly the same name and permissions as before.
    If you want to change the name, you can, but it takes a minor finagle. Post back if you want to do that.

  • Migrating from old G5 to new iMac

    Hello
    At work, as a graphic designer, I use a 5 year old G5 on OS 10.5.8. I am about to upgrade to a brand new iMac and was wondering what the best way would be to go about transferring files/software from the G5 to the iMac.
    I have been advised to use Migration Assistant but have no experience of using this software whatsoever, so would appreciate any advice or tips.
    At the moment the G5 has a number of accounts set up on it. One is mine, the other is an old account belonging to the last designer I replaced, and one is an account set up by our IT department even though they never use the mac. Ideally I'd like to just have one account for the iMac to stop any confusion or problems (when I replaced the old designer my new account was set up for me by the IT dept and I've had non-stop problems with file permissions/authentification etc ever since).
    Will MA get rid of the permission problems I've been having? Do I need to transfer all accounts?
    Does MA transfer settings and password info, or will this need to be recorded and re-entered manually?
    Would I be better off just transferring everything manually?
    If anyone can help it would be much appreciated!
    Thanks.

    Remove the unwanted accounts from System Preferences > Accounts. Unlock the prefs by clicking the lock at the bottom and authenticating with your admin password. Select the account to delete and click the minus sign at the bottom of the window. You may be asked if you want to preserve the data or completely delete; choose the complete deletion. Do that for both surplus accounts.
    BTW, you can only do this if you're logged in as admin user yourself.
    When you're happy that you've got rid of all the extraneous stuff, don't use MA. On first boot of the new Mac you'll be offered the option to transfer files from another source (this is Setup Assistant). Connect the two by firewire and choose 'from another Mac'. Continue with the initial setup as prompted.
    Note that transferring all your stuff may take quite a long time (hours).
    Using Setup Assistant at first boot ensures you get one account with all the correct permissions.
    Using Migration Assistant after creating an account can lead to serious permissions problems, duplicated data and other problems.

  • Migrating Creative Suite 4 from old Mac to new Mac: how?

    Hi_
    I just got a new Macbook Pro and used Migration Assistant to xfer all my stuff on the old Macbook Pro to the new one.
    Now my Adobe Creative Suite 4 won't work on the new Mac.
    How do I get the software to work on the new Mac?
    Thanks,
    Mark

    Adobe software needs to be iinstalled, migrating between machines doesn't usually work.  Uninstall it from the new machine if possible and reinstall using installation files.  You can download CS4 installation files thru the following page:
    Download CS4 products

  • Problems opening Firefox or Netscape after migrating from old iMac to new

    When I set up my new iMac I migrated my internet settings and other preferences and apps from my old iMac.
    Now, I can't get Firefox, Netscape or even Internet Explorer to open unless I have my old iMac on and connected via Firewire and router to my new one.
    I get a dialog box telling me that: Connection Failed in bold letters and then the following: This file server is running on your machine. Please access the volumes and files locally.
    I had a wireless connection on my old iMac cause I needed to connect a windows pc laptop to get on-line in order to work. I have a wireless router which is now connected to my new iMac as the main computer.
    Before I turned off and unpluged the old mac whenever I opened Firefox or Netscape my old iMac drive would pop up on my desktop and my browsers would open up instantaneously without a hitch. All other apps open without a problem.
    Any suggestions will be welcomed.
    iMac 17" Flat Panel   Mac OS X (10.4.4)   160 GB, 1.83 GHZ Intel Core Duo, 512 MB DDR2
    iMac 17" Flat Panel   Mac OS X (10.4.4)   160 GB, 1.83 GHZ Intel Core Duo, 512 MB DDR2

    Thanks but that did not work. Under the new user I tried all browsers and the only one that opens is Safari.
    I even tried deleting the preference files and still nothing.
    I disconnected the old mac but I still keep getting a dialog box titled AFP Connection Status and Looking up "name computer" and now I get the Connection Failed - The server may not exist or it is not operational at this time. Check the server name or IP address and try again.
    Neither Firefox, Netscape, Mozilla or Internet Explorer open.

  • Migrated from old Mac to new Mac with Lion, iPhoto 6 still here, can't update

    Hi, I just migrated from an old MacBook to a brand new MacBook Pro. The Apple Store did the migration for me. For some strange reason, iPhoto 6 is present on this Mac, even though it should have come with iPhoto '11. I understand that I should be able to install iPhoto '11 from the App Store, since this Mac is entitled to it, but it only shows up as a $15 purcahse instead.
    Does anyone know how to get the App Store to recognise that this Mac shipped with, and is entitled to, iPhoto '1?

    First, get rid of any old copy of iPhoto you have on the new computer. Log into the App Store using your Apple ID. Click on Purchases icon. At the top you should find the three iLife apps with an Accept button to click on. Then you can download iPhoto without having to pay for it.

  • Migration from old Powerbook to new iMac

    I have just bought a new Intel 20" iMac. I have moved Documents, Applications and Music from an old G4 Aluminium Powerbook (running Leopard) to the iMac but which ever way I do it, be it via Migration Assistant, Wireless or via Ethernet cable, the size of the Hard Disk on the iMac increases by double. I also now have the following very annoying things happening, such as tons of Alias' on my Hard drive, .DS_Store files absolutely everywhere and a Microsoft AU Deamon appearing everytime I restart the iMac.
    Can anyone advice me on how to identify the space consuming files, how to get rid of them and how best to get my files, music, photos etc from the old Powerbook onto this iMac.
    Kev Bate

    Brody,
    Thank you. You have saved me from going crazy as everyone (including the Techies at the Mac shop where I bought the iMac) were adamant how easy it was to migrate using Migration Assistant. So I was getting a complex that whenever I brought something across from the Powerbook that the hard drive on my iMac was doubling in size.
    I took the iMac back to the Apple shop and they restored the disk back to the original settings. I am now transferring files using traditional & physical means such as external hard drives.
    Kev

  • Migrate from old G4 to new mac mini

    how can i migrate from an old mac without airport to a new mini?  i have them connected by a firewire cable.

    See the following: Transferring files between two computers using FireWire
    A Basic Guide for Migrating to Intel-Macs
    The Knowledgebase article Intel-based Mac: Some migrated applications may need to be updated refers to methods of dealing with migrating from PowerPC chips to Intel with the Migration Assistant safely. The authors of this tip have not had a chance to verify this works in all instances, or that it avoids the 10.6.1 and earlier Guest Account bug that caused account information to get deleted upon use of the Migration/Setup Assistant. However, a well backed up source that includes at least two backups of all the data that are not connected to your machine will help you avoid potential issues, should they arise. In event it does not work, follow the steps below.
    If you are migrating a PowerPC system (G3, G4, or G5) to an Intel-Mac be careful what you migrate.  Keep in mind that some items that may get transferred will not work on Intel machines and may end up causing your computer's operating system to malfunction.
    Rosetta supports "software that runs on the PowerPC G3, G4, or G5 processor that are built for Mac OS X". This excludes the items that are not universal binaries or simply will not work in Rosetta:
    Classic Environment, and subsequently any Mac OS 9 or earlier applications Screensavers written for the PowerPC System Preference add-ons All Unsanity Haxies Browser and other plug-ins Contextual Menu Items Applications which specifically require the PowerPC G5 Kernel extensions Java applications with JNI (PowerPC) libraries
    See also What Can Be Translated by Rosetta.
    In addition to the above you could also have problems with migrated cache files and/or cache files containing code that is incompatible.
    If you migrate a user folder that contains any of these items, you may find that your Intel-Mac is malfunctioning. It would be wise to take care when migrating your systems from a PowerPC platform to an Intel-Mac platform to assure that you do not migrate these incompatible items.
    If you have problems with applications not working, then completely uninstall said application and reinstall it from scratch. Take great care with Java applications and Java-based Peer-to-Peer applications. Many Java apps will not work on Intel-Macs as they are currently compiled. As of this time Limewire, Cabos, and Acquisition are available as universal binaries. Do not install browser plug-ins such as Flash or Shockwave from downloaded installers unless they are universal binaries. The version of OS X installed on your Intel-Mac comes with special compatible versions of Flash and Shockwave plug-ins for use with your browser.
    The same problem will exist for any hardware drivers such as mouse software unless the drivers have been compiled as universal binaries. For third-party mice the current choices are USB Overdrive or SteerMouse. Contact the developer or manufacturer of your third-party mouse software to find out when a universal binary version will be available.
    Also be careful with some backup utilities and third-party disk repair utilities. Disk Warrior, TechTool Pro , SuperDuper , and Drive Genius  work properly on Intel-Macs with Leopard.  The same caution may apply to the many "maintenance" utilities that have not yet been converted to universal binaries.  Leopard Cache Cleaner, Onyx, TinkerTool System, and Cocktail are now compatible with Leopard.
    Before migrating or installing software on your Intel-Mac check MacFixit's Rosetta Compatibility Index.
    Additional links that will be helpful to new Intel-Mac users:
    Intel In MacsApple Guide to Universal ApplicationsMacInTouch List of Compatible Universal BinariesMacInTouch List of Rosetta Compatible ApplicationsMacUpdate List of Intel-Compatible SoftwareTransferring data with Setup Assistant - Migration Assistant FAQ
    Because Migration Assistant isn't the ideal way to migrate from PowerPC to Intel Macs, using Target Disk Mode, copying the critical contents to CD and DVD, an external hard drive, or networking will work better when moving from PowerPC to Intel Macs.  The initial section below discusses Target Disk Mode.  It is then followed by a section which discusses networking with Macs that lack Firewire.
    If both computers support the use of Firewire then you can use the following instructions:
    1. Repair the hard drive and permissions using Disk Utility.
    2. Backup your data.  This is vitally important in case you make a mistake or there's some other problem.
    3. Connect a Firewire cable between your old Mac and your new Intel Mac.
    4. Startup your old Mac in Target Disk Mode.
    5. Startup your new Mac for the first time, go through the setup and registration screens, but do NOT migrate data over. Get to your desktop on the new Mac without migrating any new data over.
    If you are not able to use a Firewire connection (for example you have a Late 2008 MacBook that only supports USB:)
    1. Set up a local home network: Creating a small Ethernet Network.
    2. If you have a MacBook Air or Late 2008 MacBook see the following: >MacBook (13-inch, Aluminum, Late 2008) and MacBook Pro (15-inch, Late 2008)- Migration Tips and Tricks:
    MacBook (13-inch, Aluminum, Late 2008) and MacBook Pro (15-inch, Late 2008)- What to do if migration is unsuccessful; MacBook Air- Migration Tips and Tricks; MacBook Air- Remote Disc, Migration, or Remote Install Mac OS X and wireless 802.11n networks.
    Copy the following items from your old Mac to the new Mac:
    In your /Home/ folder: Documents, Movies, Music, Pictures, and Sites folders.
    In your /Home/Library/ folder:
    /Home/Library/Application Support/AddressBook (copy the whole folder) /Home/Library/Application Support/iCal (copy the whole folder)
    Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
    /Home/Library/Keychains (copy the whole folder) /Home/Library/Mail (copy the whole folder) /Home/Library/Preferences/ (copy the whole folder) /Home /Library/Calendars (copy the whole folder) /Home /Library/iTunes (copy the whole folder) /Home /Library/Safari (copy the whole folder)
    If you want cookies:
    /Home/Library/Cookies/Cookies.plist /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
    For Entourage users:
    Entourage is in /Home/Documents/Microsoft User Data Also in /Home/Library/Preferences/Microsoft.
    Credit goes to Macjack for this information.
    If you need to transfer data for other applications please ask the vendor or ask in the  Discussions where specific applications store their data.
    5. Once you have transferred what you need restart the new Mac and test to make sure the contents are there for each of the applications.
    Written by Kappy with additional contributions from a brody.Revised 4/17/2011

  • How to transfer email folders from old Mac to new Mac, How to transfer email folders from old Mac to new Mac

    How do I transfer email folders with all messages from a i-Mac G5 (OSX 10.4.11) to a new iMac with OSX 10.6.7?

    Martin,
    I would recommend starting over this time using Setup Assistant. Because you are migrating from a PPC machine I would migrate everything EXCEPT applications. You should manually install your apps, this will give you the opportunity to udate the ones that need it and I'm sure there are many. You may even apps that won't run on Intel based machines so why migrate them at all? You can use the Setup Assistant tips beginning at "Second chance...." You can either restore from your old machine or from one of it's backups. I think you'll see it's a pretty clean process, something you passed over (I'm not sure why) when  you turned on the new iMac for the first time.

Maybe you are looking for

  • Kisight: How do I get my iSight working ?  Trouble Shooting an iSight Camera.  (Version 3)

    Replacement for the second draft of this Thread   (To be removed if Published as Tip) kisight: How do I get my iSight working ? Trouble Shooting an iSight Camera.  (Version 3) Hi,     On many subjects Apple has Articles and Documents that can help. I

  • How to set a variant View of ALV at runtime

    Hi, For each user, I have saved in a specific table the Configuration Key of The variant he has created. At runtime I want to set this one in my ALV component. I think to use the method if_salv_wd_comp_table_pers~set_standard_view of class CL_SALV_WD

  • Oracle 9.2.0.1 Standard Edition Silent Installation using Response file

    Does Oracle 9i Standard Edition come in 3 CDs??. I heard problems about providing response files to silent install Oracle 9.2.0.1 server. I am about receive a licensed copy of Oracle 9i and I am looking at creating a response file for silent installa

  • Unique Constraint Error at Apply side

    We have streams configured between two databases. Source database is of Version 9.2.0.3 and target database is of 9.2.0.4 I have a table TEST with primary key PK_TEST on column A. Performed the following steps on the source database: Step1: insert in

  • Need workflow materials

    Hai Guys, I am new to workflow and I know ABAP and Overview of the MM and SD. Now I need to study workflow related to the above functional area. For that what can i do and how to study? any book and any websides provide information, If you have note