How to export packages deployed in “Integration Services Catalog” using any command line, C# or T-SQL?

前端 未结 2 925
北海茫月
北海茫月 2021-01-22 06:19

I need to export packages deployed in SSISDB by any means to make it automated; so a command line, C# or T-SQL would be fine. I don\'t want the manual way used by Visual Studio.

相关标签:
2条回答
  • 2021-01-22 06:42

    I finally got it. Use stored procedure in SSISDB "atalog.get_project" which will return project_stream. Save it to a file with ".zip" extension and extract the packages from it.

    This is because as per Microsoft documentation (http://download.microsoft.com/download/1/7/5/175A7833-6F75-418D-8800-86D44D1D712D/[MS-ISPAC].pdf) the ISPAC file is based on OPC standard which is genuinely was invented by Microsoft and used for pptx, docx ... etc.

    0 讨论(0)
  • 2021-01-22 06:56

    IsDeploymentWizard is a good option. You can see parameter usage by typing

    IsDeploymentWizard -h 
    

    on the command line.

    0 讨论(0)
提交回复
热议问题