ERROR
When running the webgisdr utility or the ArcGIS Server admin export site operation, the following error is encountered:
Error: {"code":500,"messages":["Export operation failed. There is not enough space on the disk"],"status":"error"}
If the ArcGIS Server data being exported is larger than the space available on the C:\ drive, the export fails. Although it may be determined that enough space is available, it is often not known that ArcGIS Server uses a temporary location to build the export. With the export operation and a properties file to create a backup of ArcGIS Enterprise, the backup for each component is placed in a temporary directory on each component's machine before being moved to the shared directory that is specified. Therefore, the following directories must be large enough to contain the backup of each component:
The ArcGIS Server temporary location is, by default: C:\Users\<user>\AppData\Local\Temp
Some organizations do not have adequate space in the C: drive since it is specifically reserved for the operating system. Therefore, if the ArcGIS Server data being exported is larger than the available space on the drive, the export fails with the aforementioned error.
Move the temp folder to another drive or location that has enough space. Make sure the ArcGIS Server account has read and write access, at minimum, to the new drive location.
Warning: The instructions below include making changes to your ArcGIS Server Windows account's TEMP environment variable. Consult a qualified computer systems professional, if necessary. Esri cannot guarantee results from incorrect modifications while following these instructions. Therefore, use caution and proceed at your own risk.
To change the location of the System Temp folder, follow the instructions provided below.
Get help from ArcGIS experts
Download the Esri Support App