Need to script out contents of datasource folder for safekeeping - SSRS 2008

  • We are in the process of re-organizing the whole tree structure of our report server in an effort to address the current sprawling chaos of multiple datasources pointing to the same database and situated across all folders in the hierarchy.

    As part of this, we have created a large number of datasources in the root DataSources folder; these datasources will be used generically by all reports, so that a change in the datasource location, as part of an upgrade, migration etc., will need to be fixed only in one place.

    Because of the amount of work I invested in this, I want to make sure that if someone with Report-deployer rights accidentally blows the contents of my DataSources directory, I can easily recreate them from a script.

    How can I script out the contents of the DataSources directory? Does anyone have a powershell script for doing this (or any other way)?

    Thanks for any advice!

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

  • This has been posted on this board multiple times for various reasons, but RSScripter has become an essential tool for Report Sever Management for me. very simple to use.

    link: http://www.sqldbatips.com/showarticle.asp?ID=62

  • tfowler (7/27/2010)


    This has been posted on this board multiple times for various reasons, but RSScripter has become an essential tool for Report Sever Management for me. very simple to use.

    link: http://www.sqldbatips.com/showarticle.asp?ID=62

    Thank you! I will look into that.

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply