It is possible to set up automatic periodic backup of your GIS Cloud data.

Script for setting up the automatic backup of your data from GIS Cloud can be found here.

Download and unzip backup script.

Generate new API key

First, you need to generate new API key through Map Editor:

  1. Open My Account in Map Editor.
  2.  

    data_backup1

     

  3. Open API Access tab.
  4. Type in new name for the key in New API key description and click Add key.
  5.  

    manual1

     

    Note: Copy the created key as you will need it for the later use in following steps!

     

    manual2

     

Finding layer ID

Besides an API key, we will need an ID of the layer which we would like to backup:

  1. Open the map in which the layer is added.
  2. Go to the Layer Properties (Layers tab – Edit layer).
  3. Under General tab click More info button.
  4.  

    data_backup2

     

  5. Copy the layer ID as you will need it for the later use in following steps!

Create new task in Task Scheduler for Windows

In this example we will use the Task Scheduler to create a new task.

Note: you can access Task Scheduler in Control Panel – System and Security – Administrative Tools – Task Scheduler.

  1. Define the name for a new backup task in the General tab.
  2.  

    manual4_new_task_a

     

  3. Create the trigger for initialization of the backup process.
  4.  

    manual5_new_task_b

     

  5. Create an action for the new trigger.
  6.  

    manual6_new_task_c

     

    To create an action we will need an API key, layer ID, path to the script and path to the location in which data will be stored (more details can be found in “readme.txt” file).

  7. In the Program/script browse to the gc-export-shape.wsf file (E.g. C:\Users\Tat\Documents\bcp_script\gc-export-shape.wsf)
  8. In the Add arguments box copy API key, layer ID and path to the location in which data will be stored (/layer:347992 /apikey:9b2095dc954697e0039be4ebb63ea0ff /dest:”C:\\Users\\Tat\\Documents\\data_bcp”).

These steps will ensure that your backup is done by the defined parameters. Also, you can run it manually at any point.

manual7

Note: You can only backup layers which you can also export from Map Editor and it is necessary that the computer is turned on at the time of the backup.