Legacy:
Used for ArcGIS Data Store 10.5 but deprecated for 10.5.1.
When you use ArcGIS Data Store, it stores the data for hosted feature and scene layers, as well as the scene layers' tile caches. You can export hosted feature and scene layer data and the scene layer tile caches using the exportmanageddb utility. Do this if you want to move the ArcGIS Data Store installation to a machine with a different operating system or to a different ArcGIS Data Store release.
For example, if ArcGIS Data Store is running on a Windows server, but your information technology department is switching to Linux servers, you can use the exportmanageddb utility to export your data store from the Windows server, and use the importmanageddb utility to restore the relational or tile cache data store to the new ArcGIS Data Store installation on a Linux server.
Follow these steps to export a relational or tile cache data store from one machine and import it to an ArcGIS Data Store installation on another machine.
- Install ArcGIS Data Store on the new server, but do not proceed with configuring a data store.
- Export from the existing ArcGIS Data Store using the exportmanageddb utility. Export to a shared location that can be accessed by the new machine.
In this example, the data store is exported to a directory named ds2move on a shared location, \\sharedbox\exports.
exportmanageddb ds2move --destination \\sharedbox\exports
- Import the files to the new ArcGIS Data Store installation using the importmanageddb utility on the new machine. Specify --bound true so your ArcGIS Server site will use the data store in this new location, and existing hosted feature and scene layers will continue to work.
In this example, the new data store's data directory is /usr/arcgis/datastore.
./importmanageddb.sh ds2move --source-loc /net/sharedbox/exports/dbdump/ds2move --data-dir /usr/arcgis/datastore --server-admin siteadmin --server-password HeyeLee$ecur3 --bound true