Source:OpenNebula Restore: Difference between revisions

From SEPsesam
Line 59: Line 59:
<li>
<li>
[[File:One restore2.jpg|thumbnail]]
[[File:One restore2.jpg|thumbnail]]
If searching by ''filename/path'', select the option '''Filename or path in save set''' and enter your search expression in the search pattern field.</li></ul></li>
If searching by ''filename/path'', select the option '''Filename or path in save set''' and enter your search expression in the search pattern field.</li></ul>


Under the '''Saved in period''' drop-down lists, specify the time frame for which you want to conduct the search. Click '''Next'''.</li>
Under the '''Saved in period''' drop-down lists, specify the time frame for which you want to conduct the search. Click '''Next'''.</li>

Revision as of 09:18, 14 December 2017

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.

Restore options

  • Select an alternative location to restore your data:
 -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. Restore will allways be done to the DataStore the virtual machine was backed up from.
  • 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.

    One restore1.jpg
    • 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 restore2.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). 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.

  4. One restore3.jpg
  5. 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.
    {{Box Hint|By default the Virtual machine Images will be created in the OpenNebula DataStore it has been backed up from.|
    • 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.

    -->
  6. If you want to start your OpenNebula restore immediately, click Start. If you want to save the restore task, click Save.
  7. 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