Solved

How to move SQL Serer Agent Jobs from one server to another?

Posted on 2010-11-19
4
787 Views
Last Modified: 2012-06-27
I want to move  Sql Server Agent Jobs from one SQL Server server 2008 to another SQL Server 2008 Machine in the same network with different Owner name. Please let me know what is the best method for this task? I need to move jobs to many new servers. In some serers we already deployed some jobs manually so in this machine i should move only missing jobs. Please guide me. Thanks.
0
Comment
Question by:PKTG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Expert Comment

by:rotech_IT
ID: 34175500
http://www.eggheadcafe.com/software/aspnet/31612029/copy-a-job-from-one-server-to-another.aspx


Taken from that thread:

"In SSMS you can select a SQL Agent job, right click and script it as a
CREATE.  That will give you a script that you can run on another server to
create the same job.

By the way, if you select the SQL Agent / Jobs node of Object Explore and
the use the Object Explore Details window, you can select several jobs,
right click and create a single script with all the selected jobs.

Of course, you need to make sure that all dependencies are met on the other
server.  Such things as logins, SQL Agent proxies, DTS/SSIS packages, and so
forth.

RKF"
0
 

Author Comment

by:PKTG
ID: 34176299
These are SSIS jobs . So i need to deploy each server manually then need to run the script.Is there any way i can transfer SSIS jobs also?
0
 
LVL 5

Accepted Solution

by:
rotech_IT earned 250 total points
ID: 34176610
You can use dtutil to copy the packages.  The link below has all the syntax you'll need.

http://msdn.microsoft.com/en-us/library/ms162820.aspx
0
 
LVL 21

Assisted Solution

by:Alpesh Patel
Alpesh Patel earned 250 total points
ID: 34185880
Hi,

Using SSIS packages you can do it easily. There are some pre defined task to implement this.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question