Changing the portal content directory

When you install Portal for ArcGIS, a directory is created to store content saved and uploaded by users of the portal. This is known as the portal content directory. The default location is <Portal for ArcGIS installation directory>/arcgis/portal/usr/arcgisportal/content.

You can change the location of the portal content directory. For example, you may decide to put it on another machine that has more disk space or a more rigorous backup environment. It is recommended that you make this change before exposing the portal to end users.

Follow the steps below to change the location of the portal content directory.

LegacyLegacy:

In 10.2, you were required to edit a properties file on disk to change the portal content directory. This is no longer required at 10.2.1 and later versions. The following instructions only apply to 10.2.1 and later versions. For help with these instructions at 10.2, see the 10.2 documentation.

Steps:
  1. Log in to the machine as the account that was used to install Portal for ArcGIS.
  2. Make a copy of the portal content directory in your new desired location.
  3. Grant the account that was used to install Portal for ArcGIS 700 permissions to the new directory. If this is a network location, make sure the account can access the directory.
  4. Log in to the Portal Directory with an account that has administrator privileges. The URL is in the format https://webadaptor.domain.com/arcgis/portaladmin.
  5. Edit the directory location by clicking System > Directories > content > Edit Directory.
  6. Type the location of the new content directory in the Path text box, for example, /net/share/portalcontent.
  7. Click Edit Directory to apply your changes.
  8. Click System > Directories > content to verify that the new file path is being used.

Your portal will now read from and write to the new content directory. Optionally, you can delete the old content directory or rename it, for example, from admin/arcgis/portal/usr/arcgisportal/content to admin/arcgis/portal/usr/arcgisportal/content_old.

5/5/2015