Skip To Content

Tasks to perform after you create a data store

There are additional configuration tasks you can perform after you install ArcGIS Data Store and create a data store.

Define a backup location

ArcGIS Data Store automatically generates backup files for relational data stores. The default location for the backup files is on the same machine as ArcGIS Data Store. Manually move these files to a different machine to secure them in the event of a data store failure, or set up a shared network location and configure the relational data store to write the backup files to that location.

Follow these steps to set up a shared network location for relational data store backups.

Create a domain account

The ArcGIS Data Store must have write access to the backup directory. If the directory is on a separate machine than the ArcGIS Data Store service, use a domain account to run the service, because a domain account can access directories on different machines in the network.

If you used a local Windows account for the ArcGIS Data Store account when you installed, request a domain account from your domain administrator and run the configureserviceaccount utility to run the ArcGIS Data Store service under this domain account. The account needs to run the ArcGIS Data Store service, and read and write files to the network directory where backup files will reside.

Configure the ArcGIS Data Store account

If you didn't set a domain ArcGIS Data Store account when you installed or upgraded ArcGIS Data Store, run the configureserviceaccount utility with the new domain account. This utility is installed in the <ArcGIS Data Store installation directory>\datastore\tools directory. It sets the new account to run the ArcGIS Data Store service and grants required privileges on ArcGIS Data Store directories used by the service.

In this example, configureserviceaccount sets the mynetwork\datastore account to run the ArcGIS Data Store service and grants this account the privileges required on ArcGIS Data Store system folders and files.

configureserviceaccount --username mynetwork\datastore --password SewL0ng

Note that changing the account under which the service runs causes the service to restart.

Run changebackuplocation

Use the changebackuplocation utility to specify a new location for relational data store backup files.

The changebackuplocation utility is installed in the <ArcGIS Data Store installation directory>\datastore\tools directory.

  1. Create a directory on a shared network drive.

    The ArcGIS Data Store account must have read and write access to this directory.

  2. Open a Command Prompt using the Run As Administrator option.
  3. Run the changebackuplocation utility and specify the new directory.

    For example, type the following to create backup files in a shared directory named ds_backup on a computer named sysshare and opt to keep existing backup files:

    changebackuplocation \\sysshare\ds_backups --is-shared-folder true --keep-old-backups true
    
    You are going to change the backup location of the data store. Existing backups will be copied to the new location and it could take a few moments.
    Please do not interrupt the process once it has started.
    
    Do you want to continue (Yes or No)? Yes

Set the portal's hosting server

ArcGIS Data Store is used to store hosted feature layer data and caches for scene layers published to Portal for ArcGIS. It can also be configured to store observation data for ArcGIS GeoEvent Extension for ArcGIS Server. If you have not already federated your ArcGIS Server site with your portal and configured it as your portal's hosting server, do so now.

Additional optional configuration tasks

Depending on your organization's requirements, there are two other configuration steps you can perform when setting up your data store.

Add a standby machine

If you want your data store to be highly available, you can add a standby machine. If the primary data store machine you just created becomes unavailable (the server crashes or network connectivity is lost), your hosted feature layers can access the data on the standby machine.

Take control of data store accounts

ArcGIS Data Store passwords are randomly generated when you install ArcGIS Data Store. If your site requires you to set your own passwords, change the passwords using the changepassword utility.

Begin using the data store

Once you have completely configured a relational and tile cache data store, portal members can publish hosted feature layers to the portal from ArcGIS for Desktop, ArcGIS Pro, or the portal website, and can publish hosted scene layers from ArcGIS Pro. The data used by these hosted feature and scene layers is kept in ArcGIS Data Store.

For information on hosted feature layers and hosted scene layers, how to publish them, and the privileges required to publish, see the following topics in the Portal for ArcGIS help:

Once you've created a spatiotemporal big data store, you need to configure ArcGIS GeoEvent Extension for Server before the data store can be used. See GeoEvent Extension tutorials for information on configuring ArcGIS GeoEvent Extension for Server.