Source:NDMP Restore: Difference between revisions

From SEPsesam
(Updated with single file restore by mounting (checked procedure with ASE).)
(Minor correction.)
Line 87: Line 87:


<translate><!--T:27-->
<translate><!--T:27-->
You can perform a restore to the same or a different location. For ''smtape restore'', additional step (step 5) is required to specify the ''smtape restore'' type.</translate>
NDMP backups can be restored to the same or a different location. For ''smtape restore'', additional step (step 5) is required to specify the ''smtape restore'' type.</translate>
<ol><li><translate><!--T:28-->
<ol><li><translate><!--T:28-->
From the SEP sesam GUI menu bar, select '''Activities''' -> '''Restore''' and select the saveset you want to restore (task type NDMP).</translate>
From the SEP sesam GUI menu bar, select '''Activities''' -> '''Restore''' and select the saveset you want to restore (task type NDMP).</translate>

Revision as of 16:43, 22 January 2021

Other languages:

Template:Copyright SEP AG en

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


Overview

To successfully restore an NDMP backup, make sure that all prerequisites are met and preparation steps are performed. See also NDMP Backup.

How you perform the NDMP restore depends on how you created the backup. For example, if you have created a dump backup (default), you will perform a normal restore. If you have created a smtape backup (supported only by NetApp), you must define additional arguments for smtape restore in the Target Settings step of the restore wizard.

SEP sesam version 4.4.3 Grolar supports selective restore (with or without mounting) and complete restore from dump backups. For smtape backups only the complete restore is supported.

Note that SEP sesam provides the web Restore Assistant interface which is designed to be more intuitive and offers additional advanced options compared to GUI restore wizard while, on the other hand, it does not support the restore of special tasks types, such as NDMP, MS SQL, PostgreSQL, Oracle, etc. For these task types you can only use the GUI restore wizard to restore your data. However, you can restore the data from NDMP file system Path backups via the web Restore Assistant. For details, see Restore Assistant.

Restoring NAS volume data is simple and straightforward. The basic restore steps in the GUI restore wizard are described below.

Prerequisites

  • Make sure that you have required permissions and access rights for NDMP restore.
  • Make sure that there is sufficient free space on the target storage system to which you are restoring your data.

Additional prerequisites for smtape restore

  • Ensure that there is about 100 MB more space on the destination storage system than the amount of data to be restored.
  • The volume to which you are going to restore data must be of type DP (data protection) and must be put in a restricted state prior to executing the restore. See NetApp documentation for more information.
  • smtape restore completely overwrites the destination volume; make sure that there is no critical data stored on the target volume.

Restoring NDMP

For details on how to configure a restore task and a description of different restore options, see Standard Restore Procedure. Only NDMP-specific steps and options are described in this section.

Information sign.png Note
  • Direct access recovery (DAR) is used during backup to enable selective restore. As of version 4.4.3 Grolar, DAR is enabled by default. If you have disabled it while creating a backup task, you cannot perform a selective restore. For details, see dump backup.
  • When performing a selective NDMP restore and there are also empty directories on the restore list together with normal directories and files, no empty directories are restored (created) on the target. This is a known issue, however, it is too minor to warrant fixing. Will not be fixed in this release.

NDMP backups can be restored to the same or a different location. For smtape restore, additional step (step 5) is required to specify the smtape restore type.

  1. From the SEP sesam GUI menu bar, select Activities -> Restore and select the saveset you want to restore (task type NDMP).
  2. In the Select Task step of the wizard, select the desired version from the list of savesets matching your query. Depending on the type of restore you want to perform, proceed as follows:
    • If you want to perform a complete restore of dump or smtape backup, select the check box Complete restore of selected task and click Next. You will be redirected to the step 4.
    • If you want to perform a selective restore from dump backup without mounting, click Next.
    • If you want to restore single files from dump backup by mounting, select the option Mount saveset under Single file restore to mount the target saveset to the disk and make it accessible as if it was a separate volume on the disk. Click Next and once the saveset is mounted, click OK.
    • Information sign.png Note
      • 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. For advantages on mounting a saveset, see Cross-platform recovery file system layer (XPRFS).
      • As of v. 4.4.3 Beefalo, the Mount saveset option is only available in the Expert UI mode. If you run the GUI in Basic or Advanced UI mode, first change the mode to Expert, as described in Selecting UI mode.

      NDMP select task Beefalo V2.jpg

  3. In the Select Files dialog, select the files you want to restore and click Next. This step is not available for complete restore.
  4. In the Target Settings (previously Save and Start) step of the wizard, you can choose to restore the NDMP backup data to to the same location by using the Restore to original target path (default) or to a different location by selecting the New restore target option.
    • If you are performing a normal restore (not smtape) and you choose a new restore target, you can restore your data to a volume or subdirectory by entering the target path as follows: /<volume_name>/<target_dir>.
    • If you are performing a smtape restore, the restore destination must be the root of a volume, e.g., /vol/vol1.
    NDMP target Beefalo V2.jpg
  5. This step is required only for smtape restore: Under the Target Settings, click the button Expert options -> tab Options, and enter the following in the Restore options field:
  6. -a ndmp_tape_format=smtape
    Information sign.png Note
    As of v. 4.4.3. Beefalo, the Expert Options button for specifying advanced restore options is only available in the Expert UI mode. It is not available for users that run the GUI in Basic or Advanced mode. In the latter case, if you want to access the Expert Options you first have to change the Basic/Advanced UI mode to Expert, as described in Selecting UI mode.

    NDMP sm tape restore V2.jpg
    Click OK and then Next.

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

Note that after performing a smtape restore, the restored volume is in the read-only state. To make the destination volume writable, use the snapmirror break command. See NetApp documentation for more information.

Information sign.png Note
A restore task can be scheduled like any other task. If you want to add the NDMP restore task to the schedule, see Scheduling Restore.

You can view the status of your restore jobs by selecting Job State -> Restores from the Main Selection. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.

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

Known issues

If you have problems with NDMP restore, check the Troubleshooting Guide.