Follow these steps to backup your vRealize Automation 8.x appliance.
- You must back up all vRealize Automation appliances, at the same time. vRealize Automation 8.0 services must be offline before backup.
- When you back up the vRealize Automation appliance, disable in-memory snapshots.
Shut Down vRealize Automation 8.0
The following procedure outlines how you can automate the shutdown and startup of the vRealize Automation 8.0 application services. This procedure is optional for vRealize Automation 8.0.1 or later.
- Log in to the vRealize Automation appliance over SSH.
Note: Perform this procedure only on one of the nodes in your vRealize Automation cluster. The application services of all cluster nodes can be stopped from one of the appliances.
- Navigate to /usr/sbin
- Create a script titled pre-freeze-script.
#!/bin/bash # Stop application services /opt/scripts/svc-stop.sh >/dev/null 2>&1 sleep 60 # Stop infrastructure services /opt/scripts/deploy.sh --onlyClean >/dev/null 2>&1 RETURN_CODE=$? sleep 60 if [[ "$RETURN_CODE" -eq 0 ]] then echo "$LOG_PREFIX vRealize Automation services successfully stopped" exit 0 else echo "$LOG_PREFIX vRealize Automation services failed to stop" exit 1 fi
- Create a script titled post-thaw-script.
#!/bin/bash # Clear services state /opt/scripts/deploy.sh --onlyClean >/dev/null 2>&1 sleep 60 # Start services /opt/scripts/deploy.sh >/dev/null 2>&1 RETURN_CODE=$? sleep 60 if [[ "$RETURN_CODE" -eq 0 ]] then echo "$LOG_PREFIX vRealize Automation services successfully started" exit 0 else echo "$LOG_PREFIX vRealize Automation services failed to start" exit 1 fi
- Set the correct permissions.
chmod 700 pre-freeze-script post-thaw-script
- Set the scripts as pre-snapshot and post-snapshot executables in Veritas NetBackup. Because Veritas NetBackup does not support running external scripts, see Veritas KB 100008616 and the VMware guide on running custom quiescing scripts.