You can back up and restore your Automation Orchestrator deployment by using vSphere virtual machine (VM) snapshots.

The following procedure is based around backing up and restoring a clustered Automation Orchestrator deployment. For standalone a Automation Orchestrator deployment, you take a vSphere snapshot and revert your deployment from it without the additional cluster specific steps outlined in this procedure.

Note: For more information on using vSphere virtual machine snapshots, see Take a Snapshot of a Virtual Machine and Revert a Virtual Machine Snapshot.

Procedure

  1. Identify the primary node of your Automation Orchestrator cluster.
    1. Log in to the Automation Orchestrator Appliance command line of one of your nodes over SSH as root.
    2. Find the node with the primary role by running the kubectl -n prelude exec postgres-0 command.
      kubectl -n prelude exec postgres-0 –-chpst -u postgres repmgr cluster show --terse --compact
    3. Find the FQDN address of the primary node by running the kubectl -n prelude get pods command.
      kubectl -n prelude get pods -o wide
  2. Back up your Automation Orchestrator deployment.
    1. Log in to the vSphere Client.
    2. Take snapshots of your Automation Orchestrator nodes.
      When backing up your nodes, you must follow a specific order. First, back up your replica nodes and after that, back up the primary node.
      Note: Do not take snapshots of your Automation Orchestrator nodes with the Snapshot the virtual machine’s memory option enabled.
  3. Restore your Automation Orchestrator deployment.
    1. Revert your Automation Orchestrator nodes from the snapshots you created in step 2.
    2. Power on the Automation Orchestrator nodes.
      When powering on the nodes, you must follow a specific order. First, power on your primary node and after that, power on your replica nodes.