4 4 3 Tigon:KVM QEMU Restore

From SEPsesam
Revision as of 14:35, 18 March 2019 by Sta (talk | contribs) (Minor correction of available options.)

Template:Copyright SEP AG en

Draft.png WORK IN PROGRESS
This article is in the initial stage and may be updated, replaced or deleted at any time. It is inappropriate to use this document as reference material as it is a work in progress and should be treated as such.
Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Tigon/4.4.3 Grolar. For previous documentation version(s), check documentation archive.


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. For step-by-step procedure, see Standard Restore Procedure.

To successfully restore a KVM QEMU backup, all preparation steps must be performed properly. For details, see KVM QEMU Backup.

SEP sesam KVM/QEMU integration advantages

  • Restore of complete virtual machines and configuration.
  • Restore of virtual machine configuration.
  • Restore into new virtual machine instances.

Restore options

The following options are available when restoring KVM/QEMU:

  • Select an alternative location to restore your data:
    • restore a KVM/QEMU to the original or a different location with the same or a different name using relocation
    • perform a simple path restore of your selected KVM/QEMU data directly to a directory on any system
  • Perform a complete or generation restore.
  • Schedule a restore task.

Prerequisites

Before you perform KVM/QEMU restore, check the following prerequisites:

  • Depending on what you want to restore, make sure that you have the proper restore permissions and access rights.
  • Make sure that there is sufficient free space on the target system to which you are restoring your data.

Restoring a KVM/QEMU virtual machine

For details on how to configure a restore task and a description of different restore options, see standard restore procedure. Only KVM/QEMU-specific steps and options are described in this section.

  1. From the SEP sesam GUI menu bar, select Activities -> Restore. The New restore task window opens.
  2. Select the saveset you want to restore. You can search savesets by task name or by filename or path.
    • When searching by task name, use the drop-down list of available tasks and select the one you want to restore from. This option is selected by default.
    • If searching by filename/path, select the option Filename or path in save set and enter your search expression in the search pattern field.
  3. Under the Saved in period drop-down lists, specify the time frame for which you want to conduct the search. Click Next.
  4. The search results are displayed. From the list of savesets matching your query, select the desired version by clicking on it, then select other relevant restore options (complete/generation restore). As of SEP sesam version 4.4.2, you can also select the option Mount save set under Single File Restore to mount the target saveset to the disk and make it accessible as if it was a separate volume on the disk. You can mount any saveset stored to default data store Path or to Si3 data store. Mounting is not possible if the savesets are stored to tapes or if the data is compressed or encrypted. For advantages on mounting a saveset, see XPRFS. Click Next.
  5. KVM restore select task.png
  6. If you selected the Mount save set option, a mount action is triggered. The selected saveset is mounted to the SEP sesam home directory var\tmp\mnt, e.g., C:\Program Files\SEPsesam\var\tmp\mnt\saveset_ID.
    Click Next to display the Select the data for restore dialog. If you choose not to mount the saveset, this dialog is displayed immediately. Select the data you want to restore and click Next.
  7. Review your configured restore task and set additional options, if necessary.
    • Details of the selected saveset 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 (RDS server or Sesam server) with the attached data storage containing the selected saveset.
    • The Target node drop-down list shows the target server to which the data will be restored.
    • Under the Target Path, choose between the Restore to original target path or New restore target options. If you wish to choose a new restore target, enter its target path or browse for it.
    • 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 data exists on the target server, it will be replaced by the restored version
      • create a new version: if data exists on the target server, the restored data 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, define the pre/post script for restore, etc. For details, see the Restore Wizard.
    KVM restore save.png


  8. If you want to start your KVM/QEMU restore immediately, click Start. If you want to save the restore task, click Save.
  9. If you chose to mount a saveset, click Next to unmount it and close your restore session.
Information sign.png Note
A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see Scheduling Restore.

You can view the status of your restore jobs by selecting Job state -> Restore from the Main selection. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.

See also

Standard Restore ProcedureKVM QEMU Backup