Backup utility

The Backup utility creates a backup of your ArcGIS Server site configuration. The backup preserves information about your services and settings. It is stored as an .agssite file. Use the Restore utility if you ever need to apply the backup to return your site to its original state.

See Backing up and restoring your ArcGIS Server site configuration to learn more about the backup and restore capabilities of ArcGIS Server.

This utility always uses token-based authentication.

Parameters

Parameter

Details

-u

The name of a user who has administrator privileges to the ArcGIS Server site.

-p

The password of the account specified in the -u parameter.

-s

The URL of the site, in one of the following formats:

  • http://gisserver.domain.com:6080
  • http://webadaptor.domain.com/arcgis

-f

The path to a folder where the backup will be placed as an .agssite file. The ArcGIS Server account must have write access to this folder.

-h

Prints help for the utility.

Examples

The following example creates a backup in a folder named mybackups.

<Python installation location>\python.exe "C:\Program Files\ArcGIS\Server\tools\admin\backup.py" -u admin -p admin -s http://myserver:6080 -f "d:\mybackups"
9/1/2015