Show/Hide Toolbars

Reporting Services CMD

Command: SaveRpt

 

Save the report to a file

 

SSRS Version:

 

2000, 2005 (N), 2005 (I), 2008 (N), 2008 (I),2008r2(N), 2008r2(I), 2012(N), 2012(I), Azure

 

(N)=Native

(I)=Integrated

 

 

Syntax

 

SaveRpt  Report|Folder [/F:<folder>] [/S]

 

 

Parameters

 

[/S]        Sub folder.

[/F]        Folder to save Report

[/O]        Overwrite file

 

         Note if the file does exist and /O is not selected it will not be overwritten.

 

 

 

Examples

 

to save a single report called sales to a folder called c:\SSRSReports

 

 saverpt sales /f:c:\SSRSReports

 

 

to export all reports in the root folder to a folder called c:\SSRSReports

 

 saverpt \ /f:c:\SSRSReports

 

 

 

to export all reports in the root folder and sub folders (use /s) to a folder called c:\SSRSReports

 

 saverpt \ /f:c:\SSRSReports /s

 

 

 

 

Remarks

 

if the folder on the SSRS server has a space in the name enclose in double quotes  

eg.

 

if the folder on the report sever is called report server

 

 saverpt "\report server" /f:c:\SSRSReports /s

 

 

If the report already exists it will not be overwritten unless /o is specified this can be useful if you need to export just new reports.

 

See Also

 

SaveRes        Export resources from the report server to the file system