Source:OpenNebula Restore

From SEPsesam
Revision as of 12:12, 11 December 2017 by Sta (talk | contribs) (Template as requested by MA.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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. 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 an OpenNebula backup, all preparation steps must be performed properly. For details, see OpenNebula Backup.

SEP sesam OpenNebula restore integration advantages

Restore options

The following options are available when restoring OpenNebula:

Prerequisites

Before you perform OpenNebula 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.
  • During restore, it is recommended that you stop all activities on the target.

Restoring an OpenNebula virtual machine

For details on how to configure a restore task and a description of different restore options, see standard restore procedure. Only OpenNebula-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 save set you want to restore. You can search save sets 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 save sets matching your query, select the desired version by clicking on it, then select other relevant restore options (complete/generation restore). You can also select the option Mount save set under Single File Restore to mount the target save set to the disk and make it accessible as if it was a separate volume on the disk. You can mount any save set stored to default data store Path or to Si3 data store. Mounting is not possible if the save sets are stored to tapes or if the data is compressed or encrypted. For advantages on mounting a save set, see XPRFS. Click Next.
  5. If you selected the Mount save set option, a mount action is triggered. The selected save set is mounted to the SEP sesam home directory var\tmp\mnt, e.g., C:\Program Files\SEPsesam\var\tmp\mnt\save_set_ID.
    Click Next to display the Select the data for restore dialog. If you choose not to mount the save set, this dialog is displayed immediately. Select the data you want to restore and click Next.
  6. Review your configured restore task 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 (RDS server or Sesam 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.
    • 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.
  7. If you want to start your OpenNebula restore immediately, click Start. If you want to save the restore task, click Save.
  8. If you chose to mount a save set, 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 ProcedureOpenNebula Backup