[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

Move SQL Schedule Job to another server

Is there a quick way to move all SQL 2008R2 schedule job (not maintenance job) to another new server ?

Tks
0
AXISHK
Asked:
AXISHK
2 Solutions
 
prequel_serverCommented:
do you have a lot? if a few, right click on each, script job as >create to>New query window

modify script for new server.

Note that a Sql job can contain many components: saved schedules, email profiles, agents to be notified, SSIS packages to execute, etc.

If any of these are not present or named differently on the new server, the Job may fail.
0
 
prequel_serverCommented:
Cool, didn't know there was an SSIS task for job transfers. I would certainly look at using it if I had many jobs to move, say 10 or more.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
AXISHKAuthor Commented:
Follow the article to create the transfer job and execute it. Afterwards, It returns error as attached. Any idea ?
SQLJob.png
0
 
lijunguoCommented:
If you can, copy msdb from one to the other.  It's a bit tricky, and you'll want to look into other effects from it than just copying jobs, but you can backup and restore msdb so long as the two servers have the same patch level.
0
 
Mohammed KhawajaCommented:
Run the job again and click on the expand button in the error message.  Copy and paste the message to this post.  What is the version of SQL where you are trying to move the jobs to?
0
 
Randy Knight, MCMCommented:
Can you post the details of your transfer jobs task and  SQL Server versions and patch levels?

Also, Idera has a good tool for this, although it's not free.

It's part of the Idera SQL Admin Toolset.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now