Backing Up a Running Virtual Machine

Note: The virtual machine (VM) backup and recovery feature is a Technology Preview only and is under development for potential availability in a future release. Access to the feature requires a separate license and is disabled by default. The feature is not supported nor intended for use in production environments. Contact your authorized service provider for more information.

Back up a running VM to save a backup of the VM to a network-mounted folder or to a USB device. Backing up a VM on the ztC Edge system makes the VM image available for recovery on the same ztC Edge system or on another ztC Edge system, as described in Recovering a Virtual Machine from a Backup. You can also optionally configure a third-party, network-based backup solution to collect the files from the backup location on a regular basis for additional redundancy. Alternatively, you can create a backup by exporting a VM from a system as standard Open Virtualization Format (OVF) and Virtual Hard Disk (VHD) files, as described in Exporting a Virtual Machine; however, you can export a VM only while the VM is stopped.

Note: Backing up or exporting VMs is particularly important for VMs on a single-node system. In the event of a failure or loss of the original VM, you can use the backup files to recover the VM (see Recovering a Virtual Machine from a Backup), or the OVF and VHD files to restore the VM (see Replacing/Restoring a Virtual Machine from an OVF File).

Prepare for backing up a VM by inserting a USB device or by creating a network-mounted folder to store backups in your environment. If you are using a USB device, insert it into the current primary node of the system (displayed as noden (primary) on the Physical Machines page). If you are using a folder, create a folder for either a Windows share or a Network File System (NFS) export. A Windows share is also known as a Common Internet File System (CIFS) share (Samba, for example). Then mount the folder or USB device in the host operating system of the ztC Edge system, as described in this topic. When you initiate a backup in the ztC Edge Console, the ztC Edge system saves the VM as Extensible Markup Language (XML) and raw hard disk data files.

Notes:  
Prerequisites:  

To back up a VM

  1. Log on to the ztC Edge system with the ztC Edge Console.
  2. On the Physical Machines page (see the Physical Machines Page), verify that both PMs are in the running state and that neither PM is in maintenance mode or in the process of synchronizing.
  3. On the Virtual Machines page, select the VM that you want to back up and ensure that it is in the running state and healthy. See the Virtual Machines Page.

  4. With the VM selected, click Backup in the bottom pane.
  5. In the backup wizard, select one of the following:

    Note: If you have already mounted a location using the Mount button (as described in Mounting a USB Device or Network-mounted Folder on the ztC Edge System), the backup wizard displays the mounted device URL in green. To change it, click the Change button.
    • Mount device via Windows Share (CIFS/SMB)

      The backup destination is a folder on a CIFS share. Enter a Username, Password, and Repository value. For Repository, enter a value in the format \\machine_URL\ShareName (for example, \\192.168.1.34\MyBackupVMs).

    • Mount device via NFS

      The backup destination is a folder on a remote system, accessed through NFS. Enter a Repository value, which is the URL of the remote system, in the format nnn.nnn.nnn.nnn (do not include http:// or https://).

    • Mount USB

      For USB partition list, select a partition from the pull-down menu.

  6. For Backup Path: /mnt/ft-export:, type the path of the location where you want the VM backup files to be stored. For example, if you want to back up the VM to a new folder named ocean1, type ocean1.
  7. Click Mount.

    If the mount succeeds, the repository appears under Device URL and the Backup VM button becomes active; otherwise, an alert appears.

  8. Click Backup VM to back up the VM.

You can monitor the Backup Status in the Summary tab for the VM that you are backing up. When the process is complete, the status changes to Backup completed successfully.

To cancel the backup, click Cancel next to the Backup progress percentage. A dialog box opens, asking you to confirm the cancellation. Click Yes to cancel.

The ztC Edge system backs up the volumes first, then it backs up the XML metadata file. You can confirm that the process is finished when the XML file appears in the folder.

After the backup process, if you need to recover the VM, see Recovering a Virtual Machine from a Backup.

To unmount the device, see Mounting a USB Device or Network-mounted Folder on the ztC Edge System.

Related Topics

Attaching a USB Device to a Virtual Machine

Creating and Migrating Virtual Machines

Managing Virtual Machine Resources

Managing the Operation of a Virtual Machine