Forum Discussion
How To keep Production and Development PBIRS on prem in sync. Move all RDL and PBIX files
The subject is basically it. I would like to find a way to Copy all PBIX, RDL, Excel and PDF files from Production into a development.
Powershell or C# would be prefered/
Thanks,
Sam
10 Replies
- d_gosbellSuper User
I would suggest you look at the ReportingServicesTools powershell module (see https://github.com/microsoft/ReportingServicesTools)
You should be able to use out-rsfoldercontent to copy everything from prod to a drive somewhere, then use write-rsfoldercontent to put those files back up to dev
- AnonymousNot applicable
Thanks, I'll check it out.
- AnonymousNot applicable
I've tried to use Out-RsFolderContent, but this is skipping Power Bi Files. Is there something I'm missing?
- AnonymousNot applicable
I've also tried Out-RsRestFolderContent which appear to download PBIX files, but errors out on a linked report or anything that isn't in this list:
We only support items which are of type Report, DataSet, DataSource, Mobile Report or Power BI Report