4 4 3 Beefalo:RHV Restore: Difference between revisions

From SEPsesam
(Minor correction (proposed by KAD).)
(Corrected links.)
Line 1: Line 1:
<div class="noprint">{{Copyright SEP AG|en}}
<div class="noprint">{{Copyright SEP AG|en}}
{{draft‎}}
{{draft‎}}
{{Navigation_latest|release=[[SEP_sesam_Release_Versions|4.4.3 ''Beefalo'']]|link=[[Special:MyLanguage/RHEV|RHV archive]]}}</div><br />
{{Navigation_latest|release=[[SEP_sesam_Release_Versions|4.4.3 ''Beefalo'']]|link=[[Special:MyLanguage/RHV|RHV archive]]}}</div><br />
=={{anchor|overview}}Overview==
=={{anchor|overview}}Overview==
<div class="boilerplate metadata" id="Additional resources" style="background-color: #f0f0f0; color:#636f73; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b>Additional resources</b></center>
<div class="boilerplate metadata" id="Additional resources" style="background-color: #f0f0f0; color:#636f73; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b>Additional resources</b></center>
Line 18: Line 18:
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:icon_archived_docs.png|45px|link=RHEV]]
| rowspan="2" style="padding:0px 10px 0px;" | [[File:icon_archived_docs.png|45px|link=RHEV]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | If you are using an older SEP sesam version, refer to [[Special:MyLanguage/RHEV|RHV archive]].
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | If you are using an older SEP sesam version, refer to [[Special:MyLanguage/RHV|RHV archive]].
|}</div>
|}</div>
SEP sesam backup solution for RHV* environments was developed together with Red Hat. SEP sesam uses RHV Manager backup (<tt>libvirt</tt>) API to perform snapshot-based backups of virtual machines (VMs) in RHV environments and enables consistent, agentless backup and restore of all RHV VMs.
SEP sesam backup solution for RHV* environments was developed together with Red Hat. SEP sesam uses RHV Manager backup (<tt>libvirt</tt>) API to perform snapshot-based backups of virtual machines (VMs) in RHV environments and enables consistent, agentless backup and restore of all RHV VMs.

Revision as of 11:37, 14 November 2019

Copyright © SEP AG 1999-2024. 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 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 Beefalo. For previous documentation version(s), check RHV archive.


Overview

SEP sesam backup solution for RHV* environments was developed together with Red Hat. SEP sesam uses RHV Manager backup (libvirt) API to perform snapshot-based backups of virtual machines (VMs) in RHV environments and enables consistent, agentless backup and restore of all RHV VMs.

As of v. 4.4.3 Beefalo, the RHV module also provides support for oVirt-based platforms within Oracle Linux Virtualization Manager (OLVM) in the same way as for RHV environments. Since the RHV module now supports OLVM the same options and steps apply for restoring OLVM VM, with the only difference that the relevant OLVM objects should be selected instead of RHV.

Restore of RHV/OLVM VMs is very similar to regular file system restore. Note that you can only restore one VM at a time. For details, see Standard Restore Procedure.

*RHV is a rebranding of Red Hat Enterprise Virtualization (RHEV).

Restore options

  • You can restore your RHV VM to the original or different location with the same or a different VM name using relocation.
  • You can restore your VM to the same or a different single RHV server or RHV cluster.
  • You can perform a simple path restore of the selected RHV VM configuration directly to a directory on any system instead of restoring and importing VM to the RHV environment.

Restore workflow

The restore process uses the following workflow:

  1. The VM configuration is restored to the SEP sesam data mover VM.
  2. The target VM is created from this.
  3. The disks on the target VM are created and attached to the SEP sesam data mover VM.
  4. The data is then restored.
  5. The disks are detached from the data mover VM and attached to the target VM.

Prerequisites

To ensure error-free operation of SEP sesam and improve performance, make sure that the following conditions are met:

  • Check the RHV support matrix for the list of supported RHV versions and OLVM support matrix for supported OLVM versions.
  • Make sure that your RHV/OLVM environment is configured properly, as described in RHV Configuration.
  • Make sure that there is enough free space on the target system to which you are restoring your data.
Information sign.png Note
During restore, the virtual disk will consume complete thick provisioned space on the target storage. For example, if you have backed up 1 TB VM disk, 1 TB must be free on the target pool where the VM is created.

Restoring RHV virtual machines

Create a new restore task for the RHEV Manager or OLVM client. You can only restore one VM at a time.

  1. In 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 filename or path.
    • When searching by task name, use the drop-down list of available tasks and select the one you want to restore. This option is enabled 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. In the Saved in period drop-down lists, specify the time frame for which you want to conduct the search. Click Next.
  4. RHV rst task-filter.jpg
  5. Select the RHV saveset you want to restore. Click Next.
  6. RHV rst task-task.jpg
  7. The details of the selected saveset are displayed at the top. The name of the restore task is automatically generated in the Name field. You can edit the name and add a comment below.
    Target data
    You can restore the RHV/OLVM VM to the original VM (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) or under a new VM name. If you want to restore VM under a different name, select the option Restore with new VM name and enter a new VM name or use the Browser button.
    Target node
    It shows the target server to which the data will be restored. By clicking Change VM target selection you can restore a task from a cluster to a different standalone server by selecting the appropriate RHV target node and data store path. If no target path is defined, the VM is restored to the default location of the RHV server or cluster.
    VM restore options
    Select one of the following from the drop-down list:
    • Do not overwrite existing items (default): VM will be restored only if it does not exist on the target server.
    • Overwrite existing items: If the VM exists on the target server, it will be replaced by its restored version.
    • Create a new version will restore VM under a new name.
    • If you are performing a standard VM restore, you can also select whether you want your virtual machine to start automatically after restore by selecting Start virtual machine after restore/Do not start (selected by default).
  8. RHV rst task-target.jpg

  9. Optionally, if you want to restore only the actual size of the VMs, you can use the dd utility to create a thin-provisioned (sparse) disk file: Click the Expert Options button and enter the following under Restore Options: -a use_dd
  10. Information sign.png Note
    As of v. 4.4.3. Beefalo, the Expert Options button for specifying more advanced restore options is only available in the Advanced and Expert UI mode. It is not available for users that run the GUI in Basic mode. In the latter case, you first have to change the Basic UI mode to Advanced or Expert, as described in UI Mode.

    RHV rst task-expert options.jpg

  11. If you want to start your VM 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 -> Restores from the main menu. The Restores overview provides detailed information on the last run of restore jobs, including task name, status (successful, error, in queue...), start and stop time of the last backup, data size, throughput, client, media pool and message.

Known issues

If you have problems, check the Troubleshooting Guide.

See also

Standard Restore ProcedureRHV ConfigurationRHV Backup