I need to do a full backup of an AGE 10.5 using the WebGIS DR tool.
The final aim is restoring it on a different machine as described in the guide Migrate to a new machine in ArcGIS Enterprise using the WebGIS DR tool
My server OS is Windows 2008 R2 64bit.
I have configured my webgis.properties file (called "webgisdir_BAK.properies"), and then I launch from the CMD the command:
webgisdr --export --file "C:\Program Files\ArcGIS\Portal\tools\webgisdir\webgisdir_BAK.properies"
Unfortunately, I receive the following error:
Failed to generate the ArcGIS Server token from the portal https://svksi058a.globalnt.it:7443/arcgis/sharing.
Failed to get the configuration of the web GIS.
Stopping the webgisdr utility
I attach the encrypted "webgisdir_BAK.properies" and the "webgisdr.log".
I also tried to set the ArcGIS Server to HTTPS Only and have my Web Adaptor allowing administrative access as suggested in Portal Backup with webgisdr: Server is not started, but still I had no luck.
I also opened a case to Esri meanwhile but as this is an important operation, I wanted to post my problem here to see if I had more chances to solve it.
Thanks in advance.
Have you tried changing your Portal URL to use the web adaptor versus the internal machine name and port?
I would also recommend moving the .properties file outside of its default location in Program files to a newly created folder, apply full permissions for the ArcGIS Portal account, and attempt the backup again.
Also, are you using IWA by chance?
Thanks for the feedback Travis Shore
Yes, I tried with both the Web Adaptor context and the machine name but I had the same error.
I also tried moving the .properties file in another directory where I gave arcgis user full pemissions but still the same...
Sorry but what is IWA?
No, I am not using "Integrated Windows Authentication".
It's a single machine deployment. The URL used for federation is as follows (as in https://MY_PORTAL/portal/portaladmin/federation/servers/1SERVERID😞
Admin Url: https://SVKSI058A.GLOBALNT.IT:6443/arcgis
I also saw you other answer to a similar problem here: https://community.esri.com/thread/223536-webgisdr-backup-failed-with-unable-to-generate-token
Can I please ask you where to find the logback.xml file, if it is present in 10.5 version?
As a quick test, outside of the Webgisdr, are you able to make an ArcGIS Server back up site or Portal backup via the admin end points using the ports or through the Web Adaptor URL?
https://server:port/arcgis/exportSite or https://portalwebadaptor/portal/portladmin/exportSite