WordsOnTech

SSIS Package migration

I encountered a scenario where a customer requested to move their existing SSIS packages from a 2008 R2 server to a 2016 SQL Server. This is not a typical request as it involves many considerations before migrating a package to a higher version. In this post, I will list the steps and considerations that I took before tackling this task of SSIS package migration.

Steps for migration of a package

Export the current packages to a folder: Identify how many packages are running on the source server. If there are only a few packages, such as 2-5, export them manually. When I encountered 10+ or even 100+ packages, I used the below script to list out all the packages and create an output that I ran to move all the packages to the specified folder, D:\WordsonTech.

USE MSDB
GO

SELECT 'EXEC XP_CMDSHELL ''DTUTIL /SQL ' + NAME +' /COPY FILE;D:\WordsonTech\' + NAME+'.DTSX' + ' /QUIET''' AS PackageCopyScript FROM SYSSSISPACKAGES

Before upgrade Check the dependencies that a package has:

Upgrade Package versions: Open the .dtsx package file in a text editor, such as Notepad or Notepad++. Then, I replaced all instances of 10.0.0.0 (2008) with 13.0.0.0 (2016) and saved the modified file.

Update the package: Open the solution with BIDS (2008) or SQL Server Data Tools, which automatically converts the solution and package. BIDS is no longer integrated with SQL Server. Use either SSDT or add the SSIS component in Visual Studio to complete this task. Use this link to add SSDT to visual studio.

Deploy Package: Once I upgraded and updated the package, I deployed it to the new server, either in the SSIS catalog or to the msdb folder structure as per the customer’s requirement.

I hope that these steps will help you in SSIS Package Migration If you think any other steps can be added to smooth the process, please let me know.

Exit mobile version