Move Database From One Server to Other

  • Hi All,

    What I am trying to do is that I am trying to copy database from Other Sever. I am coping the database from source server and connected it my server. Everything is working fine but at the last it is showing me error like below:

    SqlServer Agent is not currently running so it cannot be notified of this action. (Microsoft SQL Server, Error: 22022)

    Could please let me know the remedy?

    Thanks in advance!

  • How are you trying to move the database ?

    Copy database wizard?

    copy a backup across and restore ?

    SSIS package to copy the data across?

    Or something else.

    Any more information you can supply will help.

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • Thanks for your prompt reply

    I am trying to do it using Copy Wizard. Is there way why I am getting the above mentioned error.

    Thanks in advance!

  • Why not just take a backup, copy the backup across and restore on the other server?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Then I need to take others help as the database is on Other server then I need to ask that person to take the back up and also will have take the back up file from him.

    That's why I myself trying to copy the data from other server.

  • niladri.primalink (3/5/2013)


    Then I need to take others help as the database is on Other server then I need to ask that person to take the back up and also will have take the back up file from him.

    I take it that both of the database servers belong to your company.

    Gail's (Gilamonster) solution is the obvious one to me as well. Backup, copy and restore.

    If you do not have access to the server (and it belongs to your company) then ask for access - even if it is on a temporary basis- it appears you need it for part of your job. Then you can perform the whole task yourself with out having to call on one of your colleagues.

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • I've done the backup...copy...restore scenario quite a bit and it works very well. If you need to move your data files to other drives on the new server, there are parameters for that in the RESTORE DATABASE command.

    It's definitely simpler than trying to use the wizard.

  • Thanks all for your reply.

    Earlier I used to do it in the same way and also I have used SSIS package to move data from one server to other. I used to take back up from other server and then restore it in my server.

    But what I am asking is that when I am trying to move the database using Copy wizard then why I am getting the above mentioned error.

    Again thanks all of you for your response.

  • Have you checked SQL agent is running ?

    If it isn't have you checked the logs to establish why not?

    Best bet after that is to google your error - there may well be a 100% fit for what you are experiencing complete with a resolution.

    If you luck out after doing some research - then come back with more info and see what people here can do to help.

    Good Luck

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • You are right SSCrazy. Agent is not running that's why I am getting error.

    Thanks again for your help.

  • It's funny how folks miss to read what the error message says.

    https://sqlroadie.com/

Viewing 11 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic. Login to reply