SnapProtect - Advanced Restore - NAS iDataAgent

Table of Contents

Performing a Direct Access Restore

Direct Access restores optimize the restore operations by allowing the file server to directly access the backed up data anywhere in the media without having to traverse the media sequentially. By default, all restore operations use the direct access restore process.

It is recommended to perform a direct access restore if the data to be restored is less than 30-40% of the backup. For example, if you are restoring 25-30 files from a backup that contains 100 files, you can use this option. However, it is recommended to disable this option when you restore a major portion of the backup.

Direct Access Restore operation is not supported for snap restore and NRE restore.

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. Click View Content.
  1. Select the data that you want to restore and click Recover All Selected.
  2. Click Advanced.
  3. In Advanced Restore Options dialog box, click the NAS Options tab.
  4. Click one of the following in Use Direct Access Restore:
    • ON: With this option enabled, restore will search only the specified files within a backup stream and then restore each file separately instead of searching the whole backup stream. It is recommended to use this option when you restore a smaller portion (30-40%) of the backup.
    • OFF: With this option enabled, NDMP server will search the whole backup stream and restore the specified files. It is recommended to use this option when you restore a major portion of the backup.
  5. Click OK.

Performing an Out-of-Place Restore

You can restore the data to the following locations:

  • Different volume/folder on the same file server
  • Different file server
  • Windows or Unix client

Restoring to Different Volume or Folder on the Same File Server

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. Click View Content.
  1. Select the data that you want to restore and click Recover All Selected.
  2. Clear the Restore to same folder checkbox.
  3. Click Browse to locate the destination path and click OK.
  4. Use the options in the Preserve Source Paths area to exclude folders (and its contents) from the source path.
    For Example: If the selected data is vol/Data/Memos/Sales, and you want to restore data only from the Sales folder, set the Preserve <n> level from end of source path option to 1.

    If the selected data is vol/Data/Memos/Sales, and you want to restore the data from Memos and Sales folders, set the Remove <n> level from beginning of source path option to 2.

  1. Click OK.

Restoring to a Different File Server

You can restore data to a different file server of the same type as the source file server.

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. Click View Content.
  1. Select the data that you want to restore and click Recover All Selected.
  2. Clear Restore to same folder.
  3. Select the file server from the Destination client drop-down list.
  4. Click OK.

Restoring to a Windows or UNIX Client

You can restore NAS data to a Windows or Unix client computer from the following file servers:

  • NetApp

In order to restore data to a Windows or Unix client, ensure that the File System iDataAgent is installed on the computer where you want the data to be restored.

Limitations

Restoring to a Windows or UNIX client has the following general limitations:

  • Restores from EMC Celerra/VNX/VNXe backups of deduplicated file systems may not be able to restore all data.
  • Offline files (stubs) cannot be restored.
  • Restores from NetApp SnapMirror to Tape (SMtape) backups are not supported.
  • Restores from EMC Celerra/VNX/VNXe volume based backups (VBB) are not supported.
  • Files and directories that contain Access Control Lists (ACLs) or permissions are restored, but the ACLs are not restored.
  • For NRE restores, empty directories are not restored.

In addition, the following system-specific limitations apply.

For Windows clients:

  • File and directory names with case differences will be treated like files and directories of the same name. This may cause one file/directory to overwrite another during the restore.
  • Files and directories with names containing Unix-specific characters may have those characters replaced with a "_" character or have some other form of modification in the restored file/directory name.
  • Windows allows 1024 characters for filenames, including the path. A filename, including the path, with more than 1024 characters will not be restored to the Windows computer.
  • Links within files may not be restored.

For UNIX clients:

  • Links within files may not be restored.

Procedure

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. Click View Content.
  1. Select the data that you want to restore and click Recover All Selected.

    If the path of the files to be restored has a length greater than 1024 characters, you must select a directory at a higher directory level in the file system hierarchy.

  2. Clear Restore to same folder.
  3. Select the Windows/Unix client computer from the Destination client drop-down list.
  4. Specify the destination path by clicking Browse.
  5. Click OK.

    Verify that the restored data is available in the specified restore destination.

Scheduling a Restore

Follow the steps given below to schedule a restore job:

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. Click View Content.
  4. Expand the backup set node in the left pane.
  5. Select the volume containing the data you want to restore.
  6. Click Recover All Selected.
  7. Clear the Restore to same folder checkbox.
  8. Specify the destination path by clicking Browse.
  9. Click OK.

  10. Click the Job Initiation tab and click Schedule.
  11. Click Configure.

  12. Select the appropriate scheduling options. For example:
    • Click Weekly.
    • Select the date and time to run the restore job.
    • Click OK to close the Schedule Details dialog box.
    • Click OK to close the Restore Options dialog box.

    The restore job will execute as per the schedule.

See Scheduling for a comprehensive information on scheduling jobs.

Restoring Data from a Backup Copy

You can perform a restore from the backup copy by setting the appropriate copy precedence number.
  1. Right-click the entity that contains the snapshots you want to restore, and point to All Tasks | Browse and Restore.
  2. Click View Content.
  3. From the Browse window, select the data you want to restore in the right pane and click Recover All Selected.
  4. From the Restore Options for All Selected Items window, click Advanced.
  5. Click the Copy Precedence tab and select the Restore from Copy Precedence checkbox.
  6. In the Copy Precedence box, type the copy precedence number for the backup copy.
  1.  Click OK.
  2. Click OK to close the Restore Options window and start the restore job.

Managing Restore Jobs

Once you initiate the restore operation, a restore job is generated in the Job Controller. Jobs can be managed in a number of ways. See Job Management for a comprehensive information on managing jobs.

Controlling Jobs

The following controls are available for running jobs in the Job Controller window:

Kill

Terminates a job.

Killing a Job

  1. From the Job Controller of the CommCell Console, right-click the job and select Kill.
  2. Click Yes when the confirmation prompt appears if you are sure you want to kill the job. The job status may change to Kill Pending for a few moments while the operation completes. Once completed, the job status will change to Killed and it will be removed from the Job Controller window after five minutes.

Additional NAS Features

The following sections describe the additional features available for different file servers.

Restoring from an Image Backup (SnapMirror to Tape)

Feature Description Applies to
SnapMirror to Tape SnapMirror to Tape restores from an image backup. In order to perform this type of restore, you must have configured and backed up an image backup set as described in Configuring Image Backups. You can only perform SnapMirror to Tape restores on full image backups. To restore data from an incremental or differential image backup, you must select the latest full image backup job that was performed prior to the incremental or differential backup job that you want to restore. Full restores overwrite all existing content, including all snapshots, on the destination volume.

Follow the steps below to restore from an image backup:

  1. Ensure that the volume you are restoring to is in a restricted mode (unavailable for user level data access).
  2. From the CommCell Console, navigate to <Client> | NAS.
  3. Right-click the backup set and click All Tasks | Browse and Restore.
  4. Click View Content.
  5. Select the volume to be restored, and then click Recover All Selected.

    You can restore data that was backed up from volumes on either 32-bit or 64-bit aggregates with ONTAP 8.0 to volumes on 64-bit aggregates with ONTAP 8.1 and later.

    You can restore backup images to volumes with an ONTAP version up to two major consecutive releases from the backup image.

    For more detailed information, see NetApp documentation.

  6. Clear Restore to same folder, and then enter the destination path.

    The destination volume for a restore must be the root of a volume, for example /vol/vol1, in restricted mode. However, the browse operation for a restore destination does not display volumes in a restricted state. You must enter the path manually in the destination path box.

    For instructions on setting a volume to restricted mode, see NetApp documentation.

  7. Click OK to start the restore.
NetApp

Excluding Access Control Lists

Feature Description Applies to
Restore ACLs The ACLs are restored by default during a restore operation. To exclude ACLs from the restore, follow the steps below.
  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. Click View Content.
  1. Clear the Restore ACLs checkbox.
  2. Click OK.
NetApp, Pillar. All other vendors will restore ACLs when restoring back to the file server - there is no option to not restore ACLs.

Additional Restore Options

The following table describes the available additional options to further refine your restore operations:

Option Description Related Topic
Startup Options

The Startup Options are used by the Job Manager to set priority for resource allocation. This is useful to give higher priority to certain jobs. You can set the priority as follows:

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. In the Browse Options dialog box, click View Content.
  4. Select the data that you want to restore and click Recover All Selected.
  5. In the Restore Options for All Selected Items dialog box, click Advanced.
  1. In the Advanced Restore Options dialog box, click Startup.
  2. On the Startup tab, select Change Priority.
  3. Enter a priority number - 0 is the highest priority and 999 is the lowest priority.
  4. Select the Start up in suspended State check box to start the job in a suspended state.
  5. Click OK.
Refer to Job Priority and Priority Precedence.
Copy Precedence By default, the system retrieves data from the storage policy copy with the lowest copy precedence. If the data was pruned from the primary copy, the system automatically retrieves data from the other copies of the storage policy in the lowest copy precedence to highest copy precedence order. Once the data is found, it is  retrieved, and no further copies are checked.

You can retrieve data from a specific storage policy copy (Synchronous Copy or Selective Copy). If data does not exist in the specified copy, the data retrieve operation fails even if the data exists in another copy of the same storage policy. Follow the steps given below to retrieve the data from a specific storage policy copy:

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. In the Browse Options dialog box, click View Content.
  4. Select the data that you want to restore and click Recover All Selected.
  5. In the Restore Options for All Selected Items dialog box, click Advanced.
  1. In the Advanced Restore Options dialog box, click Copy Precedence.
  2. On the Copy Precedence tab, select the Restore from copy precedence check box.
  3. Enter the copy precedence number.
  4. Click OK.
Refer to Recovering Data From Copies.
Data Path Options

The data recovery operations use a default Library, MediaAgent, Drive Pool, and Drive as the Data Path. You can use this option to change the data path if the default data path is not available. Follow the steps given below to change the default data path:

When restoring NAS data, the same drive pool type that was used during backup should be selected to restore the data.

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. In the Browse Options dialog box, click View Content.
  4. Select the data that you want to restore and click Recover All Selected.
  5. In the Restore Options for All Selected Items dialog box, click Advanced.
  1. In the Advanced Restore Options dialog box, click Data Path.
  2. On the Data Path tab, select the MediaAgent and Library.
  3. Select the Drive Pool and Drive for tape library.
  4. Select the name of the Proxy server if you wish to restore using a proxy server.

    You can select the Proxy server only when you are restoring from a snapshot. This option is not available for a regular restore.

  5. Click OK.
Refer to Change Data Path.
Encryption

If the client's data is encrypted with a pass phrase, you must enter the pass-phrase to start the data recovery operation. Follow the steps given below to enter the pass-phrase:

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. In the Browse Options dialog box, click View Content.
  4. Select the data that you want to restore and click Recover All Selected.
  5. In the Restore Options for All Selected Items dialog box, click Advanced.
  1. In the Advanced Restore Options dialog box, click Encryption.
  2. Enter the Pass Phrase.
  3. Click OK.
Refer to Data Encryption.
Alerts

This option enables users or user groups to get automatic notification on the status of the data recovery job. Follow the steps given below to set up the criteria to raise notifications/alerts:

  1. From the CommCell Console, navigate to Client Computers | <Client> | NAS.
  2. Right-click the backup set and click All Tasks | Browse and Restore.
  3. In the Browse Options dialog box, click View Content.
  4. Select the data that you want to restore and click Recover All Selected.
  5. In the Restore Options for All Selected Items dialog box, click Advanced.
  1. In the Advanced Restore Options dialog box, click Alerts.
  2. Click Add Alert.
  3. From the Add Alert Wizard dialog box, select the required threshold and notification criteria and click Next.
  4. Select the required notification types and click Next.
  5. Select the recipients and click Next.
  6. Click Finish.
  7. Click OK.
Refer to Alerts and Notifications.
Command Line Restores Command Line Interface enables you to perform backups or restore from the command line. The commands can be executed from the command line or can be integrated into scripts.

You can also generate command line scripts for specific operations from the CommCell Browser using the Save As Script option.

Refer to Command Line Interface.
CommCell Readiness Report The CommCell Readiness Report provides you with vital information such as connectivity and readiness of the Client, MediaAgent, and CommServe. It is useful to run this report before performing a backup or a recovery operation. Follow the steps given below to generate the report:
  1. On the CommCell Console menu bar, select the Reports tab.
  2. Click Readiness.

    The Report Selection dialog box appears.

  3. If necessary, select Reports | CommServe | CommCell Readiness in the left pane.
  4. Select the Computers tab, and then click Modify below the Computers list.
  5. In the dialog box that appears, clear Include All Client Computers and All Client Groups.
  6. Select the appropriate client from the Exclude list, and then click Include >.
  7. Click OK.
  8. Select the MediaAgent tab, and then clear Include All MediaAgents.
  9. Select the appropriate MediaAgent from the Exclude list, and then click Include >.
  10. Click Run.

    The report appears in your default Web browser.

Refer to CommCell Readiness Report.
Restore Job Summary Report

The Restore Job Summary Report provides you with information about all the data recovery jobs that are run in last 24 hours for a specific client and agent. You can get information such as failure reason, failed objects, job options, and so on. It is useful to run this report after performing the restore. Follow the steps given below to generate the report:

  1. On the CommCell Console menu bar, select the Reports tab.
  2. Click Summary.

    The Report Selection dialog box appears.

  3. If necessary, select Reports | Jobs | Job Summary in the left pane.
  4. On the General tab, select Data Recovery Jobs.
  5. Select the Computers tab.
  6. Select the appropriate client and the appropriate agent.
  7. Click Run.

    The report appears in your default Web browser.

Refer to Restore Job Summary Report.