Upgrading the reporting database silently

If desired, you can upgrade your report services database without any user interaction, after you install the latest version of the Report Services components. You supply any of the parameters in the table below when you run the command line program. These parameters match the settings in the Upgrade and Deployment wizard.

Parameter name Parameter type Description Example
ReDeployReport switch Specifies whether or not to redeploy reports after you upgrade the database. If you include this parameter, the service will redeploy reports. If you don't include this parameter, the service doesn't redeploy reports. --ReDeployReport
ReportBackupFolder string

Specifies the path and folder location to backup existing reports before upgrading. This option only applies if you specify ReDeployReport to yes.

If you don't specify a value for this property, the service uses the default value of "Backup reports".

 
WebServiceURL string

Specifies the web service URL for deploying reports. You use the web service URL to read reports.

If you don't specify this value, the service uses the current setting.

"ReportWebServiceUrl": "http://server1/ReportServer_REPORTS"
ReportManagerURL string

Specifies the report manager URL. You use this URL to edit, publish, and administer reports.

If you don't specify this value, the service uses the current setting.

"ReportManagerUrl": "http://server1/Reports_REPORTS"

 

To silently upgrade Report Services:

  1. Install the latest version of the Report Services components. For details, see Silently installing Report Services

  2. At the command line (be sure to run as administrator), run the following command with the desired upgrade parameters, as listed in the table above. None of the parameters are mandatory.

    Centrify.Report.Upgrade.Cli.exe --ReDeployReport --ReportBackupFolder "previous-reports"

    The upgrade program lists out each upgrade task that it performs as it progresses. When the program finishes, there's a message that says the upgrade is finished.