Source:OpenNebula Restore

From SEPsesam
Revision as of 13:46, 17 February 2020 by Sta (talk | contribs) (Added info about online restore assistant.)
Other languages:

Template:Copyright SEP AG en

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Tigon/4.4.3 Beefalo. 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.

As of v. 4.4.3. Beefalo, you can also perform an online restore of OpenNebula virtual machines. Note that only authenticated users with the appropriate permissions are able to access the Restore Assistant and restore their data. For details, see Restore Assistant.

To successfully restore an OpenNebula backup, all preparation steps must be performed properly. For details, see OpenNebula Backup.

Restore options

  • By default, the OpenNebula restore is always performed to the same data store that was used for backup.
  • You can select an alternative location to restore your data by specifying:
 -a drbd_prefix=/path/to/dbrd

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; by default, the target data store for restore is the same data store that was used for the backup.
  • 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.
    • One restore1.jpg
    • If searching by filename/path, select the option Filename or path in save set and enter your search expression in the search pattern field.
    Under the Saved in period drop-down lists, specify the time frame for which you want to conduct the search. Click Next.
  3. 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). Click Next.
  4. One restore2.jpg
  5. Review your configured restore task and set additional options, if necessary.
  6. One restore3.jpg
    • 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.
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.