Hi all,
I'm just starting to experiment with the webgisdr tool. I see you can get an output file https://enterprise.arcgis.com/en/portal/11.1/administer/windows/webgisdr-tool-output-file.htm. "The WebGISDR tool supports an output file that will record the results of the operation as JSON that can be parsed to determine whether the backup is located, if any components failed, and how long each component took."
However, how do you get it to export this file? In cmd, I tried:
webgisdr.bat --export --file .\webgisdr.properties --output E:\backups\outputfile
But it says "The specified output file path is not a file". Is my syntax wrong? Do I need to create an empty file first (what type)?
My next question will be - how do I parse the output file by using the ConvertFrom-Json cmdlet in PowerShell or Python? (as mentioned in the Esri link). Does anyone have example or info on that to share?
Similar community post: https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-portal-webgisdr-output-file/m-p/1480263
Thank you!
Andrea