Solved

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

Posted on 2010-11-19
4
791 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 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