Select to view content in your preferred language

Can't restore BackUp

1754
2
09-26-2023 08:12 AM
SebastianBosbach
Occasional Contributor

Hi at all,

I'm currently having a problem, restoring a datastore.

I made a backup and know want to restore the database to this version.

If I try to use the restoredatastore command, I always get the error "No backup location is configured for this data store".

But "describedatastore" list the correct Backup location.

What am I doing wrong restoring the data store?

Pathes and commands are listed in the screenshot.

Thanks, Sebastian 

2 Replies
SebastianBosbach
Occasional Contributor

Update:

I moved the folder containing the backup in the "backup location" stated by describedatastore.
In my command I removed the source-loc parameter.
Now the restore backup is running...
I really dont get the documentation, from what I saw my previous command should have worked.

CalenDaugherty
Occasional Contributor

Ran into a similar situation, issue I found was it seems like the tool expects the backup folder (like db_ghssg-20260307060000131) to be in a folder “dbbackup”. So the source loc is where the dbbackup folder that contains your backup is, not the backup folder itself. Not sure if this is explicitly mentioned anywhere. Also, I didnt realize at first the data directory should be empty. So if you are restoring on a server  where there is already an "arcgisdatastore" folder, you have to move it / rename it so you can restore to an empty one.

0 Kudos