We have just spend quite a bit of time setting up Portal in our development environment (creating users, groups, content, etc). We are now ready to move everything forward to a staging/user testing server. What is the recommended workflow for moving Portal to another server? I know I can write scripts to read and recreate groups/content, but is there an easier way to accomplish this? Like an exportable config file? or copying certain files from the portal directory structure?
Thanks in Advance
Hi James, I would be interested in following this as we have just installed the Portal on a development server and I would be interested in any responses to your question. I am also wanting to know if the same methods could be used to bring all the data, users, groups and settings over to Portal from AGOL?
May I ask which version of Portal for ArcGIS is installed?
There are two ways I know to approach this. The first method is to use the script provided in the Esri Documentation:
Or the second option, which worked for me (tested with Portal 10.3 and Portal 10.3.1):
I would actually recommend against this workflow now. Since this post there have the two blogs published with two different methods outlined.
I saw these the only thing is i'm trying to find a way to change installation paths on the new machine and both those workflows require the new machine to be on the same installation path as the old machine. So i'm desperate for a solution and premium support said changing directory cannot be done. But if this really worked for you, I'm still interested.
Given my situation, would you still recommend against this workflow? If so, why?
Which version of portal are you using? Are you trying to just change the content directory path (C:\arcgisportal\content to say something like D:\arcgisportal\content, D:\arcgisportal\db, D:\arcgisportal\index, etc)? These can be updated using the portaladmin api:
Or are you trying to change the actual installation directory (C:\Program Files\ArcGIS\Portal to say something like D:\Program Files\ArcGIS\Portal)?
I recommend against it because I had posted that workflow 5 years ago and it would need to be retested against newer versions. Also, if I recall correctly everything had to remain the same, including the content/install directory paths.
I'm looking to change the install directory (D:\Program Files\ArcGIS\Portal). I was going to try your 5-year-old approach, but based on your recollection of them needing to be the same, i'll keep searching for a different workaround.