28
NCG-103-7.6.x-EN-01 12/05/11 Quest ® NetVault ® Backup Plug-in for NDMP Application Notes for NetApp ONTAP (7.x-7G, 8.0 7-Mode and 8.x C-Mode) Version: Product Number: NCG-103-7.6.x-EN-01

NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Embed Size (px)

Citation preview

Page 1: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

NCG-103-7.6.x-EN-01 12/05/11

Quest® NetVault® Backup Plug-infor NDMP

Application Notes forNetApp ONTAP

(7.x-7G, 8.0 7-Mode and8.x C-Mode)

Version: Product Number: NCG-103-7.6.x-EN-01

Page 2: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

© 2011 Quest Software, Inc.ALL RIGHTS RESERVED.

This guide contains proprietary information protected by copyright. The software described in this guide is furnished under a software license or nondisclosure agreement. This software may be used or copied only in accordance with the terms of the applicable agreement. No part of this guide may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording for any purpose other than the purchaser's personal use without the written permission of Quest Software, Inc.

The information in this document is provided in connection with Quest products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Quest products. EXCEPT AS SET FORTH IN QUEST'S TERMS AND CONDITIONS AS SPECIFIED IN THE LICENSE AGREEMENT FOR THIS PRODUCT, QUEST ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL QUEST BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF QUEST HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Quest makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Quest does not make any commitment to update the information contained in this document.

If you have any questions regarding your potential use of this material, contact:

Quest Software World HeadquartersLEGAL Dept5 Polaris WayAliso Viejo, CA 92656email: [email protected]

Refer to our Web site (www.quest.com) for regional and international office information.

Patents

This product is protected by U.S. Patents # 7,814,260; 7,913,043 and 7,979,650. Protected by Japanese, E.U., French and UK patents 1615131 and 05250687.0, and German patent DE602004002858. Additional patents pending.

Trademarks

Quest, Quest Software, the Quest Software logo, NetVault are trademarks and registered trademarks of Quest Software, Inc in the United States of America and other countries. For a complete list of Quest Software's trademarks, please see http://www.quest.com/legal/trademarks.aspx. Other trademarks and registered trademarks are property of their respective owners.

Page 3: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 1: Introduction 5

• About this Document ....................................................................................................... 5• Target Audience ................................................................................................................ 5• Recommended Additional Reading ................................................................................ 5• About Quest Software ...................................................................................................... 6

- Contacting Quest Software .............................................................................................................. 6- Quest Support .................................................................................................................................. 6

Chapter 2: Installation and Configuration 7

• Prerequisites ..................................................................................................................... 7

Chapter 3: Backup 9

• Understanding Backup Dump Levels ............................................................................. 9• Backing up Data in 7.x-7G and 7-Mode ........................................................................ 10

- Selecting Data for a Backup .......................................................................................................... 10- Setting Restore Options ................................................................................................................. 12- Finalizing and Submitting a Job ..................................................................................................... 17

• Backing Up Data in C-Mode ........................................................................................... 17• Backing Up Individual Data Paths in C-Mode .............................................................. 19

Chapter 4: Restore 21

• Restoring Data with the Plug-in for NDMP ................................................................... 21- Selecting Data for a Restore .......................................................................................................... 21- Setting Restore Options ................................................................................................................. 23- Finalizing and Submitting a Job ..................................................................................................... 24

• Restoring Incremental Backups .................................................................................... 25• Renaming or Relocating Data During Restore ............................................................. 26• Restoring Data to an Alternate Filer ............................................................................. 27

- Prerequisites .................................................................................................................................. 27- Restore Procedure ......................................................................................................................... 27

Table of Contents

Page 4: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Table of Contents4

Page 5: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

5

Chapter 1:

INTRODUCTION

About this DocumentTarget AudienceRecommended Additional ReadingAbout Quest Software

Contacting Quest SoftwareQuest Support

1.1.0 About this DocumentThis document provides information on using the Quest NetVault Backup Plug-in for NDMP (Plug-in for NDMP) with a Network Appliance (NetApp) Filer. It is intended as a supplement to the Quest NetVault Backup Plug-in for NDMP User’s Guide, which describes the common procedures for installing and configuring the plug-in.

1.2.0 Target AudienceThis document is intended for system administrators and others responsible for installing, configuring, and using the Plug-in for NDMP. An understanding of filer administration and the host platform is assumed.

1.3.0 Recommended Additional ReadingQuest NetVault Backup Plug-in for NDMP User’s Guide – This guide describes the procedures for installing and configuring the Plug-in for NDMP. The information covered in this guide is common to all supported NAS appliances utilizing NDMP.Quest NetVault Backup Administrator’s Guide – This guide describes how to use Quest NetVault Backup (NVBU) and provides comprehensive information on all NVBU features and functionality.You can download the complete set of NetVault Backup documentation from the Quest web site at the following address:

https://support.quest.com/Search/SearchDownloads.aspxAdministrator’s Guide for the NAS Device

Page 6: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 1Introduction

6

1.4.0 About Quest SoftwareQuest Software simplifies and reduces the cost of managing IT for more than 100,000 customers worldwide. Quest’s innovative solutions make solving the toughest IT management problems easier, enabling customers to save time and money across physical, virtual, and cloud environments. For more information about Quest, go to www.quest.com.

1.4.1 Contacting Quest Software

For regional and international office information, refer to the web site.

1.4.2 Quest SupportQuest Support is available to customers who have a trial version of a Quest product or who have purchased a Quest product and have a valid maintenance contract. Quest Support provides unlimited 24x7 access to SupportLink, our self-service portal. Visit SupportLink at http://support.quest.com.

From SupportLink, you can do the following:

Retrieve thousands of solutions from our online KnowledgebaseDownload the latest releases and service packsCreate, update and review Support cases

View the Global Support Guide for a detailed explanation of support programs, online services, contact information, policies and procedures.

The guide is available at http://support.quest.com.

Email: [email protected]

Mail: Quest Software, Inc.World Headquarters5 Polaris WayAliso Viejo, CA 92656USA

Web site: www.quest.com

Page 7: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

7

Chapter 2:

INSTALLATION ANDCONFIGURATION

Prerequisites

2.1.0 PrerequisitesIn addition to the installation prerequisites covered in the Quest NetVault Backup Plug-in for NDMP User’s Guide, review the following notes and complete the required tasks:

Hardware Requirements – For information regarding NetApp Filers, refer to the NetApp web site at:

www.netapp.comMinimum Software Requirements – For information on software requirements and supported filer operating systems, refer to the NetVault Backup NAS and NDMP Compatibility Guide available at:

https://support.quest.com/Search/SearchDownloads.aspxDirect Access Recovery (DAR) – To use DAR, the filer must be running Data ONTAP version 6.x or later. Start NDMP Daemon – Start the NDMP daemon on the filer. To do this:

At the prompt, type:ndmpd on

Alternatively, to start it automatically at boot time, open the /etc/rc file on the filer, and add:ndmpd on

User Account for Plug-in Authentication – To use root for plug-in authentication, set a valid password for this account. The password cannot be left blank. To use a non-root user, ensure that this account has the necessary privileges to perform NDMP backups and restores.

Page 8: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 2Installation and Configuration

8

Page 9: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

9

Chapter 3:

BACKUP

Understanding Backup Dump LevelsBacking up Data in 7.x-7G and 7-Mode

Selecting Data for a BackupSetting Restore Options

Setting NDMP Backup OptionsSetting Volume Backup OptionsSetting Sub-Job OptionsSetting Backup Restart Extension (BRE) Options

Finalizing and Submitting a JobBacking Up Data in C-ModeBacking Up Individual Data Paths in C-Mode

3.1.0 Understanding Backup Dump LevelsThe Plug-in for NDMP supports both Full and Incremental Backups. The backup type is determined by the Dump Level, which can be set to Level 0 for a Full backup, or Levels 1 through 9 for Incremental Backups:

Level 0 or Full Backup – A Full Backup backs up all the data in the selected path.Level 1 through 9 or Incremental Backup – Incremental Backups base themselves on the most recent lower-level Incremental Backup, and include new or changed data since that backup. For example:

Level 1 Incremental Backup will include new or changed data since the last Level 0 or Full Backup.Level 2 Incremental Backup will include new or changed data since the last Level 1 Incremental Backup, and so on up to dump level 9.

Note the following:If a directory is included in a dump level 0 backup, it will be included in all future dumps even if no changes have occurred. In this instance, the directory will be empty and contain no contents. However, this does not negatively affect the recovery of data.

Page 10: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 3Backup

10

Only one dump level will be maintained for each selected set of data. For example, if a Full Backup is performed after performing Level 1, Level 2 and Level 3 Incremental Backups, this will reset the dump level to 0, and the subsequent Incremental Backup will be based on this Full Backup.If an Incremental Backup in a series fails, the subsequent backup will be based on the most recent backup of a lower level. For example, if dump level 1 is completed successfully while dump level 2 fails, then dump level 3 backup will be based on dump level 1. The failure of an Incremental Backup will be noted in the NVBU binary logs.

3.2.0 Backing up Data in 7.x-7G and 7-ModeIn Data ONTAP 7.x-7G and 7-Mode, the Plug-in for NDMP can be used to backup files, directories, qtrees and volumes as well as the snapshots stored on volumes. The procedure for performing backups includes the following steps:

Selecting Data for a BackupSetting Restore OptionsFinalizing and Submitting a Job

3.2.1 Selecting Data for a BackupTo select one or more volumes in the selections tree

1. Start the NVBU Console on the NVBU Server, and open the NVBU Backup window on the NVBU Server. To open this window:

Click Backup on the toolbar or Large Buttons panel.– or – On the Operations menu, click Backup.

2. On the Selections tab, open the NVBU Server. To open any node on the Selections tab:

Double-click the node– or – Right-click the node, and select Open

3. In the list of plug-ins, open NDMP Client.4. Next, open the target filer to display the following nodes:

VolumesSnapshots

Page 11: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

11

Figure 3-1:Selections tabin 7.x-7G and

7-Mode

5. To select the required data, do the following:Volumes

Include All Volumes – Select the Volumes node.Include Individual Volumes – Open the Volumes node, and select volumes that are to be backed up.

Important: Although LUNs appear as valid backup points, if you select a LUN for a backup, the backup will succeed but when you try to restore the LUN, Data ONTAP will not be able to identify it because the metadata required to identify the LUN is not backed up when you backup a LUN directly. The work around is to backup a Snapshot that includes the LUN. Snapshots contain the metadata required to identify a LUN. When the snapshot is restored, Data ONTAP will be able to identify the restored LUN

Include Individual Files and Directories – Open the Volumes node, and then open the target volume. Select the files and directories that are to be backed up.

Page 12: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 3Backup

12

Important: You cannot omit the child-level items after selecting the parent node. The backup will fail if you do so. For selective backups, open the parent node, and select each item that you want to restore.

SnapshotsOpen the Snapshots node to list all volumes.Open the required volume to list all directories that have any snapshots available for a backup.Open the required directory, and select the snapshot that you want to back up. You can select only a single snapshot.

3.2.2 Setting Restore OptionsThis step includes the following tasks:

Setting NDMP Backup OptionsSetting Volume Backup OptionsSetting Sub-Job OptionsSetting Backup Restart Extension (BRE) Options

Note: This step is not applicable if a file or directory is the root selection item of a backup. The Backup Options are only available if you have selected a volume or sub-volume as the root item for a backup.

3.2.2.a Setting NDMP Backup OptionsClick the Backup Options tab. Under NDMP Backup Options, configure the following parameters:

Page 13: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

13

Figure 3-2:Backup

Options in 7.x-7G and 7-

Mode

Dump Level – Enter or select the type of backup to be performed. For a Full Backup, enter or select 0, while for an Incremental Backup, enter or select any level from 1 to 9 based on the previous backup sequence.Update /etc/dumpdates – The /etc/dumpdates file keeps a record of the backup, including the name of the backup, the level of the backup, and the time of the snapshot used for the backup. Select this check box if your backup strategy includes Incremental Backups. The information in this file is used to determine what data must be included in an Incremental Backup.Backup ACLs – Select this option to backup the ACLs associated with the selected files.

Page 14: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 3Backup

14

Do Direct Backup if Possible – Select this check box to enable Direct Access Recovery (DAR). DAR enables precise tape positioning which allows quick recovery of individual or a small set of files. Without DAR, the backup saveset will have to be read sequentially to restore files. DAR requires Data ONTAP 6.x or later.Save File Information – This option allows you to browse individual files and directories while selecting data during restore. Granular restores cannot be performed if you clear this check box. It is recommended that you leave this check box selected.Request Unicode File Information – Select this check box to convert file and directory names in order to display them correctly in the NVBU Restore window.To use this option, make sure that the following requirements are met:

UTF-8 encoding is supported and enabled on the filer.Appropriate language-type is set on each volume selected for backup.The Use UTF-8 Conversions parameter is enabled for the filer (either while adding the NDMP Server or using the Edit NDMP Server option).The Codepage for UTF-8 Conversions is set in the Configure window.

Exclude – Use this parameter to list all files and directories that are to be excluded from a backup. Enter the complete file path, starting with a forward slash (“/”). If you do not provide the complete path, the plug-in excludes any item that matches the entry. To specify multiple items, separate them using a comma.You can use up to two wild cards per file. The wild card characters can only be used at the first or the last place in the file name. For example, if you enter “/dir1/tmp*, *.o” in Exclude, it excludes the following items:

Files and directories starting with the letters “tmp” in the directory /dir1. All files and directories with the extension “.o”.

The names are case-sensitive for NFS export, but not for CIFS share.

3.2.2.b Setting Volume Backup OptionsUnder Volume Backup Options, configure the following parameters:

Backup Subvolumes Individually – Select this check box if you are backing up more than one qtree from the same volume. It allows you to run separate jobs for each qtree. For example, if two qtrees are selected in addition to other non-qtree files and directories, the Plug-in for NDMP will run three sub-jobs, one for each of the qtrees and one for the non-qtree data.

Page 15: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

15

Note the following:The Plug-in for NDMP will automatically create individual jobs if the selected qtrees reside on different volumes, whether you select this option or not. Individual jobs will be created for each volume included in the backup.Each child job will create an individual saveset. In the example above, three savesets will be created. This facilitates quick restore.When used with other NVBU functionality, this option can cause undesired results. For example, when used with the Ensure this Backup is the First on the Media option on the Target tab, each sub-job will be set to exist first on the media and require a separate media.

Backup Subvolume Data Only – Select this check box in conjunction with the Backup Subvolumes Individually option to backup the qtree data while excluding all the non-qtree files and directories from the backup. This option is useful since the Plug-in for NDMP does not allow you to uncheck child level items. Instead of selecting individual qtrees, you can select the parent volume and then select this option to exclude the non-qtree data. The backup will fail if the selected volume does not contain any qtrees.Backup Non-Subvolume Data ONLY – Select this check box to backup non-qtree data while excluding the data in the qtrees. It will not be available if Backup Subvolumes Individually is selected. This option is useful since the Plug-in for NDMP does not allow you to uncheck the child-level items. Instead of selecting individual files and directories, you can select the parent volume and then select this option to exclude the qtree data.

3.2.2.c Setting Sub-Job OptionsUnder Sub Jobs, configure the following parameters:

Number of Backups to Run in Parallel – Enter or select the number of jobs that can be run concurrently. By default, this parameter is set to zero. With this value, all the jobs will run in parallel, limited only by the availability of drives, network bandwidth and other resources. To achieve the desired result, you must set the same value for each job.Delete Auto Generated Backup Jobs on Completion – By default, each sub-job is included in the NVBU Jobs window, which may create confusion when you try to access the corresponding entry in this window. To avoid this and include only a single entry for the parent job, select the Delete Auto Generated Backup Jobs on Completion check box.

Page 16: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 3Backup

16

3.2.2.d Setting Backup Restart Extension (BRE) OptionsNDMP BRE options allows you to resume a failed backup job from the last checkpoint before failure. Without BRE, any failure encountered during a backup renders the entire saveset unusable even if a significant portion of the data was successfully transferred to backup media. To take advantage of BRE, configure the following parameters under Restart:

Enable Restart, If Possible – Select this option to enable checkpoint restarts.Number of Gigabytes Between Checkpoints – Enter the checkpoint interval in Gigabytes of data written to the media. The checkpoint interval can be set to any value between 1-30000 GB. With the default value of 0, the checkpoints are set to media boundaries.Number of Attempts to Restart Backup – Enter the number of times the plug-in attempts to restart the backup. The number of retries can be set to any value between 1-100 attempts. With the default value of 0, the plug-in keeps trying to restart the backup infinitely.Delay, in Minutes, Between Retries – Enter the delay between restarts in minutes. It can be set to any value between 1-1440 minutes. With the default value of 0, the plug-in tries to resume the backup immediately upon failure.

Additional Notes on BREA backup job can be resumed only if suitable checkpoints exist for the job. The checkpoints are set during phase 4 of an NDMP backup and are logged as Background messages in the NVBU Logs.BRE may fail over filer reboots. Certain circumstances may prevent the filer from correctly continuing a backup restart. If this occurs, “Node Data Missing for File <Filename>” will be written to the NVBU Logs during the index building stage. If this message appears in the log, it implies that the restart has failed and the job cannot be resumed.All information related to backup checkpoints will be lost if the NVBU Server is restarted. BRE will not work over NVBU Server restarts.If network connectivity is lost during backup and the filer is not able to detect this failure, the session will hang and you will be required to kill the session to recover. You can issue the command ndmpd kill <sessionID> at the filer command prompt to kill the session.When you kill a session, the drives and/or changer in use will go offline. To bring them back online, right-click the drive and select the Check. Alternatively, you can update the library configuration (right-click the library, and select Modify). Another method to bring offline drives back online is to restart the NVBU Server. However, BRE will not work if the NVBU Server is restarted.

Page 17: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

17

3.2.3 Finalizing and Submitting a JobTo finalize and submit a backup job

1. Click the Schedule, Target and Advanced Options tabs, and configure the required options. These options are common to all NVBU Plug-ins. For more information on configuring these options, refer to the Quest NetVault Backup Administrator’s Guide.

2. In Job Title, enter a suitable title for the job. Specify a detailed title that allows you to easily identify the job for monitoring its progress or restoring data.

3. Click Submit on the toolbar. Alternatively, on the Accept menu, click Submit Backup. To monitor the job progress and view the logs, open the NVBU Jobs and the NVBU Logs windows, respectively. For more information on these functions, refer to the Quest NetVault Backup Administrator’s Guide.

3.3.0 Backing Up Data in C-ModeTo back up one or more volumes in C-Mode

1. Start the NVBU Console on the NVBU Server, and open the NVBU Backup window on the NVBU Server. To open this window:

Click Backup on the toolbar or Large Buttons panel.– or – On the Operations menu, click Backup.

2. On the Selections tab, open the NVBU Server. To open any node on the Selections tab:

Double-click the node– or – Right-click the node, and select Open

3. In the list of plug-ins, open NDMP Client.4. Next, open the target filer to display the Volumes node:

Note: Snapshots are only supported in Data ONTAP 8.1 C-Mode.

Page 18: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 3Backup

18

Figure 3-3:

Selections tabin C-Mode

5. To select the required data, do the following:Include All Volumes – Select the Volumes node.Include Individual Volumes – Open the Volumes node, and select volumes that are to be backed up.

Important: In NetApp ONTAP 8.x C-Mode, you cannot open the Volumes node to browse or select the contents. However, you can specify a single data path for a backup. For details on backing up an individual data path, refer to Backing Up Individual Data Paths in C-Mode on page 19.

6. Click the Backup Options tab, and configure the following parameters:

Note: This step is not applicable if a file or directory is the root selection item of a backup. The Backup Options are only available if you have selected a volume or sub-volume as the root item for a backup.

Page 19: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

19

Figure 3-4:Backup

Options in C-Mode

NDMP Backup Options – For details on these options, refer to Setting NDMP Backup Options on page 12.Sub-Job Options – For details on these options, refer to Setting Sub-Job Options on page 15.

7. Complete and submit the job. For details, refer to Finalizing and Submitting a Job on page 17.

3.4.0 Backing Up Individual Data Paths in C-ModeIn NetApp ONTAP 8.x C-Mode, you cannot open the Volumes node to browse or select the contents. However, you can specify a single data path for a backup. To back up an individual path, use the following steps:

1. Start the NVBU Console on the NVBU Server, and open the NVBU Backup window on the NVBU Server. To open this window:

Page 20: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 3Backup

20

Click Backup on the toolbar or Large Buttons panel.– or – On the Operations menu, click Backup.

2. On the Selections tab, open the NVBU Server. To open any node on the Selections tab:

Double-click the node– or – Right-click the node, and select Open

3. In the list of plug-ins, open NDMP Client.4. Right-click the target NDMP Server, and select Enter Backup Path.5. In the NDMP Backup Request window, configure the following parameter.

Figure 3-5:NDMP Backup

Requestwindow

Directory – Enter the complete path to the entity that is to be backed up. You can include a single volume, qtree, directory or snapshot. Individual files are not supported. The backup will fail if you specify a file name. To specify the backup path for a snapshot, use the following format:/<vservername>/<volumename>/.snapshot/<snapshotname>

For example, /vs1/vol2/.snapshot/daily.2011-11-16_0010

Consult the relevant NetApp ONTAP documentation for more information on snapshot names.

6. Specify the Dump Level and configure the remaining backup options. For details, refer to Setting NDMP Backup Options on page 12.

7. Complete and submit the job. For details, refer to Finalizing and Submitting a Job on page 17.

Page 21: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

21

Chapter 4:

RESTORE

Restoring Data with the Plug-in for NDMPSelecting Data for a RestoreSetting Restore OptionsFinalizing and Submitting a Job

Restoring Incremental BackupsRenaming or Relocating Data During RestoreRestoring Data to an Alternate Filer

PrerequisitesRestore Procedure

4.1.0 Restoring Data with the Plug-in for NDMPThe procedure for restoring Dump Backups includes the following steps:

Selecting Data for a RestoreSetting Restore OptionsFinalizing and Submitting a Job

4.1.1 Selecting Data for a RestoreTo select data for a restore

1. Start the NVBU Console on the NVBU Server, and open the NVBU Restore window. To open this window:

Click Restore on the toolbar or Large Buttons panel.– or –On the Operations menu, click Restore.

2. On the Selections tab, open the NVBU Server. To open any node on the Selections tab, you can do either of the following:

Double-click the node– or –Right-click the node, and then select Open

3. In the list of plug-ins, open NDMP Client to display the backup savesets created with the plug-in. Each saveset will be labeled with its job title followed by the saveset ID and the backup timestamp.

Page 22: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 4Restore

22

4. Open the target backup saveset. From this level, double-click a node to open it (the right-click + Open method is not available).

5. Select the required data:To restore the entire saveset, select the root node.To restore individual files and directories, select the target files and directories in the selections tree. The selections tree can only be browsed if the Save File Information option was selected during backup.If the backup contains a single file, the filename will be added to the directory path. On the Selections tab, it will appear as /path/to/filename/filename and is restored in that manner. The file will be restored correctly if you select the directory and restore the file.

4.1.1.a Important NotesWhile restoring data from a snapshot backup, you must use the Relocate option. The data can be relocated to either the same or a different volume. The restore job will fail if you do not use the Relocate option. For more information on relocating data, refer to Renaming or Relocating Data During Restore on page 26.You cannot omit the child-level items after selecting the parent node. The restore will fail if you do so. For selective restores, open the parent node and individually select each item that you want to restore.

4.1.1.b Additional Features Available on the Selections TabThis section provides a brief description of the additional features present on the Selections tab of the NVBU Restore window. These features are common to all NVBU Plug-ins. For details on their use, refer to the Quest NetVault Backup Administrator’s Guide.

Sorting the Savesets – To sort the savesets listed on the Selections tab, select one of the following methods in the Selection Method list:

Plugin – This is the default method. The savesets are ordered according to the plug-in used to generate them.Backup Set – To sort the savesets by the Selection Set used for the backup, select Backup Set in the Selection Method list.Job – To sort the savesets by the Job Title, select Job in the Selection Method list.

Filtering the Savesets – To filter the savesets displayed on the Selections tab, configure the following parameters under Filter Options:

By Date Range – Select the By Date Range check box, and enter or select the From and To dates in the boxes provided to list the savesets generated during a given period.

Page 23: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

23

Show On-line Status – Select the Show On-line Status check box to list the savesets stored on the currently online media.

Click Apply Filter to set the filter.Searching for Data Items – To find a data item inside a saveset, right-click it and select Search. Enter the item name in the Search String box and click Search.Viewing Media List – To view the media list for a saveset, right-click it and select Media List.Compressing Indexes – To compress the online indexes in order to reduce the space used by the NVDB, right-click the target Client or the saveset, and select Compress. The index is automatically de-compressed when you open a saveset to browse or restore the data.

4.1.2 Setting Restore OptionsClick the Restore Options tab, and configure the following parameters:

Figure 4-1:RestoreOptions

NDMP Server – This parameter can be used to restore data to a different filer. By default, the name of the original filer from which the data was backed up is displayed. Do not change this while restoring data to the same filer.Direct Access Restore Mode – Select the appropriate DAR mode from the following:

Use Direct Access Restore if Possible – Select this option to perform a direct access restore if the backup was direct and the mover and the data

Page 24: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 4Restore

24

server are capable of completing a Direct Access Restore. If these conditions are not met, a non-direct access restore will occur.Use Direct Access Restore by Recovering Individual Files – Select this option to restore a directory and its file contents. Any empty directory in the saveset will be ignored. This option must be selected if any entity has been marked as omitted in the Selections tab. Otherwise, the restore will fail.Only Do Direct Access Restore – Select this option to force a Direct Access Restore. Note that the backup being restored must have been a direct backup and a capable mover and data server must be available, otherwise the restore will fail.Never Do Direct Access Restore – Select this option to perform a standard Non-Direct Access Restore.

Incremental Restore – Select this check box to recursively extract data and reconstruct the selected subtree to the state it was in at the time of backup. This is equivalent to setting the environment variable EXTRACT=N. The plug-in will overwrite the existing files and delete the files that were not present at the time of backup.Restore ACLs – Select this option to restore the ACLs from the backed up file. This option is equivalent to setting the environment variable EXTRACT_ACL=Y. You can use this option only if the Backup ACLs option was selected during backup.

Important NotesWhen individual files are selected for a Direct Access Restore, their parent-level directory permissions will not be restored.When running a Direct Access Restore, NVBU organizes the restore requests into groups of 1024 files at a time. In the event that a restore selection consists of more than 1024 total files, multiple restore requests will be issued, which means multiple log entries will appear for the job.

4.1.3 Finalizing and Submitting a JobTo finalize and submit a restore job

1. Click the Source, Target Client, Schedule and Advanced Options tabs, and configure the required options. These options are common to all NetVault Backup Plug-ins. For more information on configuring these options, refer to the Quest NetVault Backup Administrator’s Guide.

2. Enter a title for the job in the Job Title box at the top right corner of the NVBU Restore window. Specify a detailed title that allows you to easily identify the job for monitoring its progress.

Page 25: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

25

3. Click Submit on the toolbar. Alternatively, on the Accept menu, click Submit Restore. You can monitor the job progress via the NVBU Jobs window, and view the logs via the NVBU Logs window. For details on these functions, refer to the Quest NetVault Backup Administrator’s Guide.

4.1.3.a Additional NotesWhile restoring data, you may notice one or more of the following entries in the NVBU Logs. These messages, as explained below, are routine and do not require any intervention:

“Mover has Paused due to Seek Outside the Supplied Window” – This entry will be displayed as a Background message. BRE backups create a new segment on tape for each checkpoint (as configured in Number of Gigabytes Between Checkpoints on the Backup Options tab). This message will be displayed after each individual segment is restored and just indicates the underlying mechanism behind the NDMP operation.“Received Media Request for UID” – This entry will be displayed as an Information message. It will appear after each segment is restored as a request is sent to the Media Manager for the media that contains the next segment. This message will appear even if the next segment resides on the same media.“No Suitable Drive or Media for the Job - Request Held in Queue” – This entry will be displayed as a Warning. It will appear when the required piece of media is not available or is in use. If the piece of media being requested is the current one, this message indicates a temporary condition and the restore will resume shortly.

4.2.0 Restoring Incremental BackupsThe incremental restores build on each other. To restore an Incremental Backup, you must have all the backups from level-0 through the last backup in the backup sequence that you want to restore.

To restore an Incremental Backup

1. Restore the Full or Level-0 Backup. For details, refer to Restoring Data with the Plug-in for NDMP on page 21.

2. Restore each Incremental Backup in the backup sequence that you want to restore, starting with the lowest-level backup and going to the last backup that you want to restore. For each dump level, follow the instructions detailed in the section Restoring Data with the Plug-in for NDMP on page 21.

Page 26: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 4Restore

26

Important: All NDMP backups are effectively snapshots of the volume. When you restore a dump level in an increment series, it will restore all the data in the saveset and at the same time delete the files present on the filer but not available in the given increment, and thus reconstruct the subtree as it was at the time of backup.

4.3.0 Renaming or Relocating Data During RestoreWhile restoring an NMDP backup, you can rename the directories to create a copy of the data instead of overwriting of the existing versions. The Plug-in for NDMP also allows you to relocate the data to a different volume, which can be useful if the original volume is down or if you are dealing with limited bandwidth or capacity.

To rename and/or relocate a file or directory during a restore

1. Select the data for restore. For details, refer to Selecting Data for a Restore on page 21.

2. Right-click the file/directory to be renamed and/or relocated, and select Rename.

3. In the Restore Rename window, select the Rename To check box to activate the associated box:

To rename a file or directory, enter the new name. The entity will be restored with the name specified here.To relocate data to a different volume, enter the volume name. You can also rename while relocating by specifying a new path. The volume to which you are relocating must already exist.In NetApp ONTAP 8.1 C-Mode, use the following format to specify the new path:/<vservername>/<volumename>/<foldername>

For example,/vs1/vol4/data/restore

4. Click OK to apply changes5. Configure the appropriate Restore Options. For details, refer to Setting

Restore Options on page 23.6. Complete and submit the job. For details, refer to Finalizing and Submitting a

Job on page 24.

Page 27: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Quest NetVault Backup Plug-infor NDMP Application Notes for NetApp ONTAP

27

4.4.0 Restoring Data to an Alternate FilerWith the Plug-in for NDMP, the backups can also be restored to an alternate filer, which can be useful during a server migration or a disaster recovery operation. The procedure for restoring data to an alternate NVBU Client includes the following steps:

PrerequisitesRestore Procedure

4.4.1 PrerequisitesBefore starting the restore procedure, complete the following tasks:

Add the target filer as an NDMP Server. For details, refer to the Quest NetVault Backup Plug-in for NDMP User’s Guide.

4.4.2 Restore ProcedureTo restore the selected data to an alternate filer

1. Select the data for restore. For details, refer to Selecting Data for a Restore on page 21.

2. To rename or relocate data during restore, refer to Renaming or Relocating Data During Restore on page 26.

3. Click the Restore Options tab. 4. In NDMP Server, enter the alternate filer name.5. Select the appropriate DAR method. For details, refer to Setting Restore

Options on page 23.6. Complete and submit the job. For details, refer to Finalizing and Submitting a

Job on page 24.

Page 28: NetVault Backup Plug-in for NDMP - Questsupport-public.cfm.quest.com/744957fb-85bc-4abc-b39f-39...describes the procedures for installing and configuring the Plug-in for NDMP. The

Chapter 4Restore

28