4 4 3 Beefalo:RHV Restore: Difference between revisions

From SEPsesam
(Jaglion SFR update nearly finished, currently commented out (screenshots TBD).)
No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<noinclude><div class="noprint"><languages />
<noinclude><div class="noprint"><languages />
{{Copyright SEP AG|en}}</translate>
{{Copyright SEP AG|en}}</translate>
{{draft‎}}
<translate><!--T:2--> {{Navigation_previous|link=[[Special:MyLanguage/RHV_Restore|RHV Restore]] for the new version}}</div></translate><br />
<translate><!--T:2--> {{Navigation_latest|release=[[SEP_sesam_Release_Versions|4.4.3 ''Beefalo''/4.4.3 ''Beefalo V2'']]|link=[[Special:MyLanguage/RHV|RHV archive]]}}</div></translate><br />
<translate>==Overview== <!--T:3--></translate>
<translate>==Overview== <!--T:3--></translate>
<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><translate><!--T:4--> Additional resources</translate></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><translate><!--T:4--> Additional resources</translate></b></center>
{|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:SEP_next.png|45px|link=Special:MyLanguage/4_4_3_Beefalo:Standard_Restore_Procedure|Standard Restore Procedure]]
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP_next.png|45px|link=Special:MyLanguage/4_4_3_Beefalo:Standard_Restore_Procedure|Standard Restore Procedure]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:5--> See also: [[Special:MyLanguage/4_4_3_Beefalo:Standard_Restore_Procedure|Standard Restore Procedure]] – [[Special:MyLanguage/Restore_Assistant|Restore Assistant]] – [[Special:MyLanguage/4_4_3_Beefalo:RHV_Configuration|RHV Configuration]] – [[Special:MyLanguage/4_4_3_Beefalo:RHV_Backup|RHV Backup]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate><!--T:5--> See also: [[Special:MyLanguage/Installing_guestfs-tools_on_Linux|Installing guestfs-tools on Linux]] – [[Special:MyLanguage/4_4_3_Beefalo:Standard_Restore_Procedure|Standard Restore Procedure]] – [[Special:MyLanguage/Restore_Assistant|Restore Assistant]] – [[Special:MyLanguage/4_4_3_Beefalo:RHV_Configuration|RHV Configuration]] – [[Special:MyLanguage/4_4_3_Beefalo:RHV_Backup|RHV Backup]]</translate>
|}
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Tip.png|45px|link=Special:MyLanguage/4_4_3_Beefalo:FAQ|FAQ]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |<translate> <!--T:231--> Check [[Special:MyLanguage/4_4_3_Beefalo:FAQ|FAQ]] to find the answers to most common questions.</translate>
|}
|}
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
Line 26: Line 29:


<!--T:11-->
<!--T:11-->
As of v. [[SEP_sesam_Release_Versions|4.4.3 ''Beefalo'']], the RHV module also provides support for <tt>oVirt</tt>-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 GUI options and steps apply for restoring OLVM VM, with the only difference that the relevant OLVM objects should be selected instead of RHV.
As of v. [[SEP_sesam_Release_Versions|4.4.3 ''Beefalo'']], the RHV module also provides support for <tt>oVirt</tt>-based platforms within '''Oracle Linux Virtualization Manager (OLVM)''' in the same way as for RHV environments. For more information, see [[Special:MyLanguage/5_0_0:OLVM_Configuration|OLVM]].</translate>
 
<span style="font-size:92%; line-height: 1.3em; color:grey;">*<translate><!--T:14--> RHV is a rebranding of Red Hat Enterprise Virtualization (RHEV).</translate></span>
 
<translate>==={{anchor|features}}Key features=== <!--T:133-->


<!--T:12-->
<!--T:12-->
The restore of RHV/OLVM VMs is very similar to regular file system restore. There are two ways to restore your RHV virtual machines (VMs) in SEP sesam: by using '''GUI restore wizard''' (described below) or through the web interface '''Restore Assistant''' (only RHV VMs). 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 [[Special:MyLanguage/Restore_Assistant|Restore Assistant]].
*Restoring RHV VMs is simple, guided, and similar to regular file system restore. Note that you can only restore one VM at a time.  


<!--T:13-->
<!--T:134-->
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. Note that you can only restore one VM at a time. For step-by-step procedure, see [[Special:MyLanguage/Standard_Restore_Procedure|Standard Restore Procedure]].</translate>
*There are two ways to restore your RHV virtual machines (VMs) in SEP sesam: via the [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#GUI_VM|''GUI restore wizard'']] or via the web  [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#RA_VM|''Restore Assistant'']]. Although most options are the same in both restore interfaces, the web ''Restore Assistant'' interface is more intuitive and offers additional advanced options.


<span style="font-size:92%; line-height: 1.3em; color:grey;">*<translate><!--T:14--> RHV is a rebranding of Red Hat Enterprise Virtualization (RHEV).</translate></span>
<!--T:135-->
*Scheduling restore is supported only through the GUI (it is not possible to schedule restores in the Web UI). For details, see [[Special:MyLanguage/Scheduling_Restore|Scheduling Restore]].
 
<!--T:136-->
*You can perform a single file restore (SFR) using the web [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#RA_SFR|Restore Assistant]] or the [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#GUI_SFR|GUI]]. SFR is supported only in [[Special:MyLanguage/SEP_sesam_Glossary#UI_mode|''advanced'' UI mode]] (formerly ''expert'' mode in the GUI).</translate>  


<translate>==={{anchor|options}}Restore options=== <!--T:15--></translate>
<translate>==={{anchor|options}}Restore options=== <!--T:15--></translate>


* <translate><!--T:16--> You can restore your RHV VM to the ''original'' or ''different'' location with the ''same'' or a ''different'' VM name using relocation.</translate>
* <translate><!--T:16--> You can restore your RHV VM to the ''original'' location or to ''another'' location with the ''same'' or a ''different'' VM name using relocation.</translate>
* <translate><!--T:17--> You can restore your VM to the ''same'' or a ''different'' single RHV server or RHV cluster.</translate>
* <translate><!--T:17--> You can restore your VM to the ''same'' or a ''different'' single RHV server or RHV cluster.</translate>
* <translate><!--T:18--> 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.</translate>
* <translate><!--T:18--> 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.</translate>
* <translate><!--T:19-->
* <translate><!--T:19-->
In SEP sesam ≥ [[SEP_sesam_Release_Versions|4.4.3 ''Beefalo V2'']], you can perform a ''single file restore'' by mounting RHV/OLVM virtual disk if your UI mode is set to ''Expert''; see [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|Selecting UI mode]].
You can perform a SFR in the [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#GUI|GUI]]. The ''Mount'' option is shown only in ''advanced'' UI mode (formerly ''expert'' mode in the GUI). For details on switching the UI mode, see [[Special:MyLanguage/5_0_0:Restore_Assistant#UI_mode|Setting the UI mode in the ''Restore Assistant'']] and [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|Setting the UI mode in the GUI]].</translate>
<!--* In SEP sesam ≥ [[SEP_sesam_Release_Versions|4.4.3 ''Beefalo V2'']], you can perform a [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#GUI|single file restore in the GUI]] if your UI mode is set to ''Expert''. With 5.0.0 ''Jaglion'', you can also perform a single file restore via the [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#restore_assistant|web Restore Assistant]].-->
{{<translate><!--T:138--> Note</translate>|<translate><!--T:132--> Mount is used to restore individual files. Mounting is not possible if the savesets are stored on tapes or if the data is compressed or encrypted. Some other [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer#restrictions|XPRFS restrictions]] also apply to mounting.</translate>}}


=== {{anchor|workflow}}Restore workflow === <!--T:20-->
<translate>=== {{anchor|workflow}}Restore workflow === <!--T:20-->


<!--T:21-->
<!--T:21-->
Line 61: Line 72:
<!--T:28-->
<!--T:28-->
To ensure error-free operation of SEP sesam and improve performance, make sure that the following conditions are met:</translate>
To ensure error-free operation of SEP sesam and improve performance, make sure that the following conditions are met:</translate>
* <translate><!--T:29--> Check the [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#RHV| RHV support matrix]] for the list of supported ''RHV'' versions and [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#OLVM|OLVM support matrix]] for supported ''OLVM'' versions.</translate>
* <translate><!--T:29--> Check the [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#RHV| RHV support matrix]] for the list of supported ''RHV'' versions.</translate>
* <translate><!--T:30--> Make sure that your RHV/OLVM environment is configured properly, as described in [[Special:MyLanguage/4_4_3_Beefalo:RHV_Configuration|RHV Configuration]].</translate>
* <translate><!--T:30--> Make sure that your RHV environment is set up properly, as described in [[Special:MyLanguage/4_4_3_Beefalo:RHV_Configuration|RHV Configuration]].</translate>
*<translate><!--T:31--> Make sure that there is enough free space on the target system to which you are restoring your data.</translate>  
*<translate><!--T:31--> Make sure that there is enough free space on the target system where you want to restore your data.</translate>
*<translate><!--T:224--> Single file restore (SFR) of backups from virtualization platforms requires the ''guestfs-tools package'' to be installed on Linux in order to access and mount VM disk image on Linux. If the package is not installed on your SEP sesam Server or Linux RDS, it is not possible to mount VMDK and perform SFR. Refer to [[Special:MyLanguage/Installing_guestfs-tools_on_Linux|Installing guestfs-tools on Linux]].</translate>


{{<translate><!--T:32--> note</translate>|<translate><!--T:33--> 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.</translate>}}
{{<translate><!--T:32--> note</translate>|<translate><!--T:33--> 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.</translate>}}


<translate>=={{anchor|restore}}Restoring RHV virtual machines== <!--T:34-->
<translate>=={{anchor|VM_restore}}Restoring an RHV virtual machine== <!--T:34-->
 
<!--T:139-->
Depending on the interface you are using, follow the appropriate procedure to restore a RHV VM:</translate>
*<translate><!--T:140--> [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#GUI_VM|''VM restore via GUI'']]</translate>
*<translate>
<!--T:141-->
[[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#RA_VM|VM restore via ''Restore Assistant'']] 
 
==={{anchor|GUI_VM}}VM restore via the GUI=== <!--T:142-->


<!--T:35-->
<!--T:35-->
Create a new restore task for the ''RHEV Manager'' or ''OLVM'' client. You can only restore one VM at a time.</translate>  
Create a new restore task for the ''RHEV Manager''. You can only restore one VM at a time.</translate>  
<ol><li><translate><!--T:36--> In the SEP sesam GUI menu bar, select '''Activities''' -> '''Restore'''. The ''New Restore Task'' window opens.</translate></li>
<ol><li><translate><!--T:36--> From the SEP sesam GUI menu bar, select '''Activities''' -> '''Restore'''. The ''New Restore Task'' window opens.</translate></li>
<li><translate><!--T:37--> Select what you want to restore. You can search savesets by ''task name'' or ''filename or path''.</translate></li>
<li><translate><!--T:37--> Select what you want to restore. You can search savesets by ''task name'' or ''filename or path''.</translate></li>
*<translate><!--T:38--> 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.</translate>
*<translate><!--T:38--> 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.</translate>
*<translate><!--T:39--> 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.</translate></li>
*<translate><!--T:39--> 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.</translate></li>
<li><translate><!--T:40--> In the '''Saved in period''' drop-down lists, specify the time frame for which you want to conduct the search. Click '''Next'''.</translate></li>
<li><translate><!--T:40--> Under '''Saved in period''', specify the time frame for which you want to conduct the search. Click '''Next'''.</translate></li>
<translate><!--T:41--> [[File:RHV_rst_task-filter.jpg|790px|link=]]</translate>
<translate><!--T:41--> [[File:RHV_rst_task-filter.jpg|710px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate><!--T:42--> Select the RHV/OLVM saveset you want to restore. Click '''Next'''.</translate></li>
<li><translate><!--T:42--> The search results are displayed. From the list of savesets that match your search query, select the task you want to restore. The [[Special:MyLanguage/Restore_Type|restore types]] ''Complete restore of selected task'' and ''Generation restore'' are selected by default and cannot be deselected. Click '''Next'''.</translate></li>
<translate><!--T:43--> [[File:RHV_rst_task-task.jpg|790px|link=]]</translate>
<translate><!--T:43--> [[File:RHV_rst_task-task.jpg|710px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate><!--T:44--> Review your restore task configuration and set additional options, if required.</translate></li>
<li><translate><!--T:44--> In the ''Target Settings'' dialog box, check the configuration of your restore task and set additional options if required.</translate></li>
<translate><!--T:45--> 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.</translate>
<translate><!--T:45--> 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.</translate>
;<translate><!--T:46--> Target data:</translate>
;<translate><!--T:46--> Target data:</translate>
<translate><!--T:47--> 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.</translate>
<translate><!--T:47--> You can restore the RHV VM to the '''original VM''' (if the ''Target node'' is the same server from which the data was backed up, i.e., the source and target server are the same) or under a ''new VM name''.</translate>
:<translate><!--T:143--> If you want to restore the VM under a different name, select the option '''Restore with new VM name''' and enter a new VM name or use the '''Browser''' button to select a new target location; then select '''Create new version''' under the ''VM restore options''.</translate>
;<translate><!--T:48--> Target node:</translate>
;<translate><!--T:48--> Target node:</translate>
<translate><!--T:49--> 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.</translate>
<translate><!--T:49--> It shows the target server where the data will be restored. By clicking ''Change VM target selection'', you can restore a task from a cluster to another standalone server by selecting the appropriate RHV ''target node'' and ''data store'' path from the drop-down lists. If no target path is defined, the VM is restored to the default location of the RHV server or cluster.</translate>
;<translate><!--T:50--> VM restore options:</translate>
;<translate><!--T:50--> VM restore options:</translate>
<translate><!--T:51--> Select one of the following from the drop-down list:</translate>
<translate><!--T:51--> Select one of the following from the drop-down list:</translate>
<ul><li>
<ul><li>
<translate><!--T:52--> '''Do not overwrite existing items''' (default): VM will be restored only if it does not exist on the target server.</translate></li>
<translate><!--T:52--> '''Do not overwrite existing items''' (default): The VM will not be restored if a VM with the same name already exists on the target server. In this case, the following error is displayed: ''Error: Restore failed. A virtual machine with the same name already exists.''</translate></li>
<li><translate><!--T:53--> '''Overwrite existing items''': If the VM exists on the target server, it will be replaced by its restored version.</translate></li>
<li><translate><!--T:53--> '''Overwrite existing items''': If a VM with the same name exists on the target server, it will be replaced with the restored version. Note that if two VMs with the same name exist on the target server, the restore fails with: ''Error: Restore failed. A virtual machine with the same name already exists.''</translate></li>
<li><translate><!--T:54--> '''Create a new version''' will restore VM under a new name.</translate></li>
<li><translate><!--T:54--> '''Create a new version''' to restore the VM under a new name.</translate></li>
<li><translate><!--T:55--> 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).</translate></li></ul></li>
<li><translate><!--T:55--> You can also select whether the VM should be started automatically after the restore by selecting '''Start virtual machine after restore'''/'''Do not start''' (selected by default).</translate></li></ul></li>
<translate><!--T:56--> [[File:RHV_rst_task-target.jpg|790px|link=]]</translate>
<translate><!--T:56--> [[File:RHV_rst_task-target.jpg|710px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate><!--T:57--> Optionally, if you want to restore only the actual size of the VMs, you can use the <tt>dd</tt> utility to create a thin-provisioned (sparse) disk file: Click the '''Expert Options''' button and enter the following under ''Restore options'':</translate> <tt>-a use_dd</tt></li>
<li><translate><!--T:57--> Optionally, if you want to restore only the actual size of the VMs, you can use the <tt>dd</tt> utility to create a thin-provisioned (sparse) disk file: Click the '''Expert Options''' button and enter the following under ''Restore options'':</translate> <tt>-a use_dd</tt></li>
{{<translate><!--T:58--> note</translate>|<translate><!--T:59--> As of v. [[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3. ''Beefalo'']], the ''Expert Options'' button for specifying advanced restore options is only available in the [[Special:MyLanguage/SEP_sesam_Glossary#UI_mode|''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 [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|Selecting UI mode]].</translate>}}
{{<translate><!--T:58--> note</translate>|<translate><!--T:59--> The ''Expert Options'' button is available only in [[Special:MyLanguage/SEP_sesam_Glossary#UI_mode|''advanced'' mode]] (formerly ''expert'' mode in the GUI). If you are running the GUI in ''simple'' mode (formerly ''basic'' GUI mode) and want to access ''Expert Options'', change UI mode to ''advanced'', as described in [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|Selecting UI mode]].</translate>}}
<translate><!--T:60--> [[Image:RHV_rst_task-expert_options.jpg|680px|link=]]</translate>
<translate><!--T:60--> [[Image:RHV_rst_task-expert_options.jpg|500px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate><!--T:61--> 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'''.</translate></li></ol>
<li><translate><!--T:61--> In the last step of the restore wizard, you can check all the settings for your restore task. You can also edit the settings by using the '''Change Selection''' button. If you want to start the restore immediately, click '''Start'''. If you want to save the restore task, click '''Save'''.</translate></li></ol>


<translate><!--T:62-->
<translate><!--T:62-->
Line 106: Line 128:
[[Special:MyLanguage/Scheduling_Restore|Scheduling Restore]].
[[Special:MyLanguage/Scheduling_Restore|Scheduling Restore]].


=={{anchor|single_file}}Restoring single files <span style="font-size:74%; font-weight:550; font-family:Arial">([[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|Expert mode]] only)</span>== <!--T:63-->  
==={{anchor|RA_VM}}VM restore via the ''Restore Assistant''=== <!--T:144-->
 
<!--T:145-->
You can access the ''Restore Assistant'' in one of the following ways:</translate>
*<translate> <!--T:146--> via the GUI: by clicking the ''Restore Assistant icon'' in the toolbar or from ''Activities'' -> ''Restore Assistant''</translate>
*<translate><!--T:147--> from SEP sesam Web UI: left menu -> ''Restore Assistant''</translate>
*<translate><!--T:148--> or by entering the following address in the browser bar: ''http://[sesamserver]:11401/sep/ui/restore/''.</translate>
 
{{<translate><!--T:149--> note</translate>|
*<translate><!--T:150--> If you cannot access the web ''Restore Assistant'', check that you have been given the appropriate permissions for online restore.</translate>
*<translate><!--T:151--> The operations and options available after logging in may differ depending on the user type. Other Web UI display restrictions may depend on the custom roles with specific permissions and the [[Special:MyLanguage/SEP_sesam_Glossary#UI_mode|''UI mode'']].</translate><br /><translate><!--T:152--> For details, see [[Special:MyLanguage/5_0_0:About_Authentication_and_Authorization|About Authentication and Authorization]] and [[Special:MyLanguage/5_0_0:User_Roles_and_Permissions|User Roles and Permissions]].</translate>}}
 
<translate>===== Steps ===== <!--T:153-->
 
<!--T:154-->
The following steps are performed in ''basic'' UI mode. They cover the most common restore cases and are the recommended method for performing a restore. For more experienced users, some additional restore options are available in [[Special:MyLanguage/5_0_0:Restore_Assistant#UI_mode|advanced restore mode]]. For details, see [[Special:MyLanguage/5_0_0:Restore_Assistant#VMs_advanced_restore|Restoring VMs in advanced UI mode]].</translate>
 
<ol><li><translate><!--T:155--> Open the ''Restore Assistant'' in the browser.</translate></li>
<li><translate><!--T:156--> In the start window, select ''Red Hat Virtualization'' and click '''Next'''.</translate></li>
<translate><!--T:157--> [[image:RHV-RA_VM_start_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<li><translate><!--T:158--> In the ''Virtual Machine'' window, under ''Selection of the server'', select your RHV server to restore your data to.</translate><br />
<translate><!--T:159--> Then, under ''Selection of the virtual machine'' select the VM you want to restore and click '''Next'''.</translate></li>
<translate><!--T:160--> [[image:RHV-RA_VM_select_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<li><translate><!--T:161--> In the ''Task'' window, under ''Task selection'', select your source [[Special:MyLanguage/SEP_sesam_Glossary#backup_task|backup task]].</translate><br />
<translate><!--T:162--> Under ''Backup selection'', select the exact backup version you want to restore. Note that ''Generation restore'' is selected by default. You can use the calendar function in the upper right corner to set a date range for the displayed backups.</translate><br />
<translate><!--T:163--> Click '''Next'''.</translate></li>
<translate><!--T:164--> [[image:RHV-RA_VM_task_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<li><translate><!--T:165--> In the ''Target'' window, under the ''Target selection'' select your target environment for restore. You can use the drop-down list to select or filter VMs by name.</translate></li>
<translate><!--T:166--> Then set additional restore options under ''Execution options'':</translate><br />
<translate><!--T:167--> '''''Do not overwrite an existing virtual machine'':''' The VM is restored only if it does not already exist on the target system.</translate><br />
<translate><!--T:168--> '''''Overwrite an existing virtual machine'':''' If the VM exists on the target server, it will be replaced with the restored version.</translate><br />
<translate><!--T:169--> Click '''Next'''.</translate><br />
<translate><!--T:170--> [[image:RHV-RA_VM_target_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<li><translate><!--T:171--> Modify or set additional restore options under the ''Virtualization restore options'':</translate></li>
<translate><!--T:172--> '''''Data mover'':''' Select the data mover.</translate><br />
<translate><!--T:173--> '''''Recovery options'': '''Specify whether or not to start the VM after restore.</translate><br />
<translate><!--T:174--> Under ''Target options of the virtual machine'' select '''Storage Domain ''' from the drop-down list.</translate><br />
<translate><!--T:175--> Click '''Next'''.</translate></li>
<translate><!--T:176--> [[File:RHV-RA_VM_options_Jaglion.jpg|450px|link=]]</translate>
<li><translate><!--T:177--> In the last step, check the summary of your restore task (restore type (based on [[Special:MyLanguage/SEP_sesam_Glossary#task_type|task type]], selected backup, its date and details, restore options, etc.) and click '''Start restore'''.</translate></li>
<translate><!--T:178--> [[image:RHV-RA_VM_finish_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
</ol>
 
<translate>=={{anchor|SFR}}Restoring single files== <!--T:63-->  


<!--T:64-->
<!--T:64-->
With [[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3 ''Beefalo V2'']], SEP sesam introduces single file restore – item-level restore of files, folders, and volumes from the ''COPY'' backup of RHV/OLVM virtual machine by mounting a virtual disk on the device server and browsing the content of a virtual disk file.</translate>
You can perform single file restore (SFR) – item-level restore of files, folders, and volumes from the ''COPY'' backup of RHV virtual machine by mounting a virtual disk on the device server and browsing the content of a virtual disk file.</translate>
<!--
You can restore individual files via the [[Special:MyLanguage/5_0_0:KVM_QEMU_Single_File_Restore#GUI|SEP sesam GUI]] (v. ≥ [[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3 ''Beefalo V2'']]) or the [[Special:MyLanguage/5_0_0:KVM_QEMU_Single_File_Restore#restore_assistant|web Restore Assistant]] (v. ≥ 5.0.0 ''Jaglion''). Restoring a single file is only supported in the UI mode where all options are available, i.e. in the ''Expert'' UI mode when you perform a single file restore via the GUI or in the ''Advanced'' UI mode when you use the web Restore Assistant. For details on switching the UI mode, see [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|Setting the UI mode in the GUI]] and [[Special:MyLanguage/5_0_0:Restore_Assistant#UI_mode|Setting UI mode in the Restore Assistant]].


{{Note|
{{<translate><!--T:225--> note</translate>|<translate><!--T:226--> SFR of backups from virtualization platforms requires the ''guestfs-tools package'' to be installed on Linux in order to access and mount VM disk image on Linux. If the package is not installed on your SEP sesam Server or Linux RDS, it is not possible to mount VMDK and perform SFR. Refer to [[Special:MyLanguage/Installing_guestfs-tools_on_Linux|Installing guestfs-tools on Linux]].</translate>}}
*To restore single files via the web interface ''Restore Assistant'', appropriate permissions are required. For details, see [[Special:MyLanguage/5_0_0:About_Authentication_and_Authorization|About Authentication and Authorization]].
*Before starting a restore, check the [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer#restrictions|restrictions]] for mounting the virtual disk (VHD file).
}}-->


{{<translate><!--T:65--> tip</translate>|<translate><!--T:66--> If you prefer to watch a video rather than to read a step-by-step guide, you can learn all the steps of the restore procedure by watching ''Backup and restore of RHV/OLVM'' on {{SEP youtube}}.</translate>}}
<!-- <translate><!--T:179--> Depending on the interface you are using, follow the appropriate procedure to restore individual RHV VM files:</translate>  
*<translate><!--T:180--> [[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#GUI_SFR|''Single file restore via GUI'']]</translate>
*<translate>
<!--T:181-->
[[Special:MyLanguage/4_4_3_Beefalo:RHV_Restore#RA_SFR|Single file restore via ''Restore Assistant'']] (v. ≥ 5.0.0 ''Jaglion''). -->


<translate><!--T:67-->
<!--T:182-->
Before starting a restore, check the supported file systems and [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer#restrictions|restrictions]].
The ''Mount'' option is shown only in ''advanced'' UI mode (formerly ''expert'' mode in the GUI). For details on switching the UI mode, see <!-- [[Special:MyLanguage/5_0_0:Restore_Assistant#UI_mode|Setting the UI mode in the ''Restore Assistant'']] and -->[[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|Setting the UI mode in the GUI]].</translate>


==={{anchor|mount}}Mounting RHV/OLVM virtual disk=== <!--T:68-->
<translate>==={{anchor|GUI_SFR}}GUI single file restore=== <!--T:183-->
 
<!--==={{anchor|GUI}}Using the GUI restore wizard===-->


<!--T:69-->
<!--T:69-->
Create a new restore task for individual item(s) you want to restore.
Make sure your UI mode is set to [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|''advanced'']] (formerly ''expert'') and create a new restore task for the individual item(s) you want to restore.</translate>
<!--After [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|setting the UI mode to ''Expert'']], create a new restore task for the individual item(s) you want to restore.--></translate>
<ol><li><translate><!--T:70--> From the SEP sesam GUI menu bar, select '''Activities''' -> '''Restore'''. The ''New Restore Task'' window opens.</translate></li>
<ol><li><translate><!--T:70--> From the SEP sesam GUI menu bar, select '''Activities''' -> '''Restore'''. The ''New Restore Task'' window opens.</translate></li>
<li><translate><!--T:71--> Select what you want to restore. You can search savesets by ''task name'' or by ''filename or path''.</translate>
<li><translate><!--T:71--> Select what you want to restore. You can search savesets by ''task name'' or by ''filename or path''.</translate>
*<translate><!--T:72--> 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.</translate>
*<translate><!--T:72--> 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.</translate>
*<translate><!--T:73--> 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.</translate></li>
*<translate><!--T:73--> 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.</translate></li>
<li><translate><!--T:74--> Under the '''Saved in period''' drop-down lists, specify the time frame for which you want to conduct the search. Click '''Next'''.</translate></li>
<li><translate><!--T:74--> Under '''Saved in period''', specify the time frame for which you want to conduct the search. Click '''Next'''.</translate></li>
<li><translate><!--T:75--> 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 [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer#restrictions|restrictions]] apply.</translate></li>
<li><translate><!--T:75--> 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)'''.</translate>
<translate><!--T:76--> [[image:RHV_SFR_select_task_Beefalo_V2.jpg|790px|link=]]</translate>
{{<translate><!--T:227--> Note</translate>|
*<translate><!--T:228--> To be able to access and mount VM disk image on Linux, the ''guestfs-tools package'' must be installed on your SEP sesam Server or Linux RDS. If the ''guestfs-tools package'' is not installed on your SEP sesam Server or Linux RDS, it is not possible to mount VMDK and perform SFR. Refer to [[Special:MyLanguage/Installing_guestfs-tools_on_Linux|Installing guestfs-tools on Linux]].</translate>
*<translate><!--T:229--> Mounting is not possible if the savesets are stored on tapes or if the data is compressed or encrypted. Some other [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer#restrictions|XPRFS restrictions]] also apply to mounting.</translate>}}
</li>
<translate><!--T:76--> [[image:RHV_SFR_select_task_Beefalo_V2.jpg|710px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate><!--T:77--> [[Special:MyLanguage/SEP_sesam_Glossary#mount|Mount]] is triggered and your virtual disk is mounted to the device server. This may take a few seconds. Click '''OK'''.</translate></li>
<li><translate><!--T:77--> The [[Special:MyLanguage/SEP_sesam_Glossary#mount|mount]] is triggered and your virtual disk is mounted to the device server. This may take a few seconds. Click '''OK'''.</translate></li>
<translate><!--T:78--> [[image:RHV_SFR_mount_Beefalo_V2.jpg|790px|link=]]</translate>
<translate><!--T:78--> [[image:RHV_SFR_mount_Beefalo_V2.jpg|710px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate><!--T:79--> In the ''Select Files'' window, select the folders or files you want to restore, for example, the ''home'' directory, and click '''Next'''.</translate></li>
<li><translate><!--T:79--> In the ''Select Files'' window, select the folders or files you want to restore, for example, the ''home'' directory, and click '''Next'''.</translate></li>
<translate><!--T:80--> [[image:RHV_SFR_select_files_Beefalo_V2.jpg|790px|link=]]</translate>
<translate><!--T:80--> [[image:RHV_SFR_select_files_Beefalo_V2.jpg|710px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate><!--T:81--> In the fourth step of the restore wizard (''Target Settings''), select a restore target where you want to restore your files.</translate></li>
<li><translate><!--T:81--> In the fourth step of the restore wizard (''Target Settings''), select a new restore target to which you want to restore your files..</translate></li>
<li><translate><!--T:82--> 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'''.</translate></li>
<li><translate><!--T:82--> In the last step of the restore wizard, you can check all settings of your restore task. You can start your SFR immediately by clicking '''Start'''. If you want to save the restore task, click '''Save'''.</translate></li>
<li><translate><!--T:83--> Click '''OK''' to unmount the saveset and close your restore session.</translate></li>
<li><translate><!--T:83--> Click '''OK''' to unmount the saveset and close your restore session.</translate></li>
</ol>
</ol>
Line 151: Line 221:
{{<translate><!--T:84--> note</translate>|<translate><!--T:85--> A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see [[Special:MyLanguage/Scheduling_Restore|Scheduling Restore]].</translate>}}
{{<translate><!--T:84--> note</translate>|<translate><!--T:85--> A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see [[Special:MyLanguage/Scheduling_Restore|Scheduling Restore]].</translate>}}


<!--
<!-- <translate>==={{anchor|RA_SFR}}Single file restore (SFR) restore via the ''Restore Assistant''=== <!--T:184-->
<translate>==={{anchor|restore_assistant}}Using the web Restore Assistant===  
 
<!--T:185-->
You can restore individual files of an RHV VM in the web interface in the ''advanced'' UI mode if you have the appropriate permissions. For more details on the UI mode, see
[[Special:MyLanguage/5_0_0:Restore_Assistant#UI_mode|Setting UI mode in the Restore Assistant]]. For details on user permissions, see [[Special:MyLanguage/5_0_0:About_Authentication_and_Authorization|About Authentication and Authorization]].</translate>


With v. [[SEP_sesam_Release_Versions|5.0.0 ''Jaglion'']], you can restore individual files of an RHV VM in the web interface in the ''advanced'' UI mode if you have the appropriate permissions. For more details on the UI mode, see
<translate><!--T:186--> You can access the ''Restore Assistant'' in one of the following ways:</translate>
[[Special:MyLanguage/5_0_0:Restore_Assistant#UI_mode|Setting UI mode in the Restore Assistant]].</translate>  
*<translate><!--T:187--> via the GUI: by clicking the ''Restore Assistant icon'' in the toolbar or from ''Activities'' -> ''Restore Assistant''</translate>
*<translate><!--T:188--> from SEP sesam Web UI: left menu -> ''Restore Assistant''</translate>
*<translate><!--T:189--> or by entering the following address in the browser bar:</translate> ''http://[sesamserver]:11401/sep/ui/restore/''.


<translate>You can access the ''Restore Assistant'' in one of the following ways:</translate>
{{<translate><!--T:190--> note</translate>|
*<translate>via the GUI: by clicking the ''Restore Assistant icon'' in the toolbar or from ''Activities'' -> ''Restore Assistant''</translate>
*<translate><!--T:191--> If you cannot access the web ''Restore Assistant'', check if you have received the appropriate permissions for online restore.</translate>  
*<translate>from SEP sesam Web UI: left menu -> ''Restore Assistant''</translate>
*<translate><!--T:192--> The operations and options available after logging in may differ depending on the user type. Other Web UI display restrictions may depend on the custom roles with specific permissions and the [[Special:MyLanguage/SEP_sesam_Glossary#UI_mode|''UI mode'']].</translate>
*<translate>or by entering the following address in the browser bar:</translate> ''http://[sesamserver]:11401/sep/ui/restore/''.
<br /><translate><!--T:193--> For details, see [[Special:MyLanguage/5_0_0:About_Authentication_and_Authorization|About Authentication and Authorization]] and [[Special:MyLanguage/5_0_0:User_Roles_and_Permissions|User Roles and Permissions]].</translate>}}


{{<translate>note</translate>|
<ol><li><translate><!--T:194--> Open the ''Restore Assistant'' in the browser.</translate></li>
*<translate>If you cannot access the web ''Restore Assistant'', check if you have received the appropriate permissions for online restore.</translate>  
<li><translate><!--T:195--> In the ''Start'' window, select '''Red Hat Virtualization'''. Then select the option '''Advanced View'''. The ''VM or single file restore'' option is selected by default. Click '''Next'''.</translate></li>
*<translate>The operations and options available after logging in may differ depending on the user type. Other Web UI display restrictions may depend on the custom roles with specific permissions and the [[Special:MyLanguage/SEP_sesam_Glossary#UI_mode|''UI mode'']].</translate><br /><translate>For details, see [[Special:MyLanguage/5_0_0:About_Authentication_and_Authorization|About Authentication and Authorization]] and [[Special:MyLanguage/5_0_0:User_Roles_and_Permissions|User Roles and Permissions]].</translate>}}
<translate><!--T:196--> [[image:RHV_SFR_start_Jaglion.jpg|450px|link=]]</translate>
<ol><li><translate>Open the ''Restore Assistant'' in the browser.</translate></li>
<li><translate>In the ''Start'' window, select '''Red Hat Virtualization'''. Then select the option '''Advanced View'''. The ''VM or single file restore'' option is selected by default. Click '''Next'''.</translate></li>
<translate>[[image:Restore_assistant_SFR_RHV_start_Jaglion.jpg|680px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>In the ''Virtual Machine'' window, under ''Selection of the server'', select your target RHV server to which the data will be restored.</translate></li>
<li><translate><!--T:197--> In the ''Virtual Machine'' window, under ''Selection of the server'', select your target RHV server to which the data will be restored.</translate></li>
<translate>Then, under ''Selection of the virtual machine'', select the VM that you want to restore and click '''Next'''.</translate></li>
<translate><!--T:198--> Then, under ''Selection of the virtual machine'', select the VM that you want to restore and click '''Next'''.</translate></li>
<translate>[[image:Restore_assistant_RHV_select_server_Jaglion.jpg|680px|link=]]</translate>
<translate><!--T:199--> [[image:RHV_SFR_VM_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>In the ''Task'' window, under ''Task selection'', select your source task. A [[Special:MyLanguage/SEP_sesam_Glossary#backup_task|backup task]] defines the source data that was backed up by the client.</translate></li>  
<li><translate><!--T:200--> In the ''Task'' window, under ''Task selection'', select your source task. A [[Special:MyLanguage/SEP_sesam_Glossary#backup_task|backup task]] defines the source data that was backed up by the client.</translate></li>  
<translate>Then, under ''Backup selection'', select the exact backup version you want to restore. You can use the calendar function in the upper right corner to set a date range for the backups. Select the '''Single file restore''' option (in the lower right corner) and  click '''Next'''.</translate></li>  
<translate><!--T:201--> Then, under ''Backup selection'', select the exact backup version you want to restore. You can use the calendar function in the upper right corner to set a date range for the backups. Select the '''Single file restore''' option (in the lower right corner) and  click '''Next'''.</translate></li>  
<translate>[[image:RA_SFR_RHV_select_task_Jaglion.jpg|680px|link=]]</translate>
<translate><!--T:202--> [[image:RHV_SFR_task_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>In the ''Files'' window, select the SEP sesam Server or RDS to which you want to ''mount'' the backup. You can also specify an ''alternate mount path'' and/or ''advanced mount options''. Then click the button '''Mount this backup in filesystem'''. A new window will appear showing the progress of the mount process.</translate></li>
<li><translate><!--T:203--> In the ''Files'' window, select the SEP sesam Server or RDS to which you want to ''mount'' the backup. You can also specify an ''alternate mount path'' and/or ''advanced mount options''. Then click the button '''Mount this backup in filesystem'''. A new window will appear showing the progress of the mount process.</translate></li>
{{<translate>Note</translate>|<translate>Mounting is not possible if the savesets are stored on tapes or if the data is compressed or encrypted. Some other [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer#restrictions|XPRFS restrictions]] also apply to mounting.</translate>}}
{{<translate><!--T:204--> Note</translate>|
<translate>[[image:RA_SFR_RHV_mount_Jaglion.jpg|680px|link=]]</translate>
*<translate><!--T:230--> To be able to access and mount VM disk image on Linux, the ''guestfs-tools package'' must be installed on your SEP sesam Server or Linux RDS. If the ''guestfs-tools package'' is not installed on your SEP sesam Server or Linux RDS, it is not possible to mount VMDK and perform SFR. Refer to [[Special:MyLanguage/Installing_guestfs-tools_on_Linux|Installing guestfs-tools on Linux]].</translate>
*<translate><!--T:205--> Mounting is not possible if the savesets are stored on tapes or if the data is compressed or encrypted. Some other [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer#restrictions|XPRFS restrictions]] also apply to mounting.</translate>}}
<translate><!--T:206--> [[image:RHV_SFR_mount_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>Once a virtual disk is mounted on the device server, select the files or folders you want to restore and click '''Next'''.</translate></li>
<li><translate><!--T:207--> Once a virtual disk is mounted on the device server, select the files or folders you want to restore and click '''Next'''.</translate></li>
<translate>[[image:RA_SFR_RHV_files_Jaglion.jpg|680px|link=]]</translate>
<translate><!--T:208--> [[image:RHV_SFR_files_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>In the ''Target'' window, under ''Target selection'', select your target environment for the restore. You can use the drop-down list to select or filter VMs by name. You can also select a ''custom target path'' by browsing.</translate></li>
<li><translate><!--T:209--> In the ''Target'' window, under ''Target selection'', select your target environment for the restore. You can use the drop-down list to select or filter VMs by name. You can also select a ''custom target path'' by browsing.</translate></li>
Under the ''Execution options'', set additional restore options:<br />
Under the ''Execution options'', set additional restore options:<br />
<translate>'''''Do not overwrite existing items'':''' Files are only restored if they do not already exist on the target system.</translate><br />
<translate><!--T:210--> '''''Do not overwrite existing items'':''' Files are only restored if they do not already exist on the target system.</translate><br />
<translate>'''''Create new version'':''' Restore files under a new name.</translate><br />
<translate><!--T:211--> '''''Create new version'':''' Restore files under a new name.</translate><br />
<translate>'''''Overwrite existing items'':''' If the data exists on the target server, it is replaced with the restored version.</translate><br />
<translate><!--T:212--> '''''Overwrite existing items'':''' If the data exists on the target server, it is replaced with the restored version.</translate><br />
<translate>Then decide how you want to restore your data (keep the original tree structure or flat):</translate><br />
<translate><!--T:213--> Then decide how you want to restore your data (keep the original tree structure or flat):</translate><br />
<translate>'''''Keep original tree structure''''': When restoring to the original location, the ''Keep original tree structure'' option is selected by default. The directory structure of the restored files is the same as the original directory structure of the backed up data.</translate><br />  
<translate><!--T:214--> '''''Keep original tree structure''''': When restoring to the original location, the ''Keep original tree structure'' option is selected by default. The directory structure of the restored files is the same as the original directory structure of the backed up data.</translate><br />  
<translate>'''''Restore all items flat in the selected target directory'':''' The backup is simply restored to a file without recreating the directory structure.</translate><br />
<translate><!--T:215--> '''''Restore all items flat in the selected target directory'':''' The backup is simply restored to a file without recreating the directory structure.</translate><br />
<translate>You can also select to '''''skip ACL settings during restore'''''.</translate><br />
<translate><!--T:216--> You can also select to '''''skip ACL settings during restore'''''.</translate><br />
<translate>Click '''Next'''.</translate><br />
<translate><!--T:217--> Click '''Next'''.</translate><br />
<translate>[[File:Restore_assistant_SFR_RHV-target_Jaglion.jpg|680px|link=]]</translate>
<translate><!--T:218--> [[File:RHV_SFR_target_Jaglion.jpg|450px|link=]]</translate>
<li><translate>In the ''Options'' window, you can specify additional advanced options, such as selecting a data source (media pool, drive, etc.), set include/exclude filters, etc. For details on the available options, see [[Special:MyLanguage/5_0_0:Restore_Assistant#advanced_restore|Online restore in advanced UI mode]].</translate></li>
<li><translate><!--T:219--> In the ''Options'' window, you can specify additional advanced options, such as selecting a data source (media pool, drive, etc.), set include/exclude filters, etc. For details on the available options, see [[Special:MyLanguage/5_0_0:Restore_Assistant#advanced_restore|Online restore in advanced UI mode]].</translate></li>
<translate>Click '''Next'''.</translate><br />
<translate><!--T:220--> Click '''Next'''.</translate><br />
<translate>[[image:RA_SFR_RHV_recovery_options_Jaglion.jpg|680px|link=]]</translate>
<translate><!--T:221--> [[image:RHV_SFR_options_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<br clear=all>
<li><translate>In the last step, check the summary of your restore task (restore type (based on [[Special:MyLanguage/SEP_sesam_Glossary#task_type|task type]], selected backup, its date and details, restore options, etc.) and click '''Start restore'''.</translate></li>
<li><translate><!--T:222--> In the last step, check the summary of your restore task (restore type (based on [[Special:MyLanguage/SEP_sesam_Glossary#task_type|task type]], selected backup, its date and details, restore options, etc.) and click '''Start restore'''.</translate></li>
<translate>[[image:RA_SFR_RHV_finish_Jaglion.jpg|750px|link=]]</translate>
<translate><!--T:223--> [[image:RHV_SFR_finish_Jaglion.jpg|450px|link=]]</translate>
<br clear=all>
<br clear=all>
</ol>
</ol> -->
-->
 
<translate>=={{anchor|monitor}}Monitoring restore== <!--T:86-->  
<translate>=={{anchor|monitor}}Monitoring restore== <!--T:86-->  


<!--T:87-->
<!--T:87-->
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.
You can monitor the restore progress using the ''Web UI'' (''Monitoring'' -> ''Restores'') or view the status in the ''GUI'' (''Main Selection'' -> ''Job State'' -> ''Restores''). The restore 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, etc. For details, see [[Special:MyLanguage/5_0_0:SEP_sesam_Web_UI#restores|SEP sesam Web UI]] or [[Special:MyLanguage/4_4_3_Beefalo:Restores_by_State|Restores by State in the GUI]].
 
<!--T:88-->
As of [[SEP_sesam_Release_Versions|4.4.3 ''Beefalo V2'']], you can also monitor the restore progress using the Web UI. For details, see [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_Web_UI|SEP sesam Web UI]].


<noinclude><div class="noprint">
<noinclude><div class="noprint">
Line 217: Line 288:


==See also== <!--T:90-->
==See also== <!--T:90-->
[[Special:MyLanguage/4_4_3_Beefalo:Standard_Restore_Procedure|Standard Restore Procedure]] – [[Special:MyLanguage/4_4_3_Beefalo:Restore_Assistant|Restore Assistant]] – [[Special:MyLanguage/4_4_3_Beefalo:RHV_Configuration|RHV Configuration]] – [[Special:MyLanguage/4_4_3_Beefalo:RHV_Backup|RHV Backup]]</div></noinclude></translate>
[[Special:MyLanguage/Installing_guestfs-tools_on_Linux|Installing guestfs-tools on Linux]] – [[Special:MyLanguage/4_4_3_Beefalo:Standard_Restore_Procedure|Standard Restore Procedure]] – [[Special:MyLanguage/4_4_3_Beefalo:Restore_Assistant|Restore Assistant]] – [[Special:MyLanguage/4_4_3_Beefalo:RHV_Configuration|RHV Configuration]] – [[Special:MyLanguage/4_4_3_Beefalo:RHV_Backup|RHV Backup]]</div></noinclude></translate>

Latest revision as of 14:21, 4 October 2022

Other languages:

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.

Icon archived docs.png This is not the latest version of SEP sesam documentation and, as such, does not provide information on features introduced in the latest release. For more information on SEP sesam releases, see SEP sesam Release Versions. For the latest documentation, check RHV Restore for the new version.


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. For more information, see OLVM.

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

Key features

  • Restoring RHV VMs is simple, guided, and similar to regular file system restore. Note that you can only restore one VM at a time.
  • There are two ways to restore your RHV virtual machines (VMs) in SEP sesam: via the GUI restore wizard or via the web Restore Assistant. Although most options are the same in both restore interfaces, the web Restore Assistant interface is more intuitive and offers additional advanced options.
  • Scheduling restore is supported only through the GUI (it is not possible to schedule restores in the Web UI). For details, see Scheduling Restore.

Restore options

  • You can restore your RHV VM to the original location or to another 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.
  • You can perform a SFR in the GUI. The Mount option is shown only in advanced UI mode (formerly expert mode in the GUI). For details on switching the UI mode, see Setting the UI mode in the Restore Assistant and Setting the UI mode in the GUI.
Information sign.png Note
Mount is used to restore individual files. Mounting is not possible if the savesets are stored on tapes or if the data is compressed or encrypted. Some other XPRFS restrictions also apply to mounting.

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.
  • Make sure that your RHV environment is set up properly, as described in RHV Configuration.
  • Make sure that there is enough free space on the target system where you want to restore your data.
  • Single file restore (SFR) of backups from virtualization platforms requires the guestfs-tools package to be installed on Linux in order to access and mount VM disk image on Linux. If the package is not installed on your SEP sesam Server or Linux RDS, it is not possible to mount VMDK and perform SFR. Refer to Installing guestfs-tools on Linux.
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 an RHV virtual machine

Depending on the interface you are using, follow the appropriate procedure to restore a RHV VM:

VM restore via the GUI

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

  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 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. Under Saved in period, specify the time frame for which you want to conduct the search. Click Next.
  4. RHV rst task-filter.jpg
  5. The search results are displayed. From the list of savesets that match your search query, select the task you want to restore. The restore types Complete restore of selected task and Generation restore are selected by default and cannot be deselected. Click Next.
  6. RHV rst task-task.jpg
  7. In the Target Settings dialog box, check the configuration of your restore task and set additional options if required.
  8. 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.
    Target data
    You can restore the RHV VM to the original VM (if the Target node is the same server from which the data was backed up, i.e., the source and target server are the same) or under a new VM name.
    If you want to restore the VM under a different name, select the option Restore with new VM name and enter a new VM name or use the Browser button to select a new target location; then select Create new version under the VM restore options.
    Target node
    It shows the target server where the data will be restored. By clicking Change VM target selection, you can restore a task from a cluster to another standalone server by selecting the appropriate RHV target node and data store path from the drop-down lists. 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): The VM will not be restored if a VM with the same name already exists on the target server. In this case, the following error is displayed: Error: Restore failed. A virtual machine with the same name already exists.
    • Overwrite existing items: If a VM with the same name exists on the target server, it will be replaced with the restored version. Note that if two VMs with the same name exist on the target server, the restore fails with: Error: Restore failed. A virtual machine with the same name already exists.
    • Create a new version to restore the VM under a new name.
    • You can also select whether the VM should be started automatically after the restore by selecting Start virtual machine after restore/Do not start (selected by default).

    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
    The Expert Options button is available only in advanced mode (formerly expert mode in the GUI). If you are running the GUI in simple mode (formerly basic GUI mode) and want to access Expert Options, change UI mode to advanced, as described in Selecting UI mode.

    RHV rst task-expert options.jpg

  11. In the last step of the restore wizard, you can check all the settings for your restore task. You can also edit the settings by using the Change Selection button. If you want to start the restore immediately, click Start. If you want to save the restore task, click Save.

A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see Scheduling Restore.

VM restore via the Restore Assistant

You can access the Restore Assistant in one of the following ways:

  • via the GUI: by clicking the Restore Assistant icon in the toolbar or from Activities -> Restore Assistant
  • from SEP sesam Web UI: left menu -> Restore Assistant
  • or by entering the following address in the browser bar: http://[sesamserver]:11401/sep/ui/restore/.
Information sign.png Note
  • If you cannot access the web Restore Assistant, check that you have been given the appropriate permissions for online restore.
  • The operations and options available after logging in may differ depending on the user type. Other Web UI display restrictions may depend on the custom roles with specific permissions and the UI mode.
    For details, see About Authentication and Authorization and User Roles and Permissions.
Steps

The following steps are performed in basic UI mode. They cover the most common restore cases and are the recommended method for performing a restore. For more experienced users, some additional restore options are available in advanced restore mode. For details, see Restoring VMs in advanced UI mode.

  1. Open the Restore Assistant in the browser.
  2. In the start window, select Red Hat Virtualization and click Next.
  3. RHV-RA VM start Jaglion.jpg
  4. In the Virtual Machine window, under Selection of the server, select your RHV server to restore your data to.
    Then, under Selection of the virtual machine select the VM you want to restore and click Next.
  5. RHV-RA VM select Jaglion.jpg
  6. In the Task window, under Task selection, select your source backup task.
    Under Backup selection, select the exact backup version you want to restore. Note that Generation restore is selected by default. You can use the calendar function in the upper right corner to set a date range for the displayed backups.
    Click Next.
  7. RHV-RA VM task Jaglion.jpg
  8. In the Target window, under the Target selection select your target environment for restore. You can use the drop-down list to select or filter VMs by name.
  9. Then set additional restore options under Execution options:
    Do not overwrite an existing virtual machine: The VM is restored only if it does not already exist on the target system.
    Overwrite an existing virtual machine: If the VM exists on the target server, it will be replaced with the restored version.
    Click Next.
    RHV-RA VM target Jaglion.jpg
  10. Modify or set additional restore options under the Virtualization restore options:
  11. Data mover: Select the data mover.
    Recovery options: Specify whether or not to start the VM after restore.
    Under Target options of the virtual machine select Storage Domain from the drop-down list.
    Click Next. RHV-RA VM options Jaglion.jpg
  12. In the last step, check the summary of your restore task (restore type (based on task type, selected backup, its date and details, restore options, etc.) and click Start restore.
  13. RHV-RA VM finish Jaglion.jpg

Restoring single files

You can perform single file restore (SFR) – item-level restore of files, folders, and volumes from the COPY backup of RHV virtual machine by mounting a virtual disk on the device server and browsing the content of a virtual disk file.

Information sign.png Note
SFR of backups from virtualization platforms requires the guestfs-tools package to be installed on Linux in order to access and mount VM disk image on Linux. If the package is not installed on your SEP sesam Server or Linux RDS, it is not possible to mount VMDK and perform SFR. Refer to Installing guestfs-tools on Linux.


The Mount option is shown only in advanced UI mode (formerly expert mode in the GUI). For details on switching the UI mode, see Setting the UI mode in the GUI.

GUI single file restore

Make sure your UI mode is set to advanced (formerly expert) and create a new restore task for the 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 Saved in period, 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).
    Information sign.png Note
    • To be able to access and mount VM disk image on Linux, the guestfs-tools package must be installed on your SEP sesam Server or Linux RDS. If the guestfs-tools package is not installed on your SEP sesam Server or Linux RDS, it is not possible to mount VMDK and perform SFR. Refer to Installing guestfs-tools on Linux.
    • Mounting is not possible if the savesets are stored on tapes or if the data is compressed or encrypted. Some other XPRFS restrictions also apply to mounting.
  5. RHV SFR select task Beefalo V2.jpg
  6. The mount is triggered and your virtual disk is mounted to the device server. This may take a few seconds. Click OK.
  7. RHV SFR mount Beefalo V2.jpg
  8. In the Select Files window, select the folders or files you want to restore, for example, the home directory, and click Next.
  9. RHV SFR select files Beefalo V2.jpg
  10. In the fourth step of the restore wizard (Target Settings), select a new restore target to which you want to restore your files..
  11. In the last step of the restore wizard, you can check all settings of your restore task. You can start your SFR 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 monitor the restore progress using the Web UI (Monitoring -> Restores) or view the status in the GUI (Main Selection -> Job State -> Restores). The restore 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, etc. For details, see SEP sesam Web UI or Restores by State in the GUI.