|
@@ -102,3 +102,18 @@ To upgrade vmray:
|
|
|
|
|
|
## Handling Failed Upgrades
|
|
|
If the upgrade fails, check `/usr/local/src/vmray-x.y.z/install.log` to find the reason. After fixing, delete the tarballs, zips, and directories for vmray and extended-kvm from `/usr/local/src/` on the vmray servers, and then rerun the state.
|
|
|
+
|
|
|
+## Backups
|
|
|
+
|
|
|
+A script `/usr/local/bin/xdr-vmray-backups.sh` backs the system up to a bucket named `xdr-<ENV>-vmray-backups`. The bucket has folders for the server name. For server noddes, the script uses the vmray distribution's backup script. For workers and combined servers, iso's are backed up to /iso and vm images are backed up into the vms subfolder.
|
|
|
+
|
|
|
+To restore:
|
|
|
+
|
|
|
+For the server, run the /opt/vmray/bin/restore_server.sh script. See the admin documentation for more details.
|
|
|
+
|
|
|
+For the worker:
|
|
|
+1. copy the ISOs into /opt/vmray/iso
|
|
|
+2. Extract the vms into /opt/vmray/img/vms/
|
|
|
+
|
|
|
+
|
|
|
+
|