Source:Citrix Hypervisor Single File Restore: Difference between revisions

From SEPsesam
(Jaglion draft, in progress.)
 
(In progress, screenshots TBD.)
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
SEP sesam supports single file restore – item-level restore of files, folders and volumes from the ''FULL'', ''DIFF'' or ''INCR'' backup of the Citrix Hypervisor virtual machine if the saveset is stored on a SEP sesam [[Special:MyLanguage/SEP_sesam_Glossary#data_store|data store]] (Path, Si3 deduplication store, etc.). By mounting the VHD, the operating system creates a virtual drive from the file, assigns it a drive letter, and makes the drive available locally on your server.
SEP sesam supports single file restore – item-level restore of files, folders and volumes from the ''FULL'', ''DIFF'' or ''INCR'' backup of the Citrix Hypervisor virtual machine if the saveset is stored on a SEP sesam [[Special:MyLanguage/SEP_sesam_Glossary#data_store|data store]] (Path, Si3 deduplication store, etc.). By mounting the VHD, the operating system creates a virtual drive from the file, assigns it a drive letter, and makes the drive available locally on your server.


You can restore single files using the [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#GUI|''GUI restore wizard'']] or through the web interface [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#restore_assistant|''Restore Assistant'']] (in v. ≥ 5.0.0 ''Jaglion''). Although most options are the same in both restore interfaces, the web interface Restore Assistant is more intuitively designed and offers additional advanced options.  
You can restore single files using the [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#GUI|''GUI restore wizard'']] or via the web interface [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#restore_assistant|''Restore Assistant'']] (in v. ≥ 5.0.0 ''Jaglion''). Although most options are the same in both restore interfaces, the web interface Restore Assistant is more intuitively designed and offers additional advanced options.  


Note that this article only describes the procedure for restoring individual Citrix virtual machine (VM) files. For details on complete VM restore, see the Citrix VM restore procedures in the [[Special:MyLanguage/Citrix_XenServer_Restore|GUI]] and [[Special:MyLanguage/5_0_0:Restore_Assistant|web Restore Assistant]].
Note that this article only describes the procedure for restoring individual files of a Citrix VM. For details on complete VM restore, see [[Special:MyLanguage/Citrix_XenServer_Restore|Citrix XenServer GUI Restore]] or [[Special:MyLanguage/5_0_0:Restore_Assistant|restore via web interface Restore Assistant]].


===Prerequisites===  
===Prerequisites===  
Line 36: Line 36:
*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]].
*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).
*Before starting a restore, check the [[Special:MyLanguage/Cross-Platform_Recovery_File_System_Layer#restrictions|restrictions]] for mounting the virtual disk (VHD file).
==={{anchor|restore_options}}Restore options===
When restoring individual files from Citrix VM backups, you can choose from the following ''VM restore options'' to perform restore according to your needs:
<ul><li>'''''Do not overwrite an existing virtual machine:''''' (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.''. A new VM name has to be specified as the target. The MAC address of a restored VM is recreated.</li>
<li>'''''Overwrite an existing virtual machine''''': If a VM with the same name exists on the target server, it will be replaced with the restored version, but its MAC address will remain the same. 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.''</li>
<li>'''''Restore an existing virtual machine with a new name''''': Restores the VM under a new name.</li>
<li>You can also choose whether to start your virtual machine automatically after restore by selecting '''''Start virtual machine after restore'''''/'''''Do not start''''' (selected by default).</li></ul>


=={{anchor|single_file}}Restoring single files==
=={{anchor|single_file}}Restoring single files==


You can restore individual files using the [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#GUI|SEP sesam GUI]] or the [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#restore_assistant|web Restore Assistant]]. The single file restore is only supported in ''advanced'' (''Expert'') UI mode. Therefore, you must first switch from basic to advanced mode, as described in [[Special:MyLanguage/4_4_3_Beefalo:SEP_sesam_GUI#UI_mode|Setting UI mode in the GUI]] and [[Special:MyLanguage/5_0_0:Restore_Assistant#UI_mode|Setting UI mode in the Restore Assistant]].
You can restore individual files via the [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#GUI|SEP sesam GUI]] or the [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#restore_assistant|web Restore Assistant]]. 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]].


==={{anchor|GUI}}Using the GUI restore wizard===
==={{anchor|GUI}}Using the GUI restore wizard===
Line 54: Line 62:
<!--[[image:Citrix_restore_mount_Jaglion.jpg|760px|link=]]
<!--[[image:Citrix_restore_mount_Jaglion.jpg|760px|link=]]
<br clear=all>-->
<br clear=all>-->
<li>The [[Special:MyLanguage/SEP_sesam_Glossary#mount|mount]] is triggered and all VHDs of the selected VM are mounted to the device server using one or more unused Windows system drive letters, e.g. ''D:'', ''E:'', etc. This may take a few seconds. Click '''OK'''.<br />
<li>[[Special:MyLanguage/SEP_sesam_Glossary#mount|Mount]] is triggered and all VHDs of the selected VM are mounted to the device server using one or more unused drive letters of the Windows system e.g., ''D:'', ''E:'', etc. This may take a few seconds. Click '''OK'''.<br />
<!--[[image:Citrix_restore_mount_to_device_server_Jaglion.jpg|760px|link=]]
<!--[[image:Citrix_restore_mount_to_device_server_Jaglion.jpg|760px|link=]]
<br clear=all>-->
<br clear=all>-->
<li>You can now either use file explorer on your server to browse and copy the files you need directly to the target location, or click '''Next''' to select the required files in the ''Select Files'' dialog.</li>
<li>You can now either use the file explorer on your server to browse and copy the needed files directly to the target location, or click '''Next''' to select the required files in the ''Select Files'' dialog.</li>
<li>If you clicked '''Next''', in the '''Select Files''' window select the data you want to restore and click '''Next'''.</li>
<li>If you clicked '''Next''', in the '''Select Files''' window select the data you want to restore and click '''Next'''.</li>
<!--[[image:Citrix_select_files_Jaglion.jpg|760px|link=]]
<!--[[image:Citrix_select_files_Jaglion.jpg|760px|link=]]
<br clear=all>-->
<br clear=all>-->
<li>In the fourth step of the restore wizard (''Target Settings''), select a restore target where you want to restore your files.</li>
<li>On the fourth step of the restore wizard (''Target Settings''), select a restore target where you want to restore your files.</li>
<li>In the final step of the restore wizard, you can review all the settings for your restore task. You can start your single file restore immediately by clicking '''Start'''. If you want to save the restore task, click '''Save'''.</li>
Then select an appropriate '''VM restore option''' (''Overwrite existing virtual machine'', etc.) as [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#restore_options|described in the above section]].
<li>Click '''OK''' to unmount the saveset and close your restore session.</li>
<li>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'''.</li>
<li>Click '''OK''' to unmount the saveset and close your restore session.></li>
</ol>
</ol>
In the GUI, the 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]].


==={{anchor|restore_assistant}}Using the web Restore Assistant===
==={{anchor|restore_assistant}}Using the web Restore Assistant===


With ''Jaglion'', you can also restore individual items in the web interface Restore Assistant if you have the appropriate permissions. Note that while Restore Assistant provides additional advanced options, it does not support scheduling. Currently it is only supported in the SEP sesam GUI.
You can restore individual files of a Citrix 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]].
 
To familiarise yourself with the concept of user permissions, see [[Special:MyLanguage/5_0_0:About_Authentication_and_Authorization|About Authentication and Authorization]].
<ol><li>Open the ''Restore Assistant'' in the browser. There are three ways to do this:</li>
*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/''.
<li>In the ''Start'' window, select '''Citrix Hypervisor''' restore type. Then select the option '''Advanced View'''. The ''VM or single file restore'' option is selected by default. Click '''Next'''.
[[image:Restore_assistant_SFR_Citrix_start_Jaglion.jpg|680px|link=]]
<br clear=all>
<li>In the ''Virtual Machine'' window, under ''Selection of the server'', select your target server.</li>
Then, under ''Selection of the virtual machine'', select the VM that you want to restore.</li>
Click '''Next'''.<br />
[[image:Restore_assistant_Citrix_select_server_Jaglion.jpg|680px|link=]]
<br clear=all>
<li>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.</li>
Then, under ''Backup selection'', select the exact backup version you want to restore. You can use the calendar feature in the upper right corner to filter a date range for the backups displayed. Select the '''Single file restore''' option and  click '''Next'''.</li>
[[image:Restore_assistant_SFR_Citrix_select_task_Jaglion.jpg|680px|link=]]
<br clear=all>
<li>In the ''Files'' window, you have to 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''.</li>
{{Note|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.}}
[[image:Restore_assistant_SFR_Citrix_mount_Jaglion.jpg|680px|link=]]
<br clear=all>
<li>Once a virtual disk is mounted on the device server, select the files you want to restore and click '''Next'''. </li>
[[image:Restore_assistant_SFR_Citrix_files_Jaglion.jpg|680px|link=]]
<br clear=all>
<li>In the ''Target'' window, under ''Target selection'', select your target environment for restore. You can use the drop-down list to select or filter VMs by name.</li>
[[image:Restore_assistant_SFR_select_Citrix_target_Jaglion.jpg|700px|link=]]
<br clear=all>
Then select an appropriate '''VM restore option''' (''Overwrite existing virtual machine'', etc.) as [[Special:MyLanguage/5_0_0:Citrix_Hypervisor_Single_File_Restore#restore_options|described in the above section]]. Click '''Next'''.<br />
[[File:Restore_assistant_SFR_Citrix_execution_options_Jaglion.jpg|680px|link=]]
<li>In the ''Options'' window, you can specify additional advanced options, such as selecting a data mover and a data store, specifying target and recovery options, and so on. For details on the available options, see [[Special:MyLanguage/5_0_0:Restore_Assistant#VMs_advanced_restore|Restoring virtual machines in advanced UI mode]].</li>
Click '''Next'''.<br />
[[image:Restore_assistant_SFR_Citrix_recovery_options_Jaglion.jpg|680px|link=]]
<br clear=all>
<li>In the final step, review your restore task and click '''Start restore'''.</li>
</ol>
 
=={{anchor|monitor}}Monitoring restore==
 
You can view the status of your restores in the GUI (''Job State'' -> ''Restores'') or [[Special:MyLanguage/5_0_0:SEP_sesam_Web_UI|SEP sesam Web UI]] (''Monitoring'' -> ''Restores''). Restore overview provides detailed information about 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.


<div class="noprint">
<div class="noprint">

Revision as of 12:50, 24 September 2021

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.
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.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 5.0.0 Jaglion. For previous documentation version(s), check Documentation archive.


Overview

SEP sesam supports single file restore – item-level restore of files, folders and volumes from the FULL, DIFF or INCR backup of the Citrix Hypervisor virtual machine if the saveset is stored on a SEP sesam data store (Path, Si3 deduplication store, etc.). By mounting the VHD, the operating system creates a virtual drive from the file, assigns it a drive letter, and makes the drive available locally on your server.

You can restore single files using the GUI restore wizard or via the web interface Restore Assistant (in v. ≥ 5.0.0 Jaglion). Although most options are the same in both restore interfaces, the web interface Restore Assistant is more intuitively designed and offers additional advanced options.

Note that this article only describes the procedure for restoring individual files of a Citrix VM. For details on complete VM restore, see Citrix XenServer GUI Restore or restore via web interface Restore Assistant.

Prerequisites

Before attempting to restore a single file, all preparation steps have to be performed properly, including configuration and VM backup. For details, see the Citrix documentation.

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

Restore options

When restoring individual files from Citrix VM backups, you can choose from the following VM restore options to perform restore according to your needs:

  • Do not overwrite an existing virtual machine: (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.. A new VM name has to be specified as the target. The MAC address of a restored VM is recreated.
  • Overwrite an existing virtual machine: If a VM with the same name exists on the target server, it will be replaced with the restored version, but its MAC address will remain the same. 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.
  • Restore an existing virtual machine with a new name: Restores the VM under a new name.
  • You can also choose whether to start your virtual machine automatically after restore by selecting Start virtual machine after restore/Do not start (selected by default).

Restoring single files

You can restore individual files via the SEP sesam GUI or the web Restore Assistant. 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 Setting the UI mode in the GUI and Setting UI mode in the Restore Assistant.

Using the GUI restore wizard

After setting the UI mode to Expert, 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. In 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 Mount virtual disk(s) check box. Note that some restrictions apply.
  5. You can also select RDS to mount from the drop-down list and specify advanced mount options.
  6. Mount is triggered and all VHDs of the selected VM are mounted to the device server using one or more unused drive letters of the Windows system e.g., D:, E:, etc. This may take a few seconds. Click OK.
  7. You can now either use the file explorer on your server to browse and copy the needed files directly to the target location, or click Next to select the required files in the Select Files dialog.
  8. If you clicked Next, in the Select Files window select the data you want to restore and click Next.
  9. On the fourth step of the restore wizard (Target Settings), select a restore target where you want to restore your files.
  10. Then select an appropriate VM restore option (Overwrite existing virtual machine, etc.) as described in the above section.
  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.>

Using the web Restore Assistant

You can restore individual files of a Citrix VM in the web interface in the advanced UI mode if you have the appropriate permissions. For more details on the UI mode, see Setting UI mode in the Restore Assistant.

To familiarise yourself with the concept of user permissions, see About Authentication and Authorization.

  1. Open the Restore Assistant in the browser. There are three ways to do this:
    • 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/.
  2. In the Start window, select Citrix Hypervisor restore type. Then select the option Advanced View. The VM or single file restore option is selected by default. Click Next. Restore assistant SFR Citrix start Jaglion.jpg
  3. In the Virtual Machine window, under Selection of the server, select your target server.
  4. Then, under Selection of the virtual machine, select the VM that you want to restore. Click Next.
    Restore assistant Citrix select server Jaglion.jpg
  5. In the Task window, under Task selection, select your source task. A backup task defines the source data that was backed up by the client.
  6. Then, under Backup selection, select the exact backup version you want to restore. You can use the calendar feature in the upper right corner to filter a date range for the backups displayed. Select the Single file restore option and click Next. Restore assistant SFR Citrix select task Jaglion.jpg
  7. In the Files window, you have to 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.
  8. Information sign.png Note
    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 assistant SFR Citrix mount Jaglion.jpg

  9. Once a virtual disk is mounted on the device server, select the files you want to restore and click Next.
  10. Restore assistant SFR Citrix files Jaglion.jpg
  11. In the Target window, under Target selection, select your target environment for restore. You can use the drop-down list to select or filter VMs by name.
  12. Restore assistant SFR select Citrix target Jaglion.jpg
    Then select an appropriate VM restore option (Overwrite existing virtual machine, etc.) as described in the above section. Click Next.
    File:Restore assistant SFR Citrix execution options Jaglion.jpg
  13. In the Options window, you can specify additional advanced options, such as selecting a data mover and a data store, specifying target and recovery options, and so on. For details on the available options, see Restoring virtual machines in advanced UI mode.
  14. Click Next.
    Restore assistant SFR Citrix recovery options Jaglion.jpg
  15. In the final step, review your restore task and click Start restore.

Monitoring restore

You can view the status of your restores in the GUI (Job State -> Restores) or SEP sesam Web UI (Monitoring -> Restores). Restore overview provides detailed information about 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.