4 4 3:Citrix XenServer Restore

From SEPsesam
Revision as of 12:03, 22 November 2018 by Unknown (talk | contribs) (Importing a new version from external source)
Other languages:

Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Icon archived docs.png This is not the latest version of SEP sesam documentation and, as such, does not provide information on features introduced in the latest release. For more information on SEP sesam releases, see SEP sesam Release Versions. For the latest documentation, check Citrix documentation.


Overview

The restore of virtual machines (VMs) is quite similar to a regular file system restore. Restore is triggered from the Menu bar -> Activities -> Restore. Restore wizard guides you through the process of restoring your data. The default storage repository must be defined in the XEN center, otherwise the restore will fail. For step-by-step procedure, see Standard Restore Procedure.

Restore execution options

The following options are available when restoring Citrix XenServer:

  • Do not overwrite existing files: A new VM name has to be specified as target. The backup is imported without any effect on the running VM. The MAC address of a restored VM is newly created.
  • Overwrite existing files: The existing VM is destroyed and the backup is imported. The MAC address is the same as during backup.
  • Create new version: A new VM is created. The MAC address is newly created.
  • Recover after restore: Registers the VM after restore on XenServer and with it in Xen center.
  • Recover and online: Registers and starts the VM and brings it online.
  • No recover after restore: The VM is not registered after the restore on XenServer.


Information sign.png Note
In the current implementation VM is always registered after the restore. During a restore with the option overwrite the original VM is deleted even if another name for the target VM is specified.

Restoring a Citrix XenServer virtual machine

Create a new restore task for the VM you want to restore.

  1. From the SEP sesam GUI menu bar, select Activities -> Restore. The New restore task window opens.
  2. Select the VM that you want to restore. You can search save sets by task name.
  3. When searching by task name, use the drop-down list of available VMs and select the one you want to restore from. This option is selected by default.
  4. Under the Saved in period drop-down lists, specify the time frame for which you want to conduct the search. Click Next.
  5. Citrix restore 01 en.JPG
  6. The search results are displayed. From the list of save sets matching your query, click the version you want to select. Click Next.
  7. Citrix restore 02 en.JPG
  8. Review your restore task configuration and set additional options if necessary.
    • Details of the selected save set are displayed at the top of the window. The name of the restore task is automatically generated in the Name field. You can edit the name and insert a comment below.
    • The Drive field shows the drive with backed up data.
    • The Interface field shows the server with the attached data storage containing the selected save set.
    • The Target node drop-down list shows the target server to which the data will be restored. In case the cluster configuration is corrupted, you can add a single Citrix XEN Server as a client and use this as a target node.
    • Under the Target Path, check the Restore to new VM option. You can enter a new name for the restored VM.
    • Under the Execution options drop-down list, select one of the following options:
      • do not overwrite existing files (set by default): the VM will not be restored if it already exists on the target server
      • overwrite existing files: if a VM exists on the target server, it will be replaced by the restored version
      • create new version: if a VM exists on the target server, the restored VM will be restored under a different name
    • You can specify additional restore settings by clicking the Expert options button. In the pop-up windows that opens, you can modify the log level settings, however the pre/post script for restore is not available for Citrix XEN restore. For details, see the Restore Wizard.
    Citrix restore 03 en.JPG
  9. If you want to start your VM restore immediately, click Start. If you want to save the restore task, click Save.


A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see Scheduling Restore.

Restoring the Xen host systems

In case you want to restore a XenServer host from a specific backup, restore the host backup created with SEP sesam to a random Linux machine.

  1. You must restore the file as regular file restore.
  2. Xen-host-restore.jpg
  3. After you have restored the file, copy it to the Xen system and execute the following command:
  4. xe host-restore file-name=<host_backup_filename> This restores the compressed image back to the hard disk of the XenServer host. In this context restore is something of a misnomer, as the word usually suggests that the backed up state has been put fully in place. The restore command here only unpacks the compressed backup file and restores it to its normal form, but it is written to another partition (/dev/sda2) and does not overwrite the current version of the filesystem.
  5. To actually use the restored version of the root filesystem, you need to reboot the XenServer host using the XenServer installation CD and select the Restore from backup option.
  6. After the restore from backup is completed, reboot the XenServer host machine and it will start up from the restored image.

Known issues

If you have problems with Citrix XenServer, check the Troubleshooting Guide.

See also

Citrix XenServer Requirements and ConfigurationCitrix XenServer BackupStandard Restore Procedure