Use Commvault software to back up and recover Epic EHR systems hosted on Azure virtual machines.
Procedure
-
Configure the Azure VM for backup.
Ensure that IntelliSnap is enabled for the VM Group as Epic requires snapshots for backups and restores.
-
Perform the following steps inside the guest VM before performing a backup:
-
Ask Epic for the scripts to freeze and thaw the databases.
Note: Epic typically sends these scripts with the initial software delivery of the installation package. The pre-script is called instfreeze and the post-script is called instthaw.
-
Copy the freeze script to /usr/sbin/instfreeze
-
Copy the thaw script to /usr/sbin/instthaw
-
-
Copy VMSnapshotScriptPluginConfig.json to /etc/azure.
-
Edit VMSnapshotScriptPluginConfig.json and set the script locations as follows:
-
“preScriptLocation” : “/usr/sbin/instfreeze”
-
“postScriptLocation” : “/usr/sbin/instthaw”
-
-
Set permissions on the scripts as follows:
# chmod 600 /etc/azure/VMSnapshotScriptPluginConfig.json# chmod 700 /usr/sbin/instfreeze /usr/sbin/instthaw
-
-
Perform a restore operation.