Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Move Database From One Server to Other Expand / Collapse
Author
Message
Posted Tuesday, March 5, 2013 3:32 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, September 18, 2014 7:15 AM
Points: 96, Visits: 179
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!
Post #1426694
Posted Tuesday, March 5, 2013 3:39 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, September 18, 2014 3:20 AM
Points: 3,060, Visits: 3,283
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
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
Post #1426699
Posted Tuesday, March 5, 2013 3:41 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, September 18, 2014 7:15 AM
Points: 96, Visits: 179
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!
Post #1426702
Posted Tuesday, March 5, 2013 4:36 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 2:13 PM
Points: 39,866, Visits: 36,208
Why not just take a backup, copy the backup across and restore on the other server?


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
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

Post #1426744
Posted Tuesday, March 5, 2013 4:45 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, September 18, 2014 7:15 AM
Points: 96, Visits: 179
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.
Post #1426750
Posted Tuesday, March 5, 2013 6:56 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, September 18, 2014 3:20 AM
Points: 3,060, Visits: 3,283
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
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
Post #1426804
Posted Tuesday, March 5, 2013 12:18 PM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Today @ 11:54 AM
Points: 3,971, Visits: 3,411
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.



Tally Tables - Performance Personified
String Splitting with True Performance
Best practices on how to ask questions
Post #1426981
Posted Tuesday, March 5, 2013 10:13 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, September 18, 2014 7:15 AM
Points: 96, Visits: 179
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.
Post #1427165
Posted Wednesday, March 6, 2013 8:37 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, September 18, 2014 3:20 AM
Points: 3,060, Visits: 3,283
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
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
Post #1427458
Posted Wednesday, March 6, 2013 9:49 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, September 18, 2014 7:15 AM
Points: 96, Visits: 179
You are right SSCrazy. Agent is not running that's why I am getting error.

Thanks again for your help.
Post #1427754
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse