Solved

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

Posted on 2010-11-19
4
776 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
  • 2
4 Comments
 
LVL 5

Expert Comment

by:rotech_IT
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Hi,

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now