Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Assuming acceptable data loss of approximately 1 hour, incremental backups should be performed each hour, with a full backup performed each day. Backups shall be retained for a period of 7 calendar days*.

Running the Scripts

Enable Point-in-Time Recovery on ArcGIS Data Store

  1. On a workstation (not the VM hosting the data store), start Windows PowerShell.

  2. Set the execution policy to allow running unsigned scripts.

    Code Block
     Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
  3. Connect to Azure.

    Code Block
     Connect-AzureRMAccount

    Enter appropriate login credentials at the login window:

  4. Run the script to configure the ArcGIS Data Store:

    Code Block
     .\CreatePITRCustomScriptExtension.ps1 `
         -ResourceGroupName <resource group name> `
         -VMName "<VM name> `
         -Location <location> `
         -ScriptStorageAccountName <storage account name> `
         -ScriptStorageAccountKey  <storage account access key>

  5. Verify that the script executed successfully. The output should appear as follows:

  6. Further verify that the ArcGIS Data Store is configured correctly. Log on to the VM hosting the ArcGIS Data Store. Start PowerShell, and run the following command:

    Code Block
     C:\ArcGIS\DataStore\tools\describedatastore.bat

The value Is-Point-in-time recovery enabled should be Yes for the relational data store.

...

Configure Site Backups

  1. On a workstation (not the VM hosting the data store), start Windows PowerShell.

  2. Set the execution policy to allow running unsigned scripts.

    Code Block
     Set-EcecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force

  3. Connect to Azure. Enter appropriate login credentials at the login window.

    Code Block
     Connect-AzureRMAccount

  4. Run the script to configure ArcGIS Enterprise site backups:

    Code Block
     .\CreateBackupCustomScriptExtension.ps1 `
         -ResourceGroupName <resource group name> `
         -VMName <VM name> `
         -Location <location> 
         -ScriptStorageAccountName <script storage account name> `
         -ScriptStorageAccountKey <script storage account key> `
         -BackupStorageAccountName <backup storage account name> `
         -BackupStorageAccountKey <backup storage account key> `
         -PortalAdminURL <portal admin URL> `
         -PortalAdminUserName portal admin user name> `
         -PortalAdminPassword <portal admin password>`

  5. Verify that the script executed successfully. The output should appear as follows:

  6. Further verify that the backup jobs are configured correctly. Log on the to VM hosting the Poral. Open the Task Scheduler, and verify that the backup scheduled tasks have been created:

    Image Modified

...

*determine data loss and retention requirements from Dominic