4 4 3 Tigon:OpenNebula Restore

From SEPsesam
Jump to: navigation, search
Other languages:
Deutsch • ‎English

Copyright © SEP AG 1999-2020. 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.

Draft.png WORK IN PROGRESS
This page is a draft. Treat the information on this page with caution as it may be incomplete.


Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Tigon/4.4.3 Beefalo V2. For previous documentation version(s), check documentation archive.


Overview

The restore of virtual machines (VMs) is quite similar to a regular file system restore. There are two ways to restore your OpenNebula virtual machines (VMs) in SEP sesam: by using GUI restore wizard (described below) or through the web interface Restore Assistant (in v. ≥ 4.4.3 Beefalo). Even though most of the options are the same in both restore interfaces, the web Restore Assistant interface is designed to be more intuitive and offers additional advanced options. However, it cannot be used for scheduling restore or single file restore as these are only supported in the GUI mode. For details, see Restore Assistant.

In the GUI, the restore is triggered from the Menu bar -> Activities -> Restore. The 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

  • By default, the OpenNebula restore is always performed to the same data store that was used for backup.
  • You can perform a complete OpenNebula VM restore or single file restore (in SEP sesam ≥ 4.4.3 Beefalo V2). In the latter case, the UI mode has to be set to Expert. See Selecting UI mode.
  • 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 what 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 saveset 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. OpenNebula restore filter.jpg

  4. The search results are displayed. From the list of savesets matching your query, select the task you want to restore and other relevant restore options (complete, generation restore). Click Next.
  5. OpenNebula restore select task.jpg

  6. Review your configured restore task and set additional options, if necessary.
    • Details of the selected saveset are displayed at the top and at the bottom (Optional data source selection) of the window. The name of the restore task is automatically generated in the Restore task name field. You can edit the name and insert a comment below.
    • Under the Target data, select one of the following options:
      • Restore to original VM (set by default): If selected, the data will be restored to the same location from which it was backed up. Note that this only applies if the target node is the same server from which the data was backed up, i.e., when the source and target server are the same.
      • Restore with new VM name: If selected, the target VM name will be automatically created.
      • Change VM target selection: If selected, the data will be restored to another location. If you are restoring a VM to a different location, you have to select new target server from the Target node drop-down list.
    • Under the VM restore options drop-down list, select one of the following options:
      • Do not overwrite existing items (set by default): the VM will not be restored if it already exists on the target server
      • Overwrite existing items: if data exists on the target server, it will be replaced by the restored version
      • Create new version: if data exists on the target server, the restored data will be restored under a different name
      • (Do not) start virtual machine after restore: You can also define if you want to start a virtual machine after restore or not.
    • Preferred media pool: If the data was migrated or replicated and different media pools were used for the process, the source media pool to restore from can be selected from the drop-down list of available media pools.
    • Used media | barcode: If the data was migrated, the migrated copy is stored to another media; the source media to restore from can be selected from the drop-down list of available media.
    • Optionally, you can select the Drive with backed up data from the drop-down list.
    • The Interface field shows the server (RDS server or SEP sesam Server) with the attached data storage containing the selected saveset. You can select another interface from the drop-down list.
  7. Click the Expert Options button if you want to specify additional restore settings, e.g., modify the log level, define the pre/post script for restore, etc. For details, see the Restore wizard.
  8. Information sign.png Note
    As of v. 4.4.3. Beefalo, the Expert Options button for specifying advanced restore options is only available in the Expert UI mode. It is not available for users that run the GUI in Basic or Advanced mode. In the latter case, if you want to access the Expert Options you first have to change the Basic/Advanced UI mode to Expert, as described in Selecting UI mode.

    OpenNebula restore target settings.jpg

  9. In the final step of the restore wizard, you can review all the settings of your restore task. You can also edit the settings by using Change Selection button. If you want to start your 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.

Restoring single files (Expert mode only)

With 4.4.3 Beefalo V2, SEP sesam introduces single file restore – item-level restore of files, folders, and volumes from the FULL or COPY backup of OpenNebula virtual machine by mounting a virtual disk on the device server and browsing the content of a virtual disk file. Before starting a restore, check the supported file systems and restrictions.

Mounting OpenNebula virtual disk

Create a new restore task for individual item(s) you want to restore.

  1. From the SEP sesam GUI menu bar, select Activities -> Restore. The New Restore Task window opens.
  2. Select what 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 you are searching by filename/path, select the option Filename or path in a saveset 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 version from which you want to restore an individual file. Then select the check box Mount virtual disk(s). You can mount any saveset stored to default data store Path, Si3 deduplication store or HPE StoreOnce. Mounting is not possible if the savesets are stored to tapes or if the data is compressed or encrypted. Note that some other restrictions apply.
  5. OpenNebula SFR select task Beefalo V2.jpg

  6. Mount is triggered and your virtual disk is mounted to the device server. This may take a few seconds. Click OK.
  7. OpenNebula SFR mount Beefalo V2.jpg

  8. In the Select Files window, select the folders or files you want to restore and click Next.
  9. OpenNebula SFR select files Beefalo V2.jpg

  10. In the fourth step of the restore wizard (Target Settings), select a restore target (Target node and New restore target) where you want to restore your files.
  11. In the final step of the restore wizard, you can review all the settings of your restore task. You can start your single file restore immediately by clicking Start. If you want to save the restore task, click Save.
  12. Click OK to unmount the saveset 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.

Monitoring restore

You can view the status of your restore jobs by selecting Job State -> Restores 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.

As of 4.4.3 Beefalo V2, you can also monitor the restore progress using the Web UI. For details, see SEP sesam Web UI.