Select to view content in your preferred language

Does webgisdr use the "backup location" setting in the datastore?

199
4
Jump to solution
3 weeks ago
SGTomlins
New Contributor III

Enterprise Version 10.8.1

I can successfully run webgisdr, and backupdatastore.  Each by themselves work as designed for full backup.

I have been attempting to run an "incremental" webgisdr command.  I get what looks related to the bug:BUG-000147726.

The first time I try an incremental I get the error: 

Failed to back up the Relational ArcGIS Data Store:
Url: https://blahblahville.wi.us:2443/arcgis.
{"jobId":"134293e7-e4bc-4e4c-931f-0e04172cf2f3","errorMessage":"Unable to create an incremental backup, as a full backup for the relational data store is not available. Create a full backup before you create an incremental backup.","description":"Create data store snapshot 20240702-100718-CDT-88-INCREMENTAL to \\\\ARGO-AZ\\ArcGIS Backups\\TempBackup\\Incremental\\WebGISSite1719934208754\\dataStore\\16e5b264-d230-4aeb-b8aa-dc1ddf32774a","lastModified":"2024-07-02 10:30","status":"failed"}

I ran the full then tried the incremental.  I get a different error:

Cannot get ancestors in the response of the request:
https://blahblahblah.WI.US:2443/arcgis/datastoreadmin/getCreatedSnapshot.

com.esri.arcgis.webgis.WebGISException: Cannot get ancestors in the response of the request:
https://blahblahville.wi.us:2443/arcgis/getCreatedSnapshot.

The wegisdr.properties file has a different backup location than the data store.  Is this a conflict?

Thanks in advance...

 

 

0 Kudos
1 Solution

Accepted Solutions
simoxu
by MVP Regular Contributor
MVP Regular Contributor

in webgisdr.properties file, you need to specify the SHARED_LOCATION and BACKUP_LOCATION. they are not related to your Datastore backup location. 

Your portal, server and datastore machine need to have access (R/W) to the SHARED_LOCATION

View solution in original post

4 Replies
RickeyFight
MVP Regular Contributor

@SGTomlins 
We save our back up location to a different machine then the data store machine.

0 Kudos
SGTomlins
New Contributor III

@RickeyFight

Agreed.  What I am curious about is if there is any interaction between webgisdr and datastore parameters.

When webgisdr runs, does it use the settings of the datastore when it backs up the datastore?  

0 Kudos
simoxu
by MVP Regular Contributor
MVP Regular Contributor

in webgisdr.properties file, you need to specify the SHARED_LOCATION and BACKUP_LOCATION. they are not related to your Datastore backup location. 

Your portal, server and datastore machine need to have access (R/W) to the SHARED_LOCATION

SGTomlins
New Contributor III

Much Obliged.  🙂

0 Kudos