laptop and a wrench

Bug

ArcGIS Data Store 10.4 returns, "Error encountered: Invalid parameter (--source-loc)" in the restore data store command line tool when referencing a copy of the data store backup outside of the native backup location of the backup site.

Last Published: September 19, 2016 Portal for ArcGIS
Bug ID Number BUG-000095668
SubmittedApril 11, 2016
Last ModifiedJune 5, 2024
Applies toPortal for ArcGIS
Version found10.4
Operating SystemWindows OS
Operating System Version2008 R2 64 Bit
StatusNon-Reproducible

Additional Information

The source location should reference the parent backup directory and not dbbackup. e.g. >restoredatastore --target most-recent --source-loc C:\backup --data-dir C:\arcgisdatastore You are attempting to restore the data store from a data store backup. This process could take a long time, depending on the size of your data. Please do not interrupt the process once it has started. Do you wish to continue (Yes or No)? y Operation completed successfully

Workaround

Reference the backup via UNC path to the actual location where it resides, rather than referencing a copy of this backup folder in a different location.

Steps to Reproduce

Bug ID: BUG-000095668

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options