Good, so I misunderstood the SSIS package repository and saved the packages. Here is what I learned. First of all, "what you can contact with the Connect button in SSMS" (Connect → Integration Services ...) is called the SSIS package repository.
What exactly happens when a package is added to the File System or MSDB folders in the Integrated Services Stored Packages folder? What is the advantage?
File system
If you want to work with the File System folder in the SSIS package repository, save your packages in the default file system directory ( ...\Microsoft SQL Server\100\DTS\Packages ) or change the root folder for the file system to the directory you want use. (You can change the root by changing the default <StorePath>..\Packages</StorePath> in the MsDtsSrvr.ini.xml file, which can be found in ...\Microsoft SQL Server\100\DTS\Binn . Do not forget to restart Integration Services after you finish.) When you add a package to this directory, it will appear in the File System folder in the SSIS package repository. You can then run the package directly from the SSIS package repository or by using the SQL Server Agent job (by selecting SSIS Package Repository as the source of the package in the Job Step properties, and then selecting the package).
Editing packages is very simple: open the package in the file system directory, edit and save, and the new version will be instantly available through the SSIS package repository.
Benefits:
- Easy to deploy and troubleshoot packages.
- Packages are still available if the database engine is not available.
SQL Server / MSDB
If you want to use the msdb database to save your packages, you need to import each package into msdb through the SSIS package repository. Right-click the MSDB folder and select Import Package. This will save the package in the msdb database. After that, you do not need to save the source files of the .dtsx package.
Editing packages is a bit more complicated : you need to export the package, edit it and import the package again into the SSIS package repository. Or you can open a new project in BIDS, add a package by right-clicking the SSIS packages and selecting "Add an existing package with SQL Server", edit it and then import the package again into the SSIS package repository.
Benefits:
- Package security can be tightly configured using database security
- Packages will be copied when backing up the msdb database.
- Packages are stored in a central location.
What are the reasons for using Integration Services to store packages in addition to saving them as files on the server?
So, why are you adding the package to the SSIS package repository, and not just starting it, as we did, directly referring to the package.dtsx file from the job properties window)? It depends on whether you need packages in the msdb database, you need a batch store, because there is no other way to support your packages. If you are using the file system, you may have a separate Development and Deployment directory, and all packages that are ready for deployment can be found through the SSIS package repository. In each case, SSIS package storage provides a convenient interface for your packages.
Thanks João Leal and Diego for your answers!