Backup REST services failing

626
2
03-03-2021 04:33 PM
LefterisKoumis
Occasional Contributor III

I am trying to schedule a backup of the REST services. 

So, I am running the script with Admin credentials on CMD window:

C:\Python27\ArcGIS10.8\python.exe "D:\ArcGIS\Server\tools\admin\backup.py" -u XXXX -p XXXXX -s https://XXXXX/rest/services -f "D:\GIS_Data\backup

but I get this error

LefterisKoumis_0-1614817060711.png

I double checked the credentials and the server url and are correct.

I am aware that I can back up the REST directories by using the 

https://XXXXX/admin/exportSite 

and just define the destination, but I need to schedule the task.

Ideas?

Thanks.

 

 

0 Kudos
2 Replies
MichaelVolz
Esteemed Contributor

Is this a standalone ArcGIS Server or part of a Portal?

Did you ever try this script in an earlier version of ArcGIS?

0 Kudos
LefterisKoumis
Occasional Contributor III

Standalone.

No, this the first time I am trying this script from:

https://enterprise.arcgis.com/en/server/latest/administer/windows/backup-utility.htm

0 Kudos