Cloning: Emc Networker
Cloning: Emc Networker
Cloning: Emc Networker
Cloning
Release 7.6 Service Pack 2
Integration Guide
P/N 300-012-451
REV A01
EMC Corporation
Corporate Headquarters:
Hopkinton, MA 01748-9103
1-508-435-1000
www.EMC.com
Copyright © 2011 EMC Corporation. All rights reserved.
EMC believes the information in this publication is accurate as of its publication date. The information is subject to change
without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS IS.” EMC CORPORATION MAKES NO
REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION,
AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE.
Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.
For the most up-to-date regulatory document for your product line, go to the Technical Documentation and Advisories section
on EMC Powerlink.
For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com.
Preface
Chapter 1 Introduction
Revision history ...................................................................................................... 12
Cloning integration feature ................................................................................... 12
Staging integration feature .................................................................................... 13
Benefits of cloning and staging............................................................................. 13
Additional data protection.............................................................................. 14
Performance ...................................................................................................... 14
Storage optimization ........................................................................................ 14
Licensing .................................................................................................................. 15
Version requirements.............................................................................................. 15
NetWorker components ......................................................................................... 16
NetWorker server ............................................................................................. 16
NetWorker clients............................................................................................. 16
Storage node...................................................................................................... 16
NetWorker Management Console ................................................................. 17
Volumes ............................................................................................................. 17
Pools ................................................................................................................... 17
Save sets ............................................................................................................. 17
NetWorker repositories ................................................................................... 18
Cloning example ..................................................................................................... 19
Staging data example ............................................................................................. 20
Chapter 8 Staging
Staging overview................................................................................................... 136
Staging example .............................................................................................. 136
The destination ...................................................................................................... 137
Working with staging policies............................................................................. 137
Creating a staging policy ............................................................................... 137
Editing a staging policy.................................................................................. 139
Copying a staging resource ........................................................................... 139
Deleting a staging policy................................................................................ 140
Staging from the NetWorker Management Console ........................................ 140
Staging from the command line .......................................................................... 140
Finding the clone ID of a save set ................................................................. 140
Glossary
As part of an effort to improve and enhance the performance and capabilities of its product
lines, EMC periodically releases revisions of its hardware and software. Therefore, some
functions described in this document may not be supported by all versions of the software or
hardware currently in use. For the most up-to-date information on product features, refer to
your product release notes.
If a product does not function properly or does not function as described in this document,
please contact your EMC representative.
Note: This document was accurate as of the time of publication. However, as information is
added, new versions of this document may be released to the EMC Powerlink website. Check
the Powerlink website to ensure that you are using the latest version of this document.
Audience This document is part of the EMC NetWorker documentation set, and is intended for
use by system administrators. It contains planning, practices, and configuration
information for using the NetWorker cloning feature.
Readers of this document should be able to perform the following tasks:
◆ Identify the different hardware and software components that comprise the
NetWorker datazone.
◆ Follow procedures to configure storage management operations.
◆ Follow guidelines to locate problems and implement solutions.
This guide has been written for NetWorker release 7.6.2 unless specified otherwise.
◆ EMC NetWorker Release 7.6 Service Pack 2 Release Notes contain information on new
features and changes, fixed problems, known limitations, environment, and
system requirements for the latest NetWorker software release.
◆ EMC NetWorker Licensing Guide provides information about licensing NetWorker
products and features.
◆ EMC NetWorker License Manager 9th Edition Installation and Administration Guide
provides installation, setup, and configuration information for the NetWorker
License Manager product.
◆ EMC NetWorker 7.6 Service Pack 2 Error Message Guide provides information on
common NetWorker error messages.
◆ EMC NetWorker 7.6 Service Pack 2 Command Reference Guide provides reference
information for NetWorker commands and options.
◆ EMC NetWorker Management Console Online Help describes how to perform the
day-to-day administration tasks in the NetWorker Management Console and the
NetWorker Administration window.
◆ EMC NetWorker User Online Help describes how to use the NetWorker User
program, which is the Microsoft Windows client interface for the NetWorker
server, to back up, recover, archive, and retrieve files over a network.
IMPORTANT
An important notice contains information essential to software or hardware
operation.
Typographical conventions
EMC uses the following type style conventions in this document:
<> Angle brackets enclose parameter or variable values supplied by the user
Where to get help EMC support, product, and licensing information can be obtained as follows.
Product information — For documentation, release notes, software updates, or for
information about EMC products, licensing, and service, go to the EMC Powerlink
website (registration required) at:
http://Powerlink.EMC.com
Your comments Your suggestions will help us continue to improve the accuracy, organization, and
overall quality of the user publications. Please send your feedback to:
BSGdocumentation@emc.com
If you have issues, comments, or questions about specific information or procedures,
please include the title and, if available, the part number, the revision (for example,
A01), the page numbers, and any other details that will help us locate the subject that
you are addressing.
Introduction
Introduction 11
Introduction
Revision history
The following table lists the revision history of this document.
Note: You cannot use the NetWorker software to create an instant clone by writing to two
devices simultaneously. This operation is also referred to as parallel cloning, twinning, or inline
copy. Where parallel cloning or twinning is required, consider using the NetWorker cloning
feature. Using cloning will help ensure that the initial backup completes successfully.
Additional data protection can also be implemented by using the optimum devices and
bandwidth available for the backup environment.
Performance
Performance is one benefit of staging. Data is backed up to near-line storage which is
usually a backup-to-disk. The data can then be migrated to tape later based on
staging policy settings for the disk device.
Storage optimization
The storage device that is used for the initial backup is often a compromise between a
number of factors which include the following:
◆ Location
◆ Availability
◆ Capacity
◆ Speed
◆ Cost
As a result, the backup data on the initial storage device is unlikely to be on the ideal
or optimum storage for the entire duration of the data’s retention period.
Cloning and staging can help to use the storage devices more effectively by moving
data between different types of devices. This ability provides the following benefits:
◆ Backups that are stored on local tape devices can be copied to other devices in
remote locations without impact to the initial backup performance.
◆ Backups from disk devices can be copied to tape to facilitate offsite or long term
storage.
By moving data from disk to tape, you can use the storage capacity more effectively.
The use of a deduplicated disk allows the initial storage space to be reclaimed for new
backups.
Once backups have been cloned to other storage devices, the original backups can be
deleted. This allows for the following:
◆ New backups can be written to the disk device since the initial storage space can
be reclaimed for new backups.
◆ Multiple service levels can be accommodated:
• The most recent backups may remain on one storage device for fast recovery.
• Other backups may be moved to more cost effective, slower storage for less
demanding recovery needs.
Tape
Tape is still the most commonly used backup storage medium and the following
issues might be encountered when using it:
◆ Difficulty in accessing the data
◆ Reliability of the tape device
◆ Reliability of the robotic changing mechanisms
◆ Requirement of a long backup window
Note: Use backup-to-disk where high performance backups are required within a short backup
window. The data can be staged to tape for longer term retention.
Disk devices
Disk devices are becoming more cost effective and offer advantages when
deduplicating and replicating data. However, disk devices have limited capacity and
can sometimes require considerable effort.
Licensing
In most cases, the functionality used for cloning or staging is incorporated into the
existing NetWorker base product and requires no additional licenses or enablers.
However, there are some devices that offer additional functionality and these might
require additional licenses and enablers in order for this functionality to be used for
cloning or staging, or for additional capacity to be made available.
To ensure that the appropriate capacity and functionality licensing is applied and
enabled for the devices that are being used, refer to the EMC NetWorker Licensing
Guide.
Version requirements
NetWorker client and servers that support cloning should meet the following version
requirements:
◆ NetWorker server must be installed with NetWorker 7.6 Service Pack 1 (SP1) or
later software.
◆ NetWorker Management Console (NMC) must be release 7.6 SP1 or later.
Licensing 15
Introduction
NetWorker components
The NetWorker software has a number of components that allow for flexibility in the
deployment of NetWorker datazone configurations. It allows for the scaling of data
and the number of clients it supports.
The section includes the following topics:
◆ “NetWorker server” on page 16
◆ “NetWorker clients” on page 16
◆ “Storage node” on page 16
◆ “NetWorker Management Console” on page 17
◆ “Volumes” on page 17
◆ “Pools” on page 17
◆ “Save sets” on page 17
◆ “NetWorker repositories” on page 18
NetWorker server
The NetWorker server is the main component that manages the other components
that comprise the backup infrastructure.
A datazone is comprised of a NetWorker server and the group of components and
client data that the server manages. A customer site may have one or multiple
datazones depending on the size, distribution, and departmental organization.
NetWorker clients
NetWorker clients are computers, workstations, or files servers whose data can be
backed up and restored with the NetWorker software. Each NetWorker client requires
that the NetWorker software be installed and that the client is configured on the
NetWorker server. The software also enables interaction with the NetWorker
Application Modules.
In some cases, additional software is also installed that allows for local storage
devices and dedicated storage nodes.
Storage node
The NetWorker storage node is a system that has a NetWorker storage device
attached and is able to store backup data.
The storage node can be one of two types:
◆ Shared storage node (standard)
The shared storage node is able to receive data from multiple sources and to share
its storage capabilities.
Note: Use dedicated systems for shared storage nodes and to direct all client data to the
dedicated storage node.
Volumes
NetWorker devices use data volumes to store and manage the backup data.
Every volume must belong to a pool which allows multiple volumes to be used. In
the case of tape cartridges, this procedure ensures that the correct volume and the
storage node are always used.
Pools
A pool can be used to group the backups together so that data of a similar type or
profile can be stored together. For example, you can create a pool for Sunday Full
backups.
Pools also allow data to be directed to specific storage nodes or locations which help
to organize the data for optimum storage and recovery and are used during cloning
sessions.
Save sets
The backup data consists of one of more save sets in a single session or thread of data
that has been generated by a NetWorker client of a NetWorker module. A save set
contains at least one file which is located on a NetWorker volume.
NetWorker components 17
Introduction
NetWorker repositories
NetWorker software uses two separate repositories to manage data that has been
backed up by using the save command. The following repositories record metadata
irrespective of NetWorker client, NetWorker module, or data type:
◆ Media database
◆ Client file index
Media database
Information on the save set is stored in the media database. This database contains all
of the records for all of the save sets that are currently under the control of the
NetWorker software, and that have the potential to be used for recovery purposes.
The media database provides the following information:
◆ Location (volume) of the save set
◆ Size of the save set
◆ Offset within the volume
The media database contains limited details on what is inside the save set. The names
and attributes of the files within the save set are stored in separate client indexes.
Unlike client indexes, media database entries are relatively small and require only a
small amount of space for each save set. As such, the disk space requirements for the
media database are generally small and disk size is dependent on the number of
volumes and save sets.
Client index
There is a separate client index repository for each unique NetWorker client
configured with the NetWorker software. The client indexes contain references to the
save set IDs and record each file that was included in the backup of a given
NetWorker client.
The entries in the client file index record the following information for filesystem
backups:
◆ Filename
◆ Attributes of the file
◆ Location of the file within the file structure
◆ Position of the file within the save set
Note: For NetWorker module backups, the client file index includes metadata about the
individual application objects.
As some save sets might contain many files (100,000 or more) the information stored
in the client indexes can grow. This growth impacts the amount of disk space required
to store them. The save set browse retention policy allows customers to manage index
space for save sets.
Cloning example
In this example, three save sets are created by a backup of a client with three data
drives. These save sets are stored on a volume that is accessible through Storage
Node A. Once a cloning action occurs, the copies of these save sets are sent to a clone
pool on Storage Node B. Figure 1 on page 19 illustrates a cloning environment.
Cloning example 19
Introduction
Cloning requirements
The following requirements apply when performing clone operations:
◆ A minimum of two storage devices mustbe enabled. One to read the existing data
and one to write the cloned data:
• If libraries with multiple devices are used, the NetWorker server automatically
mounts the volumes required for cloning.
• If stand-alone devices are used, mount the volumes manually. A message
displays in the Alert tab of the Monitoring option that indicates which
volumes to mount.
◆ The destination volume must be a different volume from the source volume, and
must belong to a clone pool.
◆ You must be a NetWorker administrator. The EMC NetWorker Administration
Guide provides detailed information.
Note: Only one clone of a particular save set can reside on a single volume. If three clones of the
same save set are specified, the NetWorker software will ensure that each clone is written to a
separate volume.
Cloning policy
Cloning data has many benefits and can be used to protect and maximize the data
protection infrastructure.
The following section lists some of these benefit, describes common scenarios, and
provides advice on data selection.
Note: Ensure that all target volumes do not already contain the same clone save sets. Volumes
that contain failed clone save sets might prevent additional clone sessions from completing.
IMPORTANT
Do not schedule more than 30 clone sessions to start at the same time. Scheduling
30 or more clone sessions to occur simultaneously may result in timed-out and
incomplete cloning sessions.
Note: The retention policy specified in a clone pool will be overwritten if a retention policy is
specified in a scheduled clone operation or through the nsrclone command.
Note: The retention policy that is specified in a clone pool will be overridden if any retention
policy is specified in a scheduled clone operation.
Cloning policy 23
Planning and Practices
Save sets
NetWorker save sets have various status conditions that allow you to determine:
◆ Current status of the save set
◆ History of the save set
◆ Validity of the save set for recovery or clone operations
Clone attributes
Clone attributes include the following:
◆ Browsable: Select if the save set still has an entry in the client file index.
◆ Recyclable: Select if all save sets have passed both the browse and retention
policy time periods. The volume might be available for automatic relabeling and
overwriting provided that all of the save sets on the volume are recyclable.
◆ Recoverable: Select if the entry for the save set has been removed from the client
file index, but is still available for recovery from the media. That is, the volume
has not passed its retention policy.
◆ In-progress: Select if the save set is currently in the process of being backed up.
IMPORTANT
In-progress save sets cannot be cloned.
◆ Aborted: Select if the save set was either aborted manually by the administrator
during a backup, or because the computer crashed.
IMPORTANT
Aborted save sets cannot be cloned.
IMPORTANT
Suspect save sets are not cloned. The following error message appears:
nsrclone: skipping suspect save set <ssid> cloneid <cloneid> nsrclone: error,
no complete save sets to clone.
Multiplexed backups
Multiplexed save sets can be cloned. Clone copies of multiplexed save sets are written
as a single contiguous data stream on the target media (demultiplexed). This
behavior can be an advantage since multiplex backups have a read and recovery
overhead. By cloning multiplexed save sets, you remove this overhead which allows
recoveries from the clone to be read faster than the original backup.
When cloning multiplex save sets, note that only one save set will be cloned to the
same target at the same time. However, multiple clone sessions can be started at the
same time from the same source provided that they all have separate target volumes.
Example
Advanced file type device (AFTD) disk devices can used for the initial backups
because of their speed and versatility.
Tape devices can be used to clone the data. This allows for an extended retention
period without increasing the disk space requirements.
The use of deduplication can also provide efficient use of storage. Cloning to or from
deduplication devices can ensure that these devices are used effectively.
Cloning policy 25
Planning and Practices
◆ It is a best practice to not mix normal data and NDMP data because of the way in
which the data is written to tape differs. The number of filemarks and positioning
is different for NDMP data.
◆ If the clone operation includes save sets from different devices, and you want all
of the save sets to be written to the same volume, include only one volume in the
clone target pool.
This issue does not occur when the storage node is on the NetWorker server. The
storage node is not remote.
For example, if the NSR clone resource was named TestClone1, the name and action
attributes of the NSR task resource would be:
◆ name: clone.TestClone1
◆ action: NSR clone: TestClone1
These entries are case-sensitive.
Both the browse and retention polices impact the amount of disk space required by
the NetWorker server. The recovery procedure is likely to be different if one or both of
these polices has elapsed. The browse and retention polices should be equal to or
greater than the client or data requirements and allow for the expected recovery
conditions.
The NetWorker software is very versatile when recovering data because of how it
handles the data on the media. When determining data recovery options, consider:
◆ The data is written in a format that is self-describing. This allows data to be read
and recovered by using different NetWorker instances or versions.
◆ The data remains on the media until the save set data has expired. The media is
relabeled or staged in the case of an AFTD.
◆ Up until the point when the media is relabeled, recoveries are still possible,
regardless of the browse policy, expiration status, or even if the volume is known
to the NetWorker software in the media database entry.
While this versatility can be relied upon when unexpected events occur, it does not
replace the requirement to plan and manage the data appropriately. Care and
consideration should be given when selecting browse and retention polices. Also
consider the location and number of copies of volumes and save sets. This ensures
that the data is available at the most likely time by using the simplest procedures.
Browse policy
For every backup that is created by using the NetWorker software, you must assign
two policies to determine how long data should be maintained and be available after
the recovery. The most important policy from an ease of recovery perspective is the
browse policy.
The browse policy determines how long the backup will be browsable, so that the
ability to review and select data for recovery is possible. This policy determines how
long index data is maintained in the respective client index, so that a browse policy of
seven days will remove data from the client index after seven days has elapsed. This
allows different clients, or different data types, or even different groups of clients to
have browse periods that differ.
Once the browse policy for a save set has expired, it is possible regenerate the index
for a given save set. “Restoring save sets that are not in the media database” on
page 130 provides details.
Note: The browse policy is limited by the retention policy. The browse period cannot exceed
the time set for retention policy.
Retention policy
As with the browse policy, the retention policy is also assigned for every NetWorker
backup, regardless of its source or type. The policy lets the NetWorker software know
how long the data within a save set is expected to be maintained for recovery.
By having separate browse and retention policies, the user is not bound by the
retention period for client index information. This is useful as the recovery of data is
more likely to occur within a short period of time from when the backup was made.
However, the need to retain the information for business or regulatory reasons is
likely to exceed this period by some period. It is therefore possible to have a browse
period which is long enough to accommodate the most likely recovery scenario, but
maintain a retention period to satisfy the business or regulatory criteria. This
approach allows the disk space required by the client index to be maintained at a
more acceptable level without the overhead of large disk space requirements and the
performance and scaling concerns that would be associated with this.
Example
Figure 3 on page 29 shows how browse and retention policies can be used to maintain
the data available for recovery while minimizing the disk space required for client
indexes and maximizing the storage space available. By having this cascading
retention period, you can free the space on the immediate or high performance
devices, and still maintain the recovery options from the less costly, lower
performance devices.
Cloning Procedures
Cloning Procedures 31
Cloning Procedures
Cloning data
NetWorker clone operations can be configured by using several different methods.
Each method is suited to different environments and storage needs. You may need to
use multiple or mixed cloning approaches to achieve the required control and
flexibility.
Clone operations can be configured to be run by:
◆ Automatic start (auto-clone)
◆ A schedule
◆ A customized script
Cloning options
Table 1 on page 32 lists the cloning options and describes how and when they are
typically used.
Automated Automated cloning is configured through the NMC at the NetWorker group level. The
cloning runs immediately after the group completes, so it might interfere with the
backup window. “Automated cloning” on page 33 provides details.
Scheduled Scheduled cloning, introduced with NetWorker 7.6.1, overcomes limitations in group
cloning by providing the ability to set clone schedules and more flexible options on
save set selection and clone pools. “Schedule cloning” on page 35 provides details.
Save Set Save set cloning is performed through the NMC Media window:
• To build a list of save sets, use the save set query feature.
• To clone individual or multiple save sets, review the query results.
“Save set cloning” on page 39 provides details.
Automated cloning
Note: Use the scheduled cloning GUI instead of using the auto-clone option.
Save sets can be automatically cloned when the backup group that contains them is
completed. Because the cloning occurs immediately after the group completes, this
clone method is suitable for smaller environments, or a small number of clients,
where the clone operations need to be completed quickly and immediately within the
backup window.
Unlike scheduled cloning, automated cloning runs immediately after the backup
group completes. This ensures that the backup data is cloned as quickly as possible.
However, it also means that the cloning operation is likely to interfere with the
backup window and might vary in start and end times.
Configuring auto-clone
To configure auto-cloning:
1. In the NetWorker Administration window, select Configuration.
2. Create a Group resource and then select Properties.
3. Specify the Clones option.
4. Select the clone pool that will be used to direct the backup.
The EMC NetWorker Administration Guide provides details on creating a clone pool.
Figure 4 on page 34 displays the auto-clone action. Once the backup of the three save
sets has completed, the clone of the save sets automatically starts. This action
provides two copies of the backup on completion of the savegroup.
Automated cloning 33
Cloning Procedures
A savegroup that has the auto-clone attribute enabled starts a cloning session after
the backup is complete. If the savegroup is aborted or stopped after the backup is
complete, the auto-clone session does not take place and the following occurs:
◆ Status icon in NMC displays as successful.
◆ Message appears in the logs to indicate that the save set cloning session failed.
Since the group is marked as successful in the NMC, the restart option is not enabled
on the savegroup.
To start the savegroup again, in NMC select start on the savegroup. The backup
session begins with auto-clone enabled.
Schedule cloning
NetWorker scheduled clone operations can be configured and run in NMC according
to a schedule for predetermined clients, pools, save sets, and devices.
This method is suitable for environments where copies of save sets need to be
regularly provided. Such an environment is typically part of a well-defined
maintenance cloning window, which runs independent of the main backup
operation.
Figure 5 on page 35 shows the schedule pane for a clone session.
Schedule cloning 35
Cloning Procedures
Note: If a selection is made in the Storage node to WRITE save sets attribute, it will
override any selection that is described in “Criteria for writing the clone” on page 51.
7. To specify the storage node that will read the data during the clone operation:
a. Select a storage node value from the Storage node to READ save sets
attribute. This attribute is visible only when Diagnostic mode is selected.
b. Ensure that the selected storage node is included in at least one of the
following:
– The Recover storage nodes or Storage nodes attribute of the NetWorker
server’s Client resource.
– A storage node list in the Read Hostname attribute for the Library
resource, if a library is being used.
– A storage node on which any device in the library is configured, if a library
is being used.
Note: The Storage node to READ save sets attribute is not intended for use with
stand-alone devices such as AFTDs, file type devices, and Data Domain devices.
8. To specify the clone media pool to write data to during a clone operation, select a
clone type media pool from the Write clone data to pool attribute.
Note: If no selection is made, clones will be written to the default clone pool.
9. Use the Pool attribute to ensure that only certain media types are used to hold
clone data. Pools direct backups to specific media volumes.
For example, to ensure that this clone session replicates only to:
• A certain type of disk, such as a Data Domain type disk, select a clone pool
that uses only Data Domain type disks.
• Tape (tape out), select a clone pool that uses only tape devices.
10. Select Continue on save set error to force the NetWorker software to skip invalid
save sets and to continue the clone operation.
If this option is not selected (default setting), an error message results and the
clone operation stops if an invalid save set or invalid volume identifier is
encountered.
11. To restrict the number of clone instances that can be created for any save set that is
included in the particular scheduled clone operation:
a. Type a value in the Limit number of save set clones attribute.
A value of zero (0) means that an unlimited number of clones might be created
for this scheduled clone operation. The NetWorker software allows one copy
of a save set on any given volume since a clone is created for each volume in
the pool. Only one clone is created for each run of a scheduled clone operation.
b. Consider limiting the number of save set clones in cases where the clone
operation has not completed and is being retried.
For example, if you type a value of 1 in this attribute and then retry a partially
completed clone operation, only the save sets that were not successfully
cloned the first time will be eligible for cloning. In this way, unnecessary clone
instances will not be created.
Regardless of the value in this attribute, the NetWorker software always limits
the number of save set clone instances to one per volume. A clone pool can
have multiple volumes. This attribute limits the number of save set clone
instances that can be created for a clone pool in a particular scheduled clone
operation.
12. Select Enable to allow the clone session to run at its scheduled time.
13. In the Start Time attribute, perform either of the following:
• Click the up and down arrows to select the time to start the clone session.
or
• Type the time directly into the attribute fields.
14. From the Schedule Period attribute:
a. Select Weekly by day or Monthly by day depending on how you want to
schedule the clone session.
b. Select the days of the week or month on which the scheduled clone is to occur.
15. To repeat the clone session within a day, specify an Interval time in hours.
For example, if the start time is 6 a.m., and the interval is 6 hours, then the clone
session will run at 6 a.m., 12 p.m., and 6 p.m.
16. If the Limit the number of save set clones value is set, then the repeat clone
session skips those save sets in the pool for which the specified number of clones
already exists.
17. Click the Save Set Filters tab to specify the save sets to be included in this
scheduled clone session.
Schedule cloning 37
Cloning Procedures
To limit save sets by various filter criteria, perform either of the following:
• Select the clone save sets that match selections.
or
• Select the clone specific save sets to explicitly identify the save sets to be
cloned.
18. Click OK to save the scheduled clone session.
Displaying a list of the save sets that will be cloned based on the filter criteria
To display a list of the save sets that will be cloned based on the filter criteria that you
specified, select Preview Save Set Selection.
Volume cloning
Volume cloning is the process of reproducing complete save sets from a storage
volume to a clone volume. You can clone save set data from backup or archive
volumes.
Volume cloning uses nsrclone. However, it uses the volume name as an argument.
Cloning in the NetWorker software operates at the save set level and does not
specifically duplicate tape volume. This might result in multiple volumes being used.
The following describes the volume cloning process:
1. Instructs nsrclone to clone all of the save sets that exist on a particular volume.
2. When volumes are cloned, a list of all of the save sets that reside on them is
created, and these in turn are then cloned.
3. Save sets that begin (header sections of continued save sets) on a specified
volume will be completely copied:
• Volumes may be requested during the cloning operation in addition to those
specified on the command line.
• Save sets that reside on the specified volumes that begin elsewhere (middle
sections or tail sections of continued save sets) are not cloned.
Note: The text boxes in the Query Save Set tab are case-sensitive.
Volume cloning 39
Cloning Procedures
Note: A long date range might result in too many selected save sets. This can increase
response time or even require that you close and reopen the browser connection to the
NetWorker Console.
7. Use the Status attribute to limit the search to save sets that have a particular
status.
The values that can be selected include the following:
• All
• Browsable
• Recyclable
• Scanned-in
• Recoverable
• Suspect
8. Use the Maximum Level attribute to limit the search to save sets of a particular
backup level.
The level All is specified by default. All the levels up to and including the
selected level are displayed. For example:
• If you select level 5, save sets backed up at levels full, 1, 2, 3, 4, and 5 are
displayed.
• If you select level Full, only those save sets backed up at level full are
displayed.
• If you select All, save sets for all levels are displayed.
9. Click the Save Set List tab. The save sets that fit the criteria appear in the Save
Sets list.
10. From the Save Set list, select the save sets to clone.
11. From the Media menu, select Clone.
12. From the Target Clone Media Pool list, select a clone pool.
13. Click OK, then click Yes on the confirmation screen.
Scripted cloning
As of NetWorker 7.6 SP1, most of the functionality provided in the nsrclone.exe
command is now provided in the NMC Clone resource user interface.
However, for some situations or circumstances, the use of the nsrclone.exe command
within a script can still have advantages. For example, a scripted cloning solution
could be used for any of the following scenarios:
◆ To control the conditions before cloning occurs. For example, following a specific
event or test, or as part of a workflow.
◆ To control the actions after cloning has been successful. For example, deleting
files, or moving data as part of a workflow.
◆ To control the cloning as part of an enterprise management scheduler that is
independent of NetWorker scheduling or NMC.
◆ To create multiple clones. For example, clone 1 on disk, clone 2 to tape, each with
specific dependencies, timing, and logic.
Note: When using the scripted cloning feature, use the latest versions of NetWorker software.
This will minimize the complexity of the logic in the cloning script.
Scripted cloning 41
Cloning Procedures
Options Description
-C less than copies in target pool Specifies the upper non-inclusive integer limit such that only save sets with a lesser number of
clone copies in the target clone pool are considered for cloning. This option is useful when
retrying aborted clone operations. Because the target is a clone pool, each save set's original
copy or clone is never considered when counting the number of copies of the save set. Likewise,
any AFTD read-only mirror clone is not considered because its read or write master clone is
counted and there is only one physical clone copy between the related clone pair. Recyclable,
aborted, incomplete and unusable save set or clones are excluded in the counting. This option
can be used only with the -t or -e option.
-l level or range Specifies the level or n1-n2 integer range from 0 to 9 for save sets that are considered for
cloning. Manual for ad-hoc or client-initiated save sets, full for level full save sets, incr for level
incremental save sets, and integers 0 through 9, where save set0 also means full, can be used.
More than one level can be specified by using multiple -l options and the -l n1 to n2 range
format. This option can be used only with the -t or -e option.
-N save set name Specifies the save set name for save sets that are considered for cloning. More than one save
set name can be specified by using multiple -N options. This option can be used only with the -t
or -e option.
-c client name Specifies the save sets in the particular client. More than one client name can be specified by
using multiple -c options. This option can be used only with the -t or -e option.
-g group name Specifies the save sets in the particular group. More than one group name can be specified by
using multiple -g options. This option can be used only with the -t or -e option.
2. Copy all save sets that were not copied to the default clone pool in a prior
partially aborted nsrclone session:
nsrclone -S -e now -C 1
3. Copy all save sets that were not copied to the default clone pool in a previous
partially aborted nsrclone session and with extended retention and browse
periods:
nsrclone -S -e now -C 1 -y 12/12/2010 -w 12/12/2009
Note: Be aware that this will also change the browse policy of the original save set instance if
the original save set's browse time has not passed and is earlier than the new browse time for
the clone.
Scripted cloning 43
Cloning Procedures
Cloning validation
Clone data does not require validation because the data is read from the source in its
native and self-describing form and then it is written to the target. The action of
creating a clone validates the ability to read the source data from the media.
Therefore, subsequent clone operations based on the clone will also be validated as
further copies are created.
If there are actions that are expected after a clone operation, then it is likely that some
form of validation is used. This is important if the follow-on action has a destructive
or irreversible nature, such as the deletion of the source data through expiration or
relabeling.
For individual save sets, use the mminfo command to check that the clone save set is
valid and not in an aborted or error state.
Additional clone copies can also be used to:
◆ Validate that the save set is able to be read
◆ Provide additional assurance and protection.
Although a check of individual save sets may help confirm a successful clone
operation, it does not confirm that recovery is possible:
◆ Additional save sets may also be required as part of the recovery.
◆ Always ensure that all save sets have been identified and cloned successfully.
◆ Application-based backups are a particular example where multiple save sets
may be required.
Software Configuration 47
Software Configuration
Filesystem configuration
Before you start to configure cloning, you must consider the type of data that is being
cloned. This section describes a basic cloning operation that uses a standard
filesystem backup where a client, pool, or volume that has one or more filesystem
save sets is required to be cloned to a second device. This device is typically located in
a different location.
For specific application data cloning considerations, see:
◆ Chapter 5, “NetWorker Module for Microsoft Applications”
◆ Chapter 6, “NetWorker Module for Databases and Applications”
Figure 6 on page 48 illustrates the principle for all cloning operations.
In this figure:
◆ A client performs a backup to a storage node.
◆ The clone operation takes the copy from the storage node or another storage node
that has access to the same volumes and reads the data from the volume, storage
node A.
◆ Data is then directed to a different device. The data can be accessed in one of three
ways:
• Through the same storage node
• From a storage node in a different location
• By using a different device (storage node B)
Most of the configuration principles in this section apply to all cloning operations.
Storage nodes
When performing clone operations, you can select the storage node that is used for
the source and target.
This section describes the criteria that you can use to determine:
◆ The storage node from which the clone data is read (read source).
◆ The storage node to which the clone data is written (write source).
Figure 7 on page 49 illustrates a typical NetWorker environment where a number of
storage nodes and devices are available. The ability to determine the storage node
and device used for both the read and the write source of any cloning operation is an
important element in configuring cloning.
Storage nodes 49
Software Configuration
Figure 8 Storage node selection criteria for reading the clone data
Storage nodes 51
Software Configuration
Note: Leave this attribute blank for NetWorker clients that are not also NetWorker servers
or storage nodes.
• If the requested volume is in a media library, the storage nodes on which the
volume can be mounted are determined in the following manner:
– The storage node listed in the Read Hostname attribute for the library
resource is used.
– If the Read Hostname attribute for the library resource is not set, then all
storage nodes on which any device in the library is configured are added to
the list of eligible storage nodes.
– If the volume is not in a media library, then the list of storage nodes is
based on step a on page 51 only.
Storage nodes 53
Software Configuration
Note: You can begin manually cloning a save set as soon as it has finished its backup.
◆ AFTD devices allow a maximum of two concurrent clone operations. One clone
operation can use the writable device and the other clone operation can use the
read-only device.
◆ AFTD devices allow recoveries during cloning operations (Read(source) or
Write(target). This assumes that the recover operation is not from the active save
set and that only one clone operation is running at-a-time.
IMPORTANT
For disaster recovery, you must replicate the client data to another Avamar
deduplication node. You must also clone the metadata. Both the metadata and the
client data are required to recover backed-up client data.
Example
Clients mars, venus, and jupiter have been configured as deduplication clients and
assigned to a backup group named Dedupe backups. This group is scheduled for a
daily level full backup.
To get a monthly tape backup of these clients:
1. Create another instance of the mars, venus, and jupiter clients.
IMPORTANT
Do not select the Deduplication backup checkbox on the Apps & Modules tab
of the Create Client resource.
2. On the General tab of the Create Client resource, assign mars, venus, and jupiter to
a backup group named Tape backups.
3. Schedule this group for a monthly full backup on one day of the month. Skip
every other day of the month.
Note: The Avamar documentation describes the tape out options that are available for Avamar.
Clone formats
Data stored on a Data Domain device may be cloned by the NetWorker software in
one of two formats, depending on the type of media on which the clone copy will be
stored:
◆ Clone-controlled replication format
◆ Regular clone format
Clone requirements
To clone data from one Data Domain device to another by NetWorker
clone-controlled replication (optimized cloning), ensure that requirements are met.
The following eight requirements assume that the previous creation of a clone target
pool named, for example, as newclonepool:
1. Ensure that both the source and target storage nodes are clients of the same
NetWorker server.
2. Ensure that the Data Domain systems are properly licensed, including a
replication license, which is required to create optimized clones.
3. Ensure that the Client resource for the NetWorker server and both storage nodes
specify, in their Aliases attribute, all of their names in use.
For example:
• Fully-qualified name
• Short name
• Aliases
• IP address
Note: If an nsrclone command or script is used to perform an optimized clone from a host
that is not the NetWorker server, then this command must specify the NetWorker server by
its primary hostname as listed in the NMC Enterprise view. Otherwise, a regular clone
might be produced instead of an optimized clone.
4. Ensure that a target pool (for example, newclonepool) has been created for
Backup Clone type with the Media type required attribute set to Data Domain.
With this setting, if a Data Domain device is not available for a clone operation in
the specified target pool, then NMC displays a "Media waiting" message.
Note: The Default Clone pool does not allow any modification. The required media type
cannot be set in that pool.
5. Ensure that the Client resource for the source storage node specifies, in its Clone
Storage Node attribute, the target storage node hostname:
• If the Clone storage node attribute is not specified, then the NetWorker server
becomes the storage node for the clone operation.
• If the Clone storage node attribute lists a storage node for a volume that is not
Data Domain, and media type required is not set to Data Domain in the target
clone pool, then only regular clones may be stored on those volumes.
Note: This setting is not required if the target storage node is on the NetWorker server.
6. Ensure that the source Data Domain device is mounted and available on the
source storage node.
If the source device is not mounted, then a regular, non-deduplicated clone will
be performed, except if the specified target pool is of Backup Clone type with the
Media type required attribute set to Data Domain.
7. Ensure that the target Data Domain device is labeled and mounted on the target
storage node. The pool selected for the device label operation (for example,
newclonepool) must be of Backup Clone pool type.
8. Verify that the target clone pool (for example, newclonepool) is properly specified
or selected:
• For CLI clone operations, use the nsrclone -b newclonepool command.
• For scheduled clone operations, in the Write clone data to pool attribute of the
Clone resource, select newclonepool.
• For auto-clone operations for a group, in the Clone pool attribute of the Group
resource, select newclonepool.
• For clones of entire volumes, “Cloning by pools” on page 58 provides details.
Cloning by pools
In order to copy save sets from Data Domain storage to a device, a special pool must
be specified. This pool is known as a "clone pool." A clone pool must be assigned to a
device on the target Data Domain system, where it will be available for use.
There are two main purposes for a clone pool:
◆ To copy existing deduplicated VTL or CIFS/NFS AFTD save sets to a Data
Domain device.
◆ To copy the existing save sets from one Data Domain device to another Data
Domain device, typically at a remote location for disaster recovery purposes.
6. Cloning of save sets in virtual tape libraries on either disk library engine from one
disk library engine addresses these points:
• Allows a single embedded storage node to clone from VTLs in either disk
library engine.
• Allows a single embedded storage node to clone from other virtual tapes if the
other disk library engine is down.
Cloning node affinity for all disk library virtual tape libraries
By default, the NetWorker software determines which storage node will read a source
volume in a clone operation by first considering if the source volume is already
mounted. While this is an efficient choice for many situations, it is not preferred for
environments where clone operations are to be performed by the disk library
embedded storage node.
NetWorker version 7.4 SP1 and later incorporates a feature where the mounted status
of a source volume is ignored when determining the read source for virtual tape
libraries.
Note: Use this feature when performing any cloning operation that involves the disk library
embedded storage node. Note that this feature is applied to the NetWorker server, not the
embedded storage node that is running inside the disk library.
The NetWorker software also automatically activates a feature that ignores the
mounted tape status when determining cloning node affinity for all disk library VTLs
have the virtual jukebox attribute set to Yes in the Jukebox resource. This same
functionality is available, but not automatically enabled for all other non-VTL
jukeboxes.
To enable this feature on non-VTL jukeboxes on the NetWorker server:
1. Set the environment variable FORCE_REC_AFFINITY to Yes.
2. Restart the NetWorker processes.
IMPORTANT
Do not use a production storage node to perform cloning operations when the
embedded storage node cloning capability is present.
Advantages
The advantages of cloning data to physical tapes include the following:
◆ Cloning can occur with the disk libraries under NetWorker control with standard
NetWorker policy support. Multiple retentions policies for different cloned copies
of data can be used.
◆ Cloning can occur at the save set level.
◆ Copying can occur from one tape type (virtual) to another tape type (target tape
library), also known as tape conversion.
◆ Copying can occur from multiple virtual tapes to a single tape, also known as
tape stacking.
Disadvantages
The disadvantages of cloning data to physical tapes include the following:
◆ Requires storage node licenses.
◆ Requires maintenance of front-end SAN infrastructure to a target tape library as
well as the virtual tape library.
◆ Consumes SAN bandwidth as data must be from virtual tape over the SAN to a
target device on the SAN.
IMPORTANT
The following NetWorker server versions are required for successful NMM
cloning and recovery. Quick and effective recovery of NMM data from expired
or cloned data cannot be assured if the versions detailed are not used and the
recommendations and practices outlined in this guide and in the NetWorker
Procedure Generator are not followed.
NetWorker server 7.5.3 and earlier Cumulative build NetWorker server 7.5.4.2 or later
a. Data Domain to Data Domain cloning requires 7.6.1.5 or later. If Data Domain to Data Domain cloning is not used, then
NW 7.6.1.1 or higher can be used.
b. Data Domain to Data Domain cloning requires 7.6.1.5 or later. If Data Domain to Data Domain cloning is not used, then
NW 7.6.1.1 or higher can be used.
Note: The media database record is separate to the file index records.
The following topics provide an overview of the save sets created during a single
backup group:
◆ “Cover save set” on page 66
◆ “Rollover save set” on page 66
◆ “Metadata save set” on page 67
◆ “Display save set” on page 67
◆ “Dummy save set for Microsoft Exchange 2007 and Microsoft Exchange 2010
only” on page 67
◆ “Snap session ID” on page 68
Dummy save set for Microsoft Exchange 2007 and Microsoft Exchange 2010 only
A dummy save set is specific to passive node backups for Microsoft Exchange Server.
The dummy save set does not contain any data and is used as part of the NetWorker
scheduling workflow to manage index entries for the passive and active nodes. The
save set is not required as part of the recovery process and there is no requirement to
clone this save set.
Snap session ID
The snap session ID is a unique identifier that can be used to identify save sets that
belong to a single backup instance.
The *snap_sessionid attribute provides additional information on the media database
record that aids the NetWorker server and the NMM software in determining the
relationship among save sets. This information is stored in the Media Database
Record Attributes field. The *snap_sessionid attribute appears on all save sets created
by the NMM software.
The *snap_sessionid attribute has the following characteristics:
◆ Is filled in with a unique number that is generated at the start of running the
backup on the client. If multiple clients are in the group, each client will be
assigned its own *snap_sessionid value.
◆ Provides a grouping of save sets created for a single backup.
◆ Is used internally by the NMM and the NetWorker software.
◆ Can be used to inspect the media database query results to identify the group of
save sets for a single backup.
Figure 9 NMM Microsoft Exchange Server save sets that were created during a single run
Table 4 on page 69 provides a summary of the save sets within the media database
and was created by using the output from the following command:
mminfo -S -s NetWorker_server_name -q group=group_name
Note: To display the cover save sets, use -S in combination with the -q group=group_name
command. When used in combination with certain -r flags, the cover save sets are not
displayed.
APPLICATIONS:\Microsoft Exchange 2007\ Rollover (data) save set for the 4239685367 vF coverid:4256462581;
ThirdStorageGroup files of E:\ or F:\. *snap_sessionid:1286895022;
APPLICATIONS:\Microsoft Exchange 2007\ Rollover (data) save set for the 4206130936 vF *coverid:4222908151;
ThirdStorageGroup files of E:\ or F:\. *snap_sessionid:1286895022;
C:\ProgramData\EMC\NetWorker\LG_VSS_CLIE Metadata save set 4189353746 vrF *snap_sessionid:1286895022;
NT1275155189.xml *stream_metadata:Yes;
VSS:/ Display save set 4172576538 vKF *snap_sessionid:1286895022;
Figure 10 NMM save sets that were created from a single group
Other flags can be added to this command to limit the save sets that are displayed.
Note: The schedule cloning feature is supported in NetWorker release 7.5.x and later.
Automated cloning
Save sets can be automatically cloned when the backup group that contains the save
set has completed. Because the cloning occurs immediately after the group completes
this clone method is suitable for smaller environments, or a small number of clients
where the clone operations are required to be completed quickly and automatically as
part of the backup window:
To configure automated cloning:
1. Connect to the NetWorker server in NMC.
2. In the NetWorker Administration window, select Configuration.
3. Right-click the NMM group resource and then select Properties.
4. Specify the Clones option.
5. Select the clone pool that will be used to direct the NMM backups.
Note: Automated cloning identifies all of the NMM save sets without any further required
action.
Client name Yes Use the client name for the NMM host whose save sets will be cloned.
Note: The index backup will not be cloned if this option is selected.If the save set expires then indexes cannot be
recovered to make the save set browsable, but would require to run scanner.
Save set No Do not use this feature. There are multiple save set names for each backup.
Pool Yes This feature should not be used in combination with the group query option.
When a query is performed by media pool:
• Always determine if a separate snapshot pool was used.
• Include this pool in the query
Savetime range Yes Always observe the run times for the backup groups that are being cloned to ensure that the time range is sufficient.
5. Select Save Set List to generate the save set list based on the query specifications.
6. Select all of the required save sets that are to be cloned:
a. Right-click an item in the save set list and then click Clone.
b. In the Target Clone Media Pool list, select the appropriate clone pool and then
click OK.
Scheduled clone
Clone sessions can be run according to a schedule.
This method is suitable for environments where copies of the save sets are required to
be regularly provided as part of a well-defined maintenance cloning window. This
cloning window runs independent of the main backup operation.
Note: The schedule cloning feature is supported in NetWorker release 7.5.x and later.
Note: If the skip invalid save sets attribute is not selected, which is the default setting, an
invalid save set will stop the clone operation and generate an error message.
8. In the Limit number of save set clones attribute, specify a value to limit the
number of clones for each save set that might be produced in the clone pool for a
scheduled clone operation:
• Value of 1 allows only one clone to be made to the target pool for each save set.
For example, use this default value of 1 to manually restart an interrupted
clone operation. This creates only the missed clones, but does not reproduce
clones that were already successfully created.
• Value of 0 (zero) setting allows an unlimited number of duplicate clones.
Note: The NetWorker software allows only one unique save set clone to be stored on a
single volume. If duplicate or multiple clones of the same save set are created, each is
stored on a different volume in the pool.
Note: To reduce the use of resources, schedule clone operations to be performed after the
backup window have completed.
a. Select Enable to enable the clone session to run at its scheduled times.
b. In the Start Time attribute:
– Set the start time.
– Click the spin arrows or type values.
c. For the Calendar:
– Select either Weekly by day or Monthly by day.
– Select the days on which the clone session is to run.
– To repeat the clone session within a day, specify an Interval Time in hours.
For example:
– If the Start Time is 6 a.m., and the Interval Time is 6 hours, then the clone
session will run at the following times: 6 a.m., 12 p.m., and 6 p.m.
– If the Limit the number of save set clones value is set, then the repeat
clone session will fail after the limit is reached.
10. Select Save Set Filters and then specify the source save sets to include in the
scheduled clone session.
There are two main options:
• Select the clone save sets that match the selections and then limit the save sets
that are to be cloned.
IMPORTANT
When cloning NMM save sets, do not use this option as it is prone to error.
The metadata save set will have a different save set name for each backup.
To find save set and clone IDs, use either of the following methods:
– In the NetWorker Administration window, click Media and then select
Save Sets in the browser tree. Specify values for the search.
or
– Use the NetWorker mminfo command. The EMC NetWorker Administration
Guide provides details.
11. To review save set filter settings, click Preview Save Set Selection.
12. Click OK to save the scheduled clone session.
Volume cloning
When using the NMC volume cloning feature, ensure that all of the volumes that
were used in the NMM backup are included in the clone.
The NetWorker User program provides the required volumes report that will assist
you in determining the set of volumes to clone for a single NMM backup. The
following examples lists the procedures that should be used for an NMM backup of
Microsoft Exchange. The NetWorker Module Administration Guide for details on how to
obtain the required volumes report for other application types.
To verify that all of the volumes that were used in the NMM backup of Microsoft
Exchange are included in the clone:
1. On the NMM client, launch the NetWorker User for Microsoft Applications
program.
2. In the Client list, select the NMM client. From the left pane:
Note: If the NMM client is part of a cluster, select the virtual client.
a. For NMM 2.2.x, select Recover > Exchange Recover Session > Database.
b. For NMM 2.3, select:
– Recover > Exchange Recover Session > Database for Microsoft Exchange
2007 systems
– Recover > Exchange 2010 Recover Session > Database for Microsoft
Exchange 2010 systems
3. To change the backup time:
a. Click the Calendar icon.
b. Select the required date and time.
c. In the Browse window, select all of the backups that will be cloned.
4. To ensure that the correct full and all associated incremental or differential
backups have been selected:
a. Select one of the marked items.
b. Select Version.
c. Click Cancel.
Note: NetWorker volumes are not associated with a snapshot backup until the
snapshot has been rolled over to a NetWorker server. If you select to view the required
volumes for a system component or application data snapshot that has not been rolled
over, no volumes will be displayed.
Scripted cloning
Custom cloning scripts can be used for clone operation. However, custom cloning
scripts cannot be generated by the NetWorker software and require an experienced
administrator to create them. EMC Professional Services can assist with the creation
and testing of custom scripting solutions.
Custom cloning scripts use the NetWorker mminfo and nsrclone commands:
◆ The mminfo command is used to generate the list of save sets to clone.
◆ The nsrclone command is used to perform the clone operation and is given the
save set or the list of save sets to clone.
The EMC NetWorker Command Reference Guide provides detailed information about all
of the query specifications that are supported with the mminfo and nsrclone
commands.
mminfo -q
When using the mminfo -q command to generate the list of save sets to clone, you
can specify a number of attributes to constrain the save sets that are queried in the
media database.
The EMC NetWorker Command Reference Guide provides detailed information about all
of the query specifications that are supported with the mminfo and nsrclone
commands.
Table 6 on page 78 lists the following information:
◆ Attributes that are commonly used to specify a query.
◆ Considerations to ensure that all NMM save sets are cloned.
Attributes Considerations
Pool Query by pool is supported, but should not be used in combination with the group query option.
When a query is performed by media pool, always consider if a separate snapshot pool was used and include this pool in the
query.
Name Query by save set name is not recommended and is prone to error.
The metadata save set will have a different save set name for each backup.
Group Query by group name is supported but should not be used in combination with the pool query option.
mminfo -r
When using the mminfo command with the -r option to generate the list of save sets
to clone, there are a number of attributes that can be specified to limit the reported
save set information based on the query used.
IMPORTANT
When using the -r option, do not use sumflags, pool, or volume.
To validate any extended reporting queries, compare the output to the output of the
following command:
mminfo -S -s NetWorker_server_name -q group=group_name
This validation ensures that all of the save sets are reported.
The EMC NetWorker Command Reference Guide provides detailed information about all
of the query specifications that are supported with the mminfo and nsrclone
commands.
nsrclone
When using the nsrclone command to clone NMM save sets, there are a number of
options that can be specified.
Table 7 on page 79 lists the following information:
◆ Attributes that are commonly used to specify a query.
◆ Considerations to ensure that all NMM save sets are cloned.
-S [ssid [, ssid …] yes Scripts must ensure that all NMM save sets are listed.
-V [volid, [, volid …] yes Scripts must ensure that all volumes written to by an NMM
backup are supported.
-t, -e yes Scripts must ensure that all NMM save sets are included in
the time range.
All other options yes All other nsrclone options are supported.
The EMC NetWorker Command Reference Guide provides detailed information about all
of the query specifications that are supported with the mminfo and nsrclone
commands.
Recovery scenarios
When a recovery operation is initiated, there are two common assumptions about
recovery operation:
◆ That the recovery will be performed within a short period of time after the
backup (hours or days).
◆ That the recovery will use the original data volumes and that the backup server
will be fully operational. You can use the standard NetWorker recovery procedure
because the NMM backups are present in both the client file indexes and the
media database. “Required save sets and volumes for recovery of cloned data” on
page 82 provides details.
However, if the recovery operation occurs after the NetWorker browse or retention
periods have expired or following a site or building loss, then the metadata or
volumes may not be readily available and additional actions might be required. For
NMM application backups, a recovery can be successfully performed only if all of the
relevant save sets and associated metadata are available. Table 8 on page 81 details
the recovery scenarios and necessary actions.
Recovering original or clone data The NMM backups are present and browsable in both the client file indexes “Restoring cloned data that is
that is browsable. The save sets and in the media database. browsable in the client file index”
appear in both the client file index on page 96
and in the media database.
The browse period has elapsed and The client index information has been purged because the browse period “Restoring recyclable save sets to
the client file index entries have has elapsed. the client file index” on page 97
been purged. Although you can use the media database to identify the volumes and the
save sets, you cannot perform a partial or item-level recovery operation.
If the browse policy has elapsed, you can:
• Use the nsrck -L7 -t command to recover the client file index entries.
or
• Use the scanner command to recreate the client file index entries.
The browse and retention periods The media database entries have been marked as expired but the volume “Restoring recyclable save sets to
have both elapsed but the volume has not been recycled (relabeled). the client file index” on page 97
has not been recycled since the If the volume has not been recycled, then the media database entries will
data that is still within the retention still exist. You must mark the media database entries in the media database
period. as eligible for recovery.
The browse and retention periods If the volume has been recycled, then the media entries have been purged. “Selecting clone volumes to
have both expired and the volume In this case the data is longer available to recover from and alternative recover data from” on page 90
has been recycled. recovery sources will need to be used.
One or more volumes are missing Some or all of the original backup volumes are no longer available for • The EMC NetWorker
or are offline. restore: Administration Guide provides
• If the volumes are offsite or in storage, then they can be easily recalled detailed information.
and made available to the online NetWorker server so that the recovery • “Restoring save sets that are
operation can continue. In this situation the media database entries are not in the media database” on
still available and valid. A mount operation or library inventory may also page 101
be required to make the volumes available.
• If the media database entries are not available or are invalid, use the
scanner command to repopulate the media entries so that the
NetWorker server knows what data is on that volume.
The clone volume does not contain If the clone volumes do not contain all of the necessary data for the • “Restoring recoverable save
all of the save sets that are required recovery, then the number of available recovery options might be limited. sets to the client file index” on
to be recovered. Data might be able to be recovered, if: page 99
• The original bootstrap (media and client index) information is available. • “Restoring save sets that are
• The original volumes still exist and can be used for recovery. not in the media database” on
page 101
A recovery of that data might not be possible in cases where:
• No bootstrap backups exist for the period of time where the recovery is
requested.
• The original data volumes are missing or have been recycled.
The NetWorker server does not The NetWorker server has been rebuilt or has been recently recovered and The EMC NetWorker Disaster
have knowledge or any database all or most records of the previous backups are missing. Recovery Guide provides detailed
records of the backup. A full recovery of the media database and client file indexes is required information.
before any client recovery operation can be initiated. The recovery should
include media and client index entries for all the volumes, clients, and dates
available. This relies on the NetWorker server bootstrap backups.
where:
• NetWorker_server_name is the name of the NetWorker server host.
• NMM_client_name is the name of the NMM client host.
• group_name is the name of the group which contained the NMM client when
the backup occurred.
• date1 is at least one day before the date range of the NMM clone to be restored.
• date2 is at least one day after the date range of the NMM clone to be restored.
For example, to list the save set details which reside on a NetWorker server called
krkr-pdc.krkr.local, an NMM client named krkr8x64.krkr.local in a group called
grupa2 on dates Dec 14 13:48:00 2010 and Dec 15 13:57:00 2010, use the command:
mminfo -S -s krkr-pdc.krkr.local -c krkr8x64.krkr.local -q
"group=grupa2,savetime>12/14/2010 13:48:00,savetime<12/15/2010
13:57:00" > out3.txt
2. Edit the output.txt file, which resides in the same directory where the mminfo
command was run.
If the output file contains the following message, the media database does not
contain the NMM save sets for the client or query options specified:
mminfo: no matches found for the query
*ACTUAL_HOST: krkr8x64.krkr.local;
*ACTUAL_PATH: "E:";
*appid: 1;
*coverid: 4094109964;
*snap_sessionid: 1292314809;
group: Default;
Clone #1: cloneid=1292317204 time=14.12.2010 10:00:04
retent=14.12.2011 flags=F
frag@ 0 volid=2332165333 file/rec=4060555534/0 rn=0
last=14.12.2010
2. From this full rollover save set backup, record the following:
• ssid
• All unique cloneid values
• coverid
• *snap_sessionid
For example, for the full backup of "APPLICATIONS:\Microsoft Office
SharePoint Services" on krkr8x64 the values appear as follows:
• ssid =4060555534
• cloneid=1292317204
• *snap_sessionid=1292314809
• *coverid: 4094109964
2. Record the SSID and all unique cloneid values. For example, for the cover set of
full backup of "APPLICATIONS:\Microsoft Office SharePoint Services on
krkr8x64" the ssid=4094109964 appears as follows:
• ssid=3523700721
• cloneid=1292330993
• cloneid=1292332326
2. Make note of the following values for the VSS: save set:
• ssid
• All cloneid values
In this example, the values appear as follows:
• ssid =3859228981
• cloneid=1292317204
2. Make note of the following values for the XML save set:
• SSID
• Unique cloneid values
In this example the values are as follows:
• ssid=3456591868
• cloneid=1292331004
• cloneid=1292332326
Note: Do not use the procedures until you are familiar with all of the NMM save set
requirements.
Recovering data from media that has either expired or is recyclable requires that you
identify the NMM save sets for the backup:
◆ If you are know the list of required save sets that are to be recovered, perform the
steps outlined in “Using the backup time to list all of the cover save sets” on
page 87.
◆ If you do not know all of the required save sets that are to be recovered, perform
the steps outlined in“Using savetime to determine the full set of save sets to
recover” on page 87.
Using the backup time to list all of the cover save sets
If you are familiar with the required save set for the NMM software, you can use the
backup time to ensure that all of the cover save sets are displayed:
mminfo -v -ot -q "group=group_name,saveset>date1,saveset<date2"
-r "ssid, cloneid, nsavetime, ssflags, level, savetime(22), ssbrowse,
ssretent, name, client, volume" 1>output.txt 2>&1
where:
◆ group_name is the name of the group which contained the NMM client when the
backup occurred.
◆ date1 is at least one day before the date range of the NMM clone to be restored.
◆ date2 is at least one day after the date range of the NMM clone to be restored.
This query will return all of the save sets for the group in the time range specified.
The -ot flag sorts the save sets by time and the information is stored in a file called
output.txt. This file resides in the same directory from which the mminfo command
was run.
Note: If you experience restore issues using this easier method, use the procedures in
“Generating a media database listing of all of the NMM save sets” on page 83 to validate the
output.
IMPORTANT
If the backup that is to be restored was an incremental level backup or a
differential level backup, you must increase the savetime range to include the
sequence of the full and the level backups.
For example, use the following command to restore a backup that occurred on
4/28/2010:
mminfo -S -s bv-nwsvr-1 -c bv-exch-1 -q
"group=BV-EXCH-1_Group,savetime>4/27/2010,savetime<4/29/2010"
where:
• bv-exch-1 is the NMM client.
• bv-nwsvr-1 is the NetWorker server.
• BV-EXCH-1_Group is the group.
4. Identify the most recent full backup for the filesystem or application save set in
the mminfo report.
The full backup should be identified by using a rollover save set:
• Save set name of the application or filesystem.
• Save set name does not have the K in the sflags.
For example, a rollover save set for a full backup of APPLICATIONS:\Microsoft
Exchange 2007\ThirdStorageGroup would be:
ssid=4239685367 savetime=10/12/2010 7:55:51 AM (1286895351)
mb-mbox-2.mb2.emc.com:APPLICATIONS:\Microsoft Exchange
2007\ThirdStorageGroup
level=full
sflags=vF
size=14695900
files=16
insert=10/19/2010
create=10/12/2010 complete=10/12/2010 browse=11/20/2010 1:48:36 AM
retent=10/20/2011 1:49:25 AM
clientid=1db239da-00000004-4cb3dee0-4cb3dedc-00045000-a134ae56
*ACTUAL_HOST: mb-mbox-2.mb2.emc.com;
*ACTUAL_PATH: \
C:\\Program
Files\\Legato\\nsr\\tmp\\SnapshotMountPoint\\3776-1286895116-1";
*appid: 1;
*coverid: 4256462581;
*snap_sessionid: 1286895022;
group: MB-MBOX-2_Exchange;
Clone #1: cloneid=1286895351 time=10/12/2010 7:55:51 AM
retent=10/20/2011 flags=F
frag@0 volid=4273201045 file/rec=4239685367/0 rn=0 last=10/19/2010
7. Find the additional cover save sets and their associated rollover save sets:
a. Use the *snap_sessionid found in step 4 on page 88 to search for other covers
and rollover save sets that match the save set name that is being restored.
b. Make note of the rollover and cover save set IDs for later.
8. Identify the display (VSS:/) save set:
a. Search for the save set name for the following:
– VSS:/
– *snap_sessionid
b. Make note of the save set ID for later.
For example, the matching VSS:/ save set appears as follows:
ssid=4172576538 savetime=10/12/2010 7:56:26 AM (1286895386)
bv-exch-1:VSS:/
level=full sflags=vKF
size=6868
files=6
insert=10/19/2010
create=10/12/2010 complete=10/12/2010 browse=1/25/2038 9:00:41 PM
retent=1/25/2038 9:02:59 PM
clientid=1db239da-00000004-4cb3dee0-4cb3dedc-00045000-a134ae56
*coverset: Yes;
*snap_sessionid: 1286895022;
group: BV-EXCH-1_Group;
Clone #2: cloneid=1287511204 time=10/19/2010 11:00:04 AM
retent=1/25/2038
flags=F
frag@0 volid=4273851359 file/rec=4172576538/0
rn=0 last=10/19/2010
The volumes required for recovery appear in the Required Volumes window of the
NetWorker User program. The EMC NetWorker Administration Guide provides
information on viewing volumes that are required for data recovery.
You can also run the scanner program on a clone volume to rebuild entries in the
client file index, the media database, or both. After you re-create the entries, normal
recovery is available. The EMC NetWorker Administration Guide provides information
on restoring a save set entry in the online indexes.
Configuration considerations
The configuration considerations differ for each application that is supported by the
NMM software:
◆ “Microsoft DPM” on page 91
◆ “Microsoft Exchange Server 2007 and 2010” on page 92
◆ “Microsoft Hyper-V” on page 94
◆ “Microsoft SharePoint 2007 and 2010” on page 94
◆ “Microsoft SQL 2005 SP4, 2008 SP2, and 2008 R2” on page 95
Microsoft DPM
When restoring Microsoft DPM data from clone save sets, consider the following.
Serialized rollover
The NMM software will serialize rollovers for individual Microsoft DPM save sets.
For larger Microsoft DPM configurations, the NetWorker group may take more than
24-hours to complete.
When performing the cloning restore procedures to identify volumes and save sets,
consider the backup window for the original backup might have spanned a 24-hour
period.
Typical configurations
Table 9 on page 92 lists factors to consider for a typical NMM configuration for
Microsoft Exchange Server 2007 and Microsoft Exchange Server 2010 when selecting
clone save sets.
Note: Microsoft Exchange Server 2010 is supported in only NMM 2.3 and later.
Factor Description
Multiple NetWorker groups Multiple NetWorker groups are deployed for a single Microsoft Exchange Server
according to the configuration requirements of the NMM software.
Microsoft Exchange storage group save The Microsoft Exchange Storage Group save sets are listed in the Client resource
sets according to the configuration requirements of the NMM software. There may be one or
many storage group save sets per NMM client.
Frequent backup failures Backup failures might occur in Microsoft Exchange Server environments and this may
cause multiple retries within a 24-hour period. Failures might result in partially
successful backups that should be included in the restore process.
Note: Although Microsoft currently supports 50 Exchange storage groups per Microsoft
Exchange Server, the NetWorker software supports a maximum of 16 Exchange storage groups
per Exchange Server in a single NetWorker backup group.
Log chain
If you are restoring to an incremental backup, restore the full set of backups from the
time of the full backup to the time of the incremental backup.
Note: If the application server is on a virtual host, run this command from the physical
node that is currently hosting the application server.
• In an Exchange 2007 CCR environment, type the following on both the active
and passive nodes as one line:
nsrsnap_vss_save -c physical_server_name -A
NSR_VIRT_SERV=virtual_server_name -?
where:
– physical_server_name is the name of the physical NetWorker server in the
environment.
– virtual_server_name is the name of the virtual NetWorker server in the
environment.
• If the Microsoft Exchange 2010 server is a stand-alone node, type:
nsrsnap_vss_save -?
Microsoft Hyper-V
When restoring Microsoft Hyper-V data from clone save sets, consider the following.
• If the application server is on a virtual host, type the following command from
the physical node that is currently hosting the application server:
nsrsnap_vss_save -c virtual_server_name -?
• If the application server is on a virtual host, type the following command from
the physical node that is currently hosting the application server.
nsrsnap_vss_save -c virtual_server_name -?
Recovery tasks
This section discusses recovery from cloned save sets to help you identify what save
sets are required, and ensure that these save sets are in a state that can be used for
recovery:
◆ “Restoring cloned data that is browsable in the client file index” on page 96
◆ “Restoring recyclable save sets to the client file index” on page 97
◆ “Restoring recoverable save sets to the client file index” on page 99
◆ “Restoring save sets that are not in the media database” on page 101
To restore the data from full and incremental backups:
◆ For each backup, repeat the tasks listed in this section until all of the incremental
backups that occurred after the full backups have been recorded.
◆ To restore multiple clients, repeat the recovery tasks for each client.
Note: If the NMM client is part of a cluster, select the virtual client.
where
• time1 is the required retention time.
• time2 is the required browse time.
• SSID is the save set value recorded for each display and cover save set from
the output of the mminfo command.
If the cloneid is not identified with the -S option, the following error message
appears:
Save set ssid cannot be marked as notrecyclable. Please specify the
ssid/cloneid of the particular clone instance.
2. For each save set, use its associated SSID and cloneid that is recorded in “NMM
save sets” on page 65, to reset the save set to expired/recoverable:
nsrmm -o notrecyclable -S SSID/cloneid
3. Repopulate the client file index with the save set information:
nsrck -L 7 -t date client 1>nsrck.txt 2>&1
where:
• date is a date after the completion of the latest save set that will be restored.
• client is the name of the NMM client.
Note: Ensure that the volume containing the index backup is available for mounting.
4. Review the output in nsrck.txt for errors once the command has completed:
• If the following messages are reported, type the following command:
nsrck -L 2 client
• File attribute messages such as the following will not impact the NMM restore
and can be safely ignored:
32222:uasm: Warning: Some file attributes were not recovered:
C:\Program
Files\Legato\nsr\index\clientname\db6\tmprecov\C\Program
Files\Legato\nsr\index\clientname\db6\
• If the nsrck command fails with the error "xxxxx", the index backup might no
longer be referenced in the media database. Use the following command to
scan all SSIDs recorded for the cover, display, metadata and rollover save sets:
scanner -i -S SSID device
where:
– SSID is the save set id of the save set that will be restored.
– device is the device containing the volume for the save set to be restored.
5. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
6. For each metadata and rollover save set, modify the browse times of the existing
save sets, if browse and retention times set by scanner are not a long enough
duration to complete recovery procedures:
nsrmm -s NetWorker_server_name -w time2 -S SSID
where:
• NetWorker_server_name is the name of the NetWorker server.
• time2 is the new browse time.
• SSID is the save set value recorded for each metadata or rollover save set.
Note: Ensure that the new browse dates for the save sets are far enough in the future to
allow sufficient time for the restore to complete.
7. Restore the data. “Restoring cloned data that is browsable in the client file index”
on page 96 provides detailed information.
“Troubleshooting NMM clone operations” on page 108 provides information to assist
if issues are encountered during the restore operation.
where:
• NetWorker_server_name is the name of the NetWorker server.
• time1 is the new retention time.
• SSID is the save set value recorded for each metadata or rollover save set in
“NMM save sets” on page 65.
Note: Ensure that the new browse and retention dates for the save sets are far enough in
the future to allow sufficient time for the restore operation to complete.
2. Repopulate the client file index on the NetWorker server with the save set
information:
nsrck -L 7 -t date client 1>nsrck.txt 2>&1
where:
• date is a date after the completion of the latest save set that will be restored.
• client is the name of the NMM client.
Note: Ensure that the volume containing the index backup is available for mounting.
3. Review the output in nsrck.txt for errors once the command has completed.
Consider the following:
• If the following messages are reported, run the following command:
nsrck -L 2 client
• File attribute messages such as the following will not impact the NMM restore
and can be safely ignored:
32222:uasm: Warning: Some file attributes were not recovered:
C:\Program
Files\Legato\nsr\index\clientname\db6\tmprecov\C\Program
Files\Legato\nsr\index\clientname\db6\
• If the nsrck command fails with the error "xxxxx", the index backup might no
longer be referenced in the media database. Use the following command to
scan all SSIDs recorded for the cover, display, metadata and rollover save sets:
scanner -i -S SSID device
where:
– SSID is the save set id of the save set that will be restored.
– device is the device containing the volume for the save set to be restored.
4. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
5. For each metadata and rollover save set, modify the browse times of the existing
save sets. If browse and retention times set by scanner are not a long enough
duration to complete recovery procedures:
nsrmm -s NetWorker_server_name -w time2 -S SSID
where:
• NetWorker_server_name is the name of the NetWorker server.
• time2 is the new desired browse time.
• SSID is the save set value recorded for each metadata or rollover save set.
100 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
NetWorker Module for Microsoft Applications
Note: Ensure that the new browse dates for the save sets are far enough in the future to
allow sufficient time for the restore to complete.
6. Restore the data. “Restoring cloned data that is browsable in the client file index”
on page 96 provides detailed information.
“Troubleshooting NMM clone operations” on page 108 provides information to assist
if issues are encountered during the restore operation.
Task 2: Identify the clone volumes that are required for scanning
The scanning procedure is used to rebuild index and media database entries:
◆ When restoring from a full backup, the volumes from the date of the full backup
are required to recover the data from.
◆ When restoring from an incremental backup, the volumes from the day of the
incremental backup to the most recent full backup are required to recover the data
from.
Note: If other volumes are required to be scanned, review “Selecting clone volumes to recover
data from” on page 90 to identify what save sets are missing so that the additional volumes can
be retrieved.
Task 4: Recover the clone save sets that do not exist in the media database
If the NMM clone save sets that are required for a restore operation are no longer in
the media database, you must scan the clone volumes to regenerate the media and
index database for these save sets. You can use the scanner command to scan the
volumes.
To scan the required volume:
1. Mount the volume containing the clone save sets into the drive.
Note: If the volume itself is no longer in the NetWorker media database, choose the option
load without mount while loading the tape.
2. From a command prompt on the NetWorker server, obtain a listing of the save
sets on the clone volume to generate a report of the save sets on the volume. Use
the following command:
scanner -v device 1>scanner_output.txt 2>&1
or
scanner -v \\.\Tape0 1>scanner_output.txt 2>&1
102 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
NetWorker Module for Microsoft Applications
3. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
4. Open the scanner_output.txt file, which resides in the same directory the scanner
command was run from.
5. If the scanner_output.txt file displays only the following message:
scanner: SYSTEM error: Cannot stat <device_name>: No such file or
directory
a. Check the device name specified in the scanner command for errors.
b. Retry the scanner command with the correct device name.
Note: Since you might not be able to determine what happened, include redundant save
sets in the list to scan.
◆ All of these save sets must be scanned even when restoring only an individual
application object. This is because it is not possible to determine which rollover
save sets are needed without scanning them in first.
◆ When using the scanner command, the cover save sets must be scanned in before
the rollover save sets. This allows for any repair of the *coverid and the
*connected save sets attributes if required. You can distinguish the rollover save
sets from their covers by save set size:
• Cover save sets are approximately 1 MB or less.
• Rollover save sets are the size of the data backed up.
Note: The SSID values will be used later in the procedure to scan the save sets back into
the media database and the savetime will be used to validate that the repopulation of
the client file index was successful.
For example, the rollover/cover set save set name for client krkr8x64
(SharePoint webfront server) is APPLICATIONS:\Microsoft Office SharePoint
Services. The date of the point in time restore to be performed is December 14,
2010:
Searching for the string "APPLICATIONS:\Microsoft Office
SharePoint Services 12/14/2010" provides the following entries
in the file for client krkr8x64:
client name save set save time level size files ssid
S
krkr8x64.krk APPLICATIONS:\Microsoft Office SharePoint Services
12/14/10 9:21 f 4 0 4094109964 E
krkr8x64.krk APPLICATIONS:\Microsoft Office SharePoint Services
12/14/10 9:21 f 344 1 4060555534 E
104 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
NetWorker Module for Microsoft Applications
IMPORTANT
If the date of the point-in-time restore was an incremental or differential
backup level as denoted by the value in the level column, all save sets from the
point-in-time restore to the last full level restore must be identified. In some
cases, the associated full backup might be on a different volume.
3. Determine the following for the VSS save set for the client:
• SSID
• Savetime
For example, searching for VSS: reveals the following save set for client krkr8x64
on December 14, 2010:
client name save set save time level size files ssid S
krkr8x64.krk VSS:/ 12/14/10 9:22 f 14572 14 3859228981 E
Based on this output, the backup performed on December 14 was a full backup
and SSID 3859228981 with a savetime of 12/14/10 9:22 is recorded.
IMPORTANT
If the date of the point-in-time restore was an incremental or differential
backup level as denoted by the value in the level column, all save sets from the
point-in-time restore to the last full must be identified. In some cases, the
associated full backup might be on a different volume.
4. Determine the SSID for the metadata save set for the client.
For example, searching for LG_VSS_Client reveals the following save set for client
krkr8x64.krk on Dec 14, 2010:
client name save set save time level size files ssid S
krkr8x64.krk
C:\ProgramData\EMC\NetWorker\LG_VSS_CLIENT1492044633.xml 12/14/10
9:21 f 1296680 1 3892783398 E
Based on this output, the backup performed on December 14 was a full backup
and SSID 3892783398 is recorded.
IMPORTANT
If the date of the point-in-time restore was an incremental or differential backup
level as denoted by the value in the level column, all save sets from the
point-in-time restore to the last full must be identified. In some cases, the
associated full backup might be on a different volume.
Task 6: Scan the required save sets into the media database and the client file index
Depending on your IT procedures and urgency of the restore request, you might
choose to scan individual save sets from the clone volumes. Scanning should be run
to regenerate both the media database and client file index entries.
Consider:
◆ The cover save sets must be scanned into the media database and client file
indexes before the metadata and rollover save sets are scanned in.
◆ It is not possible to specify the scanning order when save sets are supplied
through the -S parameter to scanner.
◆ Save sets are scanned based on their order on the volume. As such, it may be
necessary to scan the rollover save sets twice. The rollovers are initially identified
from the scanner save set report by using the save set size.
◆ When scanning the metadata and rollover save sets the -y option is used to
establish a new retention policy for the save set. Once these save sets have been
scanned back into the media database, the browse time will be reset with the
nsrmm command.
The end-to-end process of recovering from scanned clones might take several
days, so resetting the browse and retention times to a sufficient point-in-time in
the future will help to ensure that the scanned save sets do not prematurely expire
before you are finished restoring the data.
To scan the required save sets into the media database and the client file index:
1. Use the following command to scan cover save sets:
scanner -i -S SSID device 1>scanneri.txt 2>&1
where:
• SSID is the SSID recorded for save set.
• device is the device with media that contains the save set.
2. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
IMPORTANT
It is critical that the cover save sets be scanned first.
106 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
NetWorker Module for Microsoft Applications
Task 7: Validate that the save sets are in the client file index
For each save set that was scanned, you can use the nsrinfo command to validate that
the data has been repopulated in the client file index.
To validate that the save sets are in the client file index:
1. During the inspection of the scanner output, review the savetime recorded for
each of the following save sets:
• Cover
• Display
• Rollover
2. Run the nsrinfo command against each savetime to confirm that the client file
index was populated with the necessary save set details:
nsrinfo -t exact_savetime client
where:
• exact_savetime is the savetime recorded from the scanner output.
• client is the name of the NMM client.
For example:
nsrinfo -t 1292314893 krkr8x64
scanning client `krkr8x64' for savetime 1292314893(14.12.2010
09:21:33) from the backup namespace
C:\LG_PLACEHOLDER_1492021383
1 objects found
3. For all recorded savetimes, run the nsrinfo command against each savetime to
confirm that the client file index was populated with the necessary save set
details:
nsrinfo -t exact_savetime client
where:
• exact_savetime is the savetime recorded from the scanner output.
• client is the name of the NMM client.
Task 8: How to generate a media database listing of all of the save sets
“Generating a media database listing of all of the NMM save sets” on page 83
provides detailed information.
Task 9: Validate that the metadata save sets are in the media database
For each metadata save set that was scanned, inspect the output.txt output to ensure
that the XML files are present.
Note: Metadata save sets do not have index entries, as result the ssflags value for the save set
will never be browsable.
Backup version does not display in the NetWorker • Missing VSS:/ save set. “Displaying the backup versions in the GUI” on
User GUI • Missing VSS:/ indexes. page 46
• Missing coverset and rollover save set.
Restore fails when recovering metadata save set Missing metadata save set. “Unable to read metadata save set” on page 109
Restore fails when restoring the files • Missing coverset and rollover save set. • “Cover save set” on page 66
• Missing rollover save set indexes. • “Failure to restore cover save sets” on
page 110
◆ For DPM:
NMM DPM: Operation unit failed with error APPLICATIONS:\Microsoft
DPM\ <DPM replica> not in index
108 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
NetWorker Module for Microsoft Applications
Note: The metadata save set contains a single XML document. This XML document is a file
mapping section and consists of information regarding the files to restore and their
corresponding cover save set times.
With NetWorker Module for Microsoft Applications 2.2 SP1, the failure to restore the
metadata save set will be indicated in nsr\applogs\nmm.raw. The last line of the log
file will be:
NMM start restore of metadata key for savetime xxxxx.
3. Confirm that the value in the savetime column matches the savetime reported in
the nmm.raw file.
Note: Metadata save sets do not have client file index entries so it is not necessary to make
these save sets browsable.
4. If the metadata save set with the savetime reported in the nmm.raw file is not
found in the mminfo output, run the procedure in “Restoring save sets that are
not in the media database” on page 101.
To validate this:
1. Run the mminfo command against the SSIDs noted during the restore procedures
for the rollover save sets.
2. Ensure that the rollover save sets are browsable.
110 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
6
NetWorker Module
for Databases and
Applications
IMPORTANT
NMDA does not support save set bundling for regular manual backups or EMC
PowerSnap snapshot backups. NMDA performs save set bundling for regular
scheduled Oracle backups only.
Note: After a staging operation during which all the save sets in a bundle are staged, the
resulting available space on the staging device might exceed the lower-water mark specified in
the staging policy.
The EMC NetWorker Administration Guide provides details on how to work with
staging policies and perform automatic and manual staging operations through the
NetWorker server.
The EMC NetWorker Module for Databases and Applications Administration Guide
provides information on how to configure save set bundling for NMDA scheduled
backups.
If an error occurs during save set bundling, the bundling operation fails but the
scheduled backup can finish successfully. Information about the bundling failure is
printed to the savegrp output and to the NMDA debug file.
112 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
NetWorker Module for Databases and Applications
◆ The name that the nsrdasv program assigns to a save set bundle is the save time
of the oldest save set in the bundle.
◆ After a scheduled backup, the NetWorker server stores the save set bundle name
and the list of save sets it contains in the media database.
You can view the bundle information by using the mminfo command, as described in
“Save set bundling information in the media database” on page 114.
Example 1 Save set bundling for a 1-week scheduled backup cycle of a tablespace
This example illustrates a scenario where NMDA combines existing bundles into a
new save set bundle.
Two save set bundles are created by separate level 0 backups of files A and B. Then a
new backup set is created by a level 1 backup of both files A and B. As the new backup
set is dependent on both of the preceding level 0 backups, NMDA combines all three
backups into the same save set bundle.
In this example, a save set bundle is split across multiple volumes. A level 0 backup
of file A is performed to volume A. An incremental backup of file A is then
performed to volume B. Although both backups are recorded as belonging to the
same save set bundle, the save set bundle is split across volumes. During staging,
only the save sets on the same volume can be staged together.
◆ The mminfo -q command can display all the save sets in a specific bundle. For
example, the following command displays all the save sets in the bundle named
12983479182:
mminfo -a -q "ssbundle=12983479182"
The EMC NetWorker Command Reference Guide and the UNIX man pages provide more
information on the mminfo command and its available options.
114 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
NetWorker Module for Databases and Applications
Note: NMDA does not support policy uniformity for regular manual backups and PowerSnap
snapshot backups. NMDA supports policy uniformity for regular scheduled backups only.
Policy uniformity does not depend on whether save sets are stored on separate
volumes. For example, if parts of a save set bundle are split onto separate volumes, all
the save sets in the bundle still receive the same browse and retention policies.
The EMC NetWorker Module for Databases and Applications Administration Guide
provides information on how to configure policy uniformity for NMDA backups.
116 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
7
Recovering Data
from Clones
Clones recovery
When using cloning, ensure that you can recover the cloned save sets for all of the
recovery scenarios that are expected to occur. These recovery scenarios and the steps
to recover the cloned save sets are likely to be specific to the situation. “Recovery
scenarios” on page 118 provides details.
To ensure that the recovery of cloned data:
◆ Verify that all relevant recovery scenarios have been accounted for as described in
“Recovery scenarios” on page 118. For example, if you expect to rely on the clone
copy for recovery, then you must ensure that the recovered save sets come from
the clone copy and not from the original volume. This is important for situations
where both or all copies are available, as well as when the original is not.
“Selecting clone volumes to recover data from” on page 123 provides details.
◆ Ensure that all the required save sets and volumes are available for recovery.
“Required save sets and volumes for recovery of cloned data” on page 120
provides detailed information.
◆ Ensure that recovery procedures are in place and have been regularly tested as
described in “Recovery tasks” on page 124.
Recovery scenarios
When a recovery operation is initiated, there are two common assumptions about
recovery operation:
◆ That the recovery will be performed within a short period of time after the
backup (hours or days).
◆ That the recovery will use the original data volumes and that the backup server
will be fully operational. You can use the standard NetWorker recovery
procedure because the backups are present in both the client file indexes and the
media database. “Required save sets and volumes for recovery of cloned data” on
page 120 provides details.
However, if the recovery operation occurs after the NetWorker browse or retention
periods have expired or following a site or building loss, then the volumes may not
be readily available and additional actions might be required. Table 11 on page 119
details the recovery scenarios and necessary actions.
118 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Recovering Data from Clones
Recovering original or clone data The backups are present and browsable in both the client file indexes and “Restoring cloned data that is
that is browsable. The save sets in the media database. browsable in the client file index”
appear in both the client file index on page 124
and in the media database.
The browse period has elapsed and The client index information has been purged because the browse period “Restoring recyclable save sets to
the client file index entries have has elapsed. the client file index” on page 128
been purged. Although you can use the media database to identify the volumes and the
save sets, you cannot perform a partial or item-level recovery operation.
If the browse policy has elapsed, you can:
• Use the nsrck -L7 -t command to recover the client file index entries.
or
• Use the scanner command to recreate the client file index entries.
The browse and retention periods The media database entries have been marked as expired but the volume “Restoring recyclable save sets to
have both elapsed but the volume has not been recycled (relabeled). the client file index” on page 128
has not been recycled since the If the volume has not been recycled, then the media database entries will
data that is still within the retention still exist. You must mark the media database entries in the media database
period. as eligible for recovery.
The browse and retention periods If the volume has been recycled, then the media entries have been purged. “Selecting clone volumes to
have both expired and the volume In this case the data is longer available to recover from and alternative recover data from” on page 123
has been recycled. recovery sources will need to be used.
One or more volumes are missing Some or all of the original backup volumes are no longer available for • The EMC NetWorker
or are offline. restore: Administration Guide provides
• If the volumes are offsite or in storage, then they can be easily recalled detailed information.
and made available to the online NetWorker server so that the recovery • “Restoring save sets that are
operation can continue. In this situation the media database entries are not in the media database” on
still available and valid. A mount operation or library inventory may also page 130
be required to make the volumes available.
• If the media database entries are not available or are invalid, use the
scanner command to repopulate the media entries so that the
NetWorker server knows what data is on that volume.
The clone volume does not contain If the clone volumes do not contain all of the necessary data for the • “Restoring recoverable save
all of the save sets that are required recovery, then the number of available recovery options might be limited. sets to the client file index” on
to be recovered. Data might be able to be recovered, if: page 126
• The original bootstrap (media and client index) information is available. • “Restoring save sets that are
• The original volumes still exist and can be used for recovery. not in the media database” on
page 130
A recovery of that data might not be possible in cases where:
• No bootstrap backups exist for the period of time where the recovery is
requested.
• The original data volumes are missing or have been recycled.
The NetWorker server does not The NetWorker server has been rebuilt or has been recently recovered and The EMC NetWorker Disaster
have knowledge or any database all or most records of the previous backups are missing. Recovery Guide provides detailed
records of the backup. A full recovery of the media database and client file indexes is required information.
before any client recovery operation can be initiated. The recovery should
include media and client index entries for all the volumes, clients, and dates
available. This relies on the NetWorker server bootstrap backups.
where:
• NW_server_name is the name of the NetWorker server host.
• NW_client_name is the name of the NetWorker client host.
• group_name is the name of the group which contained the NetWorker client
when the backup occurred.
• date1 is at least one day before the date range of the NetWorker clone to be
restored.
• date2 is at least one day after the date range of the NetWorker clone to be
restored.
120 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Recovering Data from Clones
For example, to list the save set details which reside on a NetWorker server called
krkr-pdc.krkr.local, an NMM client named krkr8x64.krkr.local in a group called
grupa2 on dates Dec 14 13:48:00 2010 and Dec 15 13:57:00 2010, use the command:
mminfo -S -s krkr-pdc.krkr.local -c krkr8x64.krkr.local -q
"group=grupa2,savetime>12/14/2010 13:48:00,savetime<12/15/2010
13:57:00" > out3.txt
2. Edit the output.txt file, which resides in the same directory where the mminfo
command was run.
If the output file contains the following message, the media database does not
contain the NetWorker save sets for the client or query options specified:
mminfo: no matches found for the query
Note: Do not use the procedures until you are familiar with all of the save set requirements.
Recovering data from media that has either expired or is recyclable requires that you
identify the save sets for the backup:
◆ If you are know the list of required save sets that are to be recovered, perform the
steps outlined in “Using the backup time to list all of the save sets” on page 122.
◆ If you do not know all of the required save sets that are to be recovered, perform
the steps outlined in “Using savetime to determine the full set of save sets to
recover” on page 122.
Required save sets and volumes for recovery of cloned data 121
Recovering Data from Clones
where:
◆ group_name is the name of the group which contained the NetWorker client when
the backup occurred.
◆ date1 is at least one day before the date range of the NetWorker clone to be
restored.
◆ date2 is at least one day after the date range of the NetWorker clone to be restored.
This query will return all of the save sets for the group in the time range specified.
The -ot flag sorts the save sets by time and the information is stored in a file called
output.txt. This file resides in the same directory from which the mminfo command
was run.
Note: If you experience restore issues using this easier method, use the procedures in
“Generating a media database listing of all of the save sets” on page 120 to validate the output.
! IMPORTANT
If the backup that is to be restored was an incremental level backup or a
differential level backup, you must increase the savetime range to include the
sequence of the full and the level backups.
122 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Recovering Data from Clones
For example, use the following command to restore a backup that occurred on
4/28/2010:
mminfo -S -s bv-nwsvr-1 -c bv-accounting-1 -q
"group=BV-accounting-1_Group,savetime>4/27/2010,savetime<4/29/2
010"
where:
• bv-accounting-1 is the NetWorker client.
• bv-nwsvr-1 is the NetWorker server.
• BV-accounting-1_Group is the group.
4. Identify the most recent full backup for the filesystem save set in the mminfo
report.
The full backup should be identified by using a rollover save set:
• Save set name of the filesystem.
• Save set name does not have the K in the sflags.
5. Obtain the *snap_sessionid from the full backup.
Required save sets and volumes for recovery of cloned data 123
Recovering Data from Clones
The volumes required for recovery appear in the Required Volumes window of the
NetWorker User program. The EMC NetWorker Administration Guide provides
information on viewing volumes that are required for data recovery.
You can also run the scanner program on a clone volume to rebuild entries in the
client file index, the media database, or both. After you re-create the entries, normal
recovery is available. The EMC NetWorker Administration Guide provides information
on restoring a save set entry in the online indexes.
Recovery tasks
This section discusses recovery from cloned save sets to help you identify what save
sets are required, and ensure that these save sets are in a state that can be used for
recovery:
◆ “Restoring cloned data that is browsable in the client file index” on page 124
◆ “Restoring recoverable save sets to the client file index” on page 126
◆ “Restoring recyclable save sets to the client file index” on page 128
◆ “Restoring save sets that are not in the media database” on page 130
To restore the data from full and incremental backups:
◆ For each backup, repeat the tasks listed in this section until all of the incremental
backups that occurred after the full backups have been recorded.
◆ To restore multiple clients, repeat the recovery tasks for each client.
where
• time1 is the required retention time.
• time2 is the required browse time.
• SSID is the save set value recorded for each save set from the output of the
mminfo command.
If the cloneid is not identified with the -S option, the following error message
appears:
Save set ssid cannot be marked as notrecyclable. Please specify the
ssid/cloneid of the particular clone instance.
124 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Recovering Data from Clones
2. For each save set, use its associated SSID and cloneid that is recorded in the List
Required Save sets section to reset the save set to expired/recoverable:
nsrmm -o notrecyclable -S SSID/cloneid
3. Repopulate the client file index with the save set information:
nsrck -L 7 -t date client 1>nsrck.txt 2>&1
where:
• date is a date after the completion of the latest save set that will be restored.
• client is the name of the NetWorker client.
Note: Ensure that the volume containing the index backup is available for mounting.
4. Review the output in nsrck.txt for errors once the command has completed:
• If the following messages are reported, type the following command:
nsrck -L 2 client
• File attribute messages such as the following will not impact the restore and
can be safely ignored:
32222:uasm: Warning: Some file attributes were not recovered:
C:\Program
Files\Legato\nsr\index\clientname\db6\tmprecov\C\Program
Files\Legato\nsr\index\clientname\db6\
• If the nsrck command fails with the error "xxxxx", the index backup might no
longer be referenced in the media database.
Use the following command to scan all SSIDs recorded for each save set:
scanner -i -S SSID device
where:
– SSID is the save set id of the save set that will be restored.
– device is the device containing the volume for the save set to be restored.
5. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
6. For each save set, modify the browse times of the existing save sets, if browse and
retention times set by scanner are not a long enough duration to complete
recovery procedures:
nsrmm -s NetWorker_server_name -w time2 -S SSID
where:
• NetWorker_server_name is the name of the NetWorker server.
• time2 is the new browse time.
• SSID is the save set value recorded for each save set.
7. Ensure that the new browse dates for the save sets are far enough in the future to
allow sufficient time for the restore to complete.
8. Restore the data. The EMC NetWorker Administration Guide provides detailed
information.
where:
• NetWorker_server_name is the name of the NetWorker server.
• time1 is the new retention time.
• SSID is the save set value recorded for save set.
Note: Ensure that the new browse and retention dates for the save sets are far enough in
the future to allow sufficient time for the restore operation to complete.
2. Repopulate the client file index on the NetWorker server with the save set
information:
nsrck -L 7 -t date client 1>nsrck.txt 2>&1
where:
• date is a date after the completion of the latest save set that will be restored.
• client is the name of the NetWorker client.
Note: Ensure that the volume containing the index backup is available for mounting.
3. Review the output in nsrck.txt for errors once the command has completed.
Consider the following:
• If the following messages are reported, run the following command:
nsrck -L 2 client
126 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Recovering Data from Clones
Messages:
19779:nsrck: Please run ``nsrck clientname''
9348:nsrck: The index recovery for ' clientname ' failed.
39078:nsrck: SYSTEM error: The operation completed successfully.
• File attribute messages such as the following will not impact the NetWorker
restore and can be safely ignored:
32222:uasm: Warning: Some file attributes were not recovered:
C:\Program
Files\Legato\nsr\index\clientname\db6\tmprecov\C\Program
Files\Legato\nsr\index\clientname\db6\
• If the nsrck command fails with the error "xxxxx", the index backup might no
longer be referenced in the media database. Use the following command to
scan all SSIDs recorded for each save set:
scanner -i -S SSID device
where:
– SSID is the save set id of the save set that will be restored.
– device is the device containing the volume for the save set to be restored.
4. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
5. For each save set, modify the browse times of the existing save sets. If browse and
retention times set by scanner are not a long enough duration to complete
recovery procedures:
nsrmm -s NetWorker_server_name -w time2 -S SSID
where:
• NetWorker_server_name is the name of the NetWorker server.
• time2 is the new desired browse time.
• SSID is the save set value recorded for each save set.
Note: Ensure that the new browse dates for the save sets are far enough in the future to
allow sufficient time for the restore to complete.
6. Restore the data. The EMC NetWorker Administration Guide provides detailed
information.
where:
• time1 is the required retention time.
• time2 is the required browse time.
• SSID is the save set value recorded for each save set from the output of the
mminfo command.
If the cloneid is not identified with the -S option, the following error message
appears:
Save set ssid cannot be marked as notrecyclable. Please specify the
ssid/cloneid of the particular clone instance.
2. For each save set, use its associated SSID and cloneid that is recorded in the List
Required Save sets section to reset the save set to expired/recoverable:
nsrmm -o notrecyclable -S SSID/cloneid
3. Repopulate the client file index with the save set information:
nsrck -L 7 -t date client 1>nsrck.txt 2>&1
where:
• date is a date after the completion of the latest save set that will be restored.
• client is the name of the NetWorker client.
Note: Ensure that the volume containing the index backup is available for mounting.
4. Review the output in nsrck.txt for errors once the command has completed:
• If the following messages are reported, type the following command:
nsrck -L 2 client
• File attribute messages such as the following will not impact the NetWorker
restore and can be safely ignored:
32222:uasm: Warning: Some file attributes were not recovered:
C:\Program
Files\Legato\nsr\index\clientname\db6\tmprecov\C\Program
Files\Legato\nsr\index\clientname\db6\
128 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Recovering Data from Clones
• If the nsrck command fails with the error "xxxxx", the index backup might no
longer be referenced in the media database. Use the following command to
scan all SSIDs recorded for the save sets:
scanner -i -S SSID device
where:
– SSID is the save set id of the save set that will be restored.
– device is the device containing the volume for the save set to be restored.
5. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
6. Modify the browse times of the existing save sets, if browse and retention times
set by scanner are not a long enough duration to complete recovery procedures:
nsrmm -s NetWorker_server_name -w time2 -S SSID
where:
• NetWorker_server_name is the name of the NetWorker server.
• time2 is the new browse time.
• SSID is the save set value recorded for each save set.
Note: Ensure that the new browse dates for the save sets are far enough in the future to
allow sufficient time for the restore to complete.
7. Restore the data. The EMC NetWorker Administration Guide provides detailed
information.
Task 1: Identify the clone volumes that are required for scanning
The scanning procedure is used to rebuild index and media database entries:
◆ When restoring from a full backup, the volumes from the date of the full backup
are required to recover the data from.
◆ When restoring from an incremental backup, the volumes from the day of the
incremental backup to the most recent full backup are required to recover the data
from.
“Selecting clone volumes to recover data from” on page 123 provides information on
how to ensure that the recovery comes from the clone copy and not the original in
situations where both or all of the copies that are available.
Note: If other volumes are required to be scanned, review “Selecting clone volumes to recover
data from” on page 123 to identify what save sets are missing so that the additional volumes
can be retrieved.
130 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Recovering Data from Clones
Task 3: Recover the clone save sets that do not exist in the media database
If the NetWorker clone save sets that are required for a restore operation are no longer
in the media database, you must scan the clone volumes to regenerate the media and
index database for these save sets. You can use the scanner command to scan the
volumes.
To scan the required volume:
1. Mount the volume containing the clone save sets into the drive.
Note: If the volume itself is no longer in the NetWorker media database, choose the option
load without mount while loading the tape.
2. From a command prompt on the NetWorker server, obtain a listing of the save
sets on the clone volume to generate a report of the save sets on the volume. Use
the following command:
scanner -v device 1>scanner_output.txt 2>&1
or
scanner -v \\.\Tape0 1>scanner_output.txt 2>&1
3. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
4. Open the scanner_output.txt file, which resides in the same directory the scanner
command was run from.
5. If the scanner_output.txt file displays only the following message:
scanner: SYSTEM error: Cannot stat <device_name>: No such file or
directory
a. Check the device name specified in the scanner command for errors.
b. Retry the scanner command with the correct device name.
Note: The SSID values will be used later in the procedure to scan the save sets back into the
media database and the savetime will be used to validate that the repopulation of the client
file index was successful.
! IMPORTANT
If the date of the point-in-time restore was an incremental or differential backup
level as denoted by the value in the level column, all save sets from the
point-in-time restore to the last full level restore must be identified. In some cases,
the associated full backup might be on a different volume.
Task 5: Scan the required save sets into the media database and the client file index
Depending on your IT procedures and urgency of the restore request, you might
choose to scan individual save sets from the clone volumes. Scanning should be run
to regenerate both the media database and client file index entries.
Consider:
◆ It is not possible to specify the scanning order when save sets are supplied
through the -S parameter to scanner.
◆ The end-to-end process of recovering from scanned clones might take several
days, so resetting the browse and retention times to a sufficient point-in-time in
the future will help to ensure that the scanned save sets do not prematurely expire
before you are finished restoring the data.
To scan the required save sets into the media database and the client file index:
1. Use the following command to scan the save sets:
scanner -i -S SSID device 1>scanneri.txt 2>&1
where:
• SSID is the SSID recorded for save set.
• device is the device with media that contains the save set.
132 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Recovering Data from Clones
2. Ensure that the NetWorker User program is closed on the NMM clients before
running the scanner command. If the program is open while scanner is run, the
scanner command may fail with the following errors:
• For NetWorker 7.6.1 and earlier:
"Index error, flush Failed"
"Files\Legato\nsr\index\bv-e2007sp3-ccr\db6\4d420000\4d4206e1.k
0 before re-creating it. Error 'Permission denied"
! IMPORTANT
It is critical that the cover save sets be scanned first.
Task 6: Validate that the save sets are in the client file index
For each save set that was scanned, you can use the nsrinfo command to validate that
the data has been repopulated in the client file index.
To validate that the save sets are in the client file index:
1. During the inspection of the scanner output, review the savetime recorded for the
save sets:
2. Run the nsrinfo command against each savetime to confirm that the client file
index was populated with the necessary save set details:
nsrinfo -t exact_savetime client
where:
• exact_savetime is the savetime recorded from the scanner output.
• client is the name of the NetWorker client.
For example:
nsrinfo -t 1292314893 krkr8x64
scanning client `krkr8x64' for savetime 1292314893(14.12.2010
09:21:33) from the backup namespace
C:\LG_PLACEHOLDER_1492021383
1 objects found
3. For all recorded savetimes, run the nsrinfo command against each savetime to
confirm that the client file index was populated with the necessary save set
details:
nsrinfo -t exact_savetime client
where:
• exact_savetime is the savetime recorded from the scanner output.
• client is the name of the NetWorker client.
134 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
8
Staging
Staging 135
Staging
Staging overview
NetWorker staging is a separate process but relies on the cloning mechanism.
Save set staging is the process of transferring data from one storage medium to
another medium, and then removing the data from its original location. For example,
the initial backup data can be directed to a high performance file type or advanced
file type device. In this way, the backup time is reduced by taking advantage of a file
or advanced file type device. At a later time, outside of the regular backup period, the
data can be moved to a less expensive but more permanent storage medium, such as
magnetic tape. After the backup data is moved, the initial backup data can be deleted
from the file or advanced file type device so that sufficient disk space is available for
the next backup.
Staging example
In Figure 11 on page 136, the staging action will result in the deletion of the original
save sets on the Volume A1, once they had been successfully staged (cloned) to
volume B1. The Xs indicate that once a successful clone copy has completed, the
original save sets are deleted. This is the difference between a clone and a stage
operation. The save sets appear to move from one storage to another. The resulting
save set is identical to that of the first, but in a different location.
Figure 11 Staging
136 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Staging
The destination
A save set can be staged from one disk to another as many times as required. For
example, a save set could staged from disk 1, to disk 2, to disk 3, and finally to a
remote tape device or cloud device. Once the save set is staged to a tape or cloud
device, it cannot be staged again. However, you could still clone the tape or cloud
volume.
Staging can be driven by any of the following:
◆ Calendar-based process, such as keeping the save set for 30 days on the staging
device before moving the data to the next device.
◆ Event-based process, such as when available space in the staging pool drops
below a set threshold. When this happens, the oldest save sets are moved until
available space reaches a preset upper threshold.
◆ Administrator-based process, such as allowing the administrator to either reset
the threshold or manually select save sets to stage.
Staging does not affect the retention policy of backup data. Therefore, staged data is
still available for recovery.
When the stage process encounters an error after successfully cloning specified save
sets, it deletes only those successful save sets from the source volume before the
program is aborted. This ensures that after staging only a single set of save sets exists
in either the source volumes or clone volumes.
7. In the Devices attribute, select the file type and adv_file type devices as the
source device for staging.
Note: The adv_file device and its corresponding _AF_readonly device will both be selected
automatically, even if only one device was selected as the source of staging.
You can assign multiple devices to the staging policy, but a given device cannot be
controlled by more than one staging policy.
8. For the Destination Pool attribute, select the destination pool for the staged data.
Note: The Default volume can only be staged to the Default or Default Clone pool.
Similarly, the Default Clone volume can only be staged to the Default or Default Clone
pool and Archive data can only be staged to the Archive Clone pool. The other volume
types can be staged to any pool. If the Clone pool you have selected is restricted to storage
node devices, you will also need to modify Clone Storage Node attribute of the Client
resource for the NetWorker server to include the storage node name.
Note: The high-water mark must be greater than the low-water mark.
10. In the Low-Water Mark (%) attribute, type or select a number. This is the point at
which the staging process will stop, measured as the percentage of available
space on the filesystem partition that the file device is on.
11. From the Save Set Selection attribute, select from the list to determine the save
set selection criteria for staging.
12. In the Max Storage Period attribute, type the number of hours or days for a save
set to be in a volume before it is staged to a different storage medium.
Note: The Max Storage Period attribute is used in conjunction with the filesystem Check
Interval attribute. Once the Max Storage Period value is reached, staging does not begin
until the next filesystem check.
13. In the Max Storage Period Unit attribute, select Hours or Days.
14. In the Recover Space Interval attribute, type the number of minutes or hours
between recover space operations for save sets with no entries in the media
database from file or advanced file type devices.
15. In the Recover Space Interval Unit attribute, select Minutes or Hours.
138 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Staging
16. In the File System Check Interval attribute, type the number of minutes or hours
between filesystem checks.
Note: At every File System Check interval, if either the High-Water Mark or Max Storage
Period has been reached, a staging operation is initiated.
17. In the File System Check Interval Unit attribute, select Minutes or Hours.
18. To invoke the staging policy immediately, complete this step. Otherwise, skip this
step:
a. Click the Operations tab.
b. In the Start Now attribute, select one of these operations:
– Recover space — Recovers space for save sets that have no entries in the
media database and deletes all recycled save sets.
– Check file system — Checks filesystem and stage data, if necessary.
– Stage all save sets — Stages all save sets to the destination pool.
The selected operation applies to all devices associated with this policy.
Note: The choice you make takes effect immediately after clicking OK. After the staging
operation is complete, this attribute returns to the default setting (blank).
19. When all the staging attributes are configured, click OK.
The EMC NetWorker Command Reference Guide or the UNIX man pages provide
information about nsrstage or mminfo commands.
140 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Glossary
A
administrator Person who normally installs, configures, and maintains software on network
computers, and who adds users and defines user privileges.
B
backup 1. Duplicate of database or application data, or entire computer system, stored
separately from the original, which can be used to recover the original if it is
destroyed or damaged.
2. Operation that saves data to a volume for use as a backup.
bootstrap Save set that is essential for NetWorker disaster recovery procedures with the
NetWorker server. The bootstrap consists of three components that reside on the
NetWorker server: the media database, the resource database, and a server index.
browse policy NetWorker policy that specifies the period of time during which backup entries are
retained in the client file index. The index makes the associated backed-up data
readily accessible for recovery by desktop users. See “retention policy.”
C
client Computer, workstation, or fileserver whose data can be backed up and restored with
NetWorker software.
client file index Database maintained by the NetWorker server that tracks every database object, file,
or filesystem backed up. The NetWorker server maintains a single index file for each
client computer. The tracking information is purged from the index after the browse
time of each backup expires.
EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide 141
Glossary
Client resource NetWorker server resource that identifies the save sets to be backed up on a client.
The Client resource also specifies information about the backup, such as the schedule,
browse policy, and retention policy for the save sets.
clone Duplicate copy of backed-up data, which is indexed and tracked by the NetWorker
server. Single save sets or entire volumes can be cloned.
clone-controlled Creation of a replica of deduplicated data copied from one Data Domain device to
replication another, which is scheduled by the NMC clone feature and is indexed and tracked by
the NetWorker server.
clone volume Exact duplicate of a backup or archive volume. NetWorker software can track four
types of volumes (backup, archive, backup clone, and archive clone). Save sets of
these different types may not be intermixed on one volume. Clone volumes may be
used in exactly the same way as the original backup or archive volume.
D
database 1. A collection of data arranged for ease and speed of update, search, and retrieval by
computer software.
2. An instance of a database management system (DBMS), which in a simple case
might be a single file containing many records, each of which contains the same set of
fields.
DD Boost An optimized library and communication framework with a special Data Domain
API that allows the NetWorker software to define and interact with storage devices
on the Data Domain system.
DD device A logical storage device created on a Data Domain server, which is used to store
deduplicated NetWorker backups. Each device appears as a folder on the Data
Domain system and is listed with a storage volume name in NMC.
deduplication Process of detecting and identifying the redundant variable-length blocks (data
segments) within a given set of data to eliminate redundancy.
deduplication Type of backup in which redundant data blocks are replaced by metadata pointers
backup and only unique blocks of data are stored. When the deduplicated data is restored,
the data is returned to its original native format.
deduplication ratio Reduction in storage space required to store data as a result of deduplication
technology, usually combined with data compression, for example, a 20:1 space
reduction.
device 1. Storage unit that can contain a backup volume. A storage unit can be a tape
device, optical drive, autochanger, or disk connected to the server or storage
node.
2. Access path to the physical drive, when dynamic drive sharing (DDS) is enabled.
3. General term that refers to storage hardware.
142 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Glossary
disaster recovery Recovery from any disruptive situation, such as hardware failure or software
corruption, in which ordinary data recovery procedures are not sufficient to restore a
system and its data to normal day-to-day operations.
distributed segment Part of the DD Boost interface, which enables data deduplication to be performed on
processing a host before the data is sent to the Data Domain system for storage.
E
enabler code Special code that activates the software. The enabler code that unlocks the base
features for software is called a base enabler. Enabler codes for additional features or
products (for example, library support) are called add-on enablers.
G
group Client computer or group of clients that are configured to back up files during a
NetWorker scheduled backup, according to a single designated schedule or set of
conditions.
H
host Computer on a network.
L
label Electronic header on a volume used for identification by NetWorker or other data
mover application.
M
managed application Program that can be monitored or administered, or both from the Console server.
media Physical storage, such as magnetic tape, optical disk, or file system, to which backup
data is written. See also “volume.”
media index Database that contains indexed entries of storage volume location and the lifecycle
status of all data and volumes managed by the NetWorker server. Also known as
media database.
N
NetWorker server Computer on a network that runs the NetWorker server software, contains the online
indexes, and provides backup and restore services to the clients and storage nodes on
the same network.
NetWorker Software product that is used to manage NetWorker servers and clients. The
Management NetWorker Management Console (NMC) server also provides reporting and
Console monitoring capabilities for all NetWorker processes.
notification Message sent to the NetWorker administrator about important NetWorker events.
EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide 143
Glossary
O
online indexes Databases located on the NetWorker server that contain all the information
pertaining to the client backups (client file index) and backup volumes (media
database).
P
pathname Set of instructions to the operating system for accessing a file. An absolute pathname
indicates how to find a file starting from the root directory and working down the
directory tree. A relative pathname indicates how to find a file starting from the
current location.
policy Set of constraints that specify how long the save sets for a client are available for
recovery. Each NetWorker client has a browse policy and a retention policy. When the
browse policy expires, the save sets associated with that policy are no longer readily
available for browsing in an index. When the retention policy expires, the save sets
associated with that policy are marked recyclable.
pool 1. NetWorker feature that assigns specific backup data to be stored on selected media
volumes.
2. Collection of NetWorker backup volumes to which specific data has been backed
up.
R
recover To restore data files from a backup volume to a client disk and apply transactional
(redo) logs to the data to make it consistent with a given point in time.
remote device 1. Storage device that is attached to a storage node that is separate from the
NetWorker server.
2. Storage device located at an offsite location that stores a copy of data from a
primary storage device for disaster recovery.
remote replication Exact copy of deduplicated data that resides on a Data Domain storage system, which
is stored across a LAN or WAN to another Data Domain storage system for disaster
recovery protection.
resource Software component that describes details of the NetWorker server or its clients.
Clients, devices, schedules, groups, and policies are all NetWorker resources. Each
resource has configurable attributes that define its properties.
restore To retrieve individual data files from backup media and copy the files to disk,
without applying transaction logs. See also “recover.”
retention policy NetWorker setting that determines the minimum period of time that backup data is
retained on a volume available for recovery. Once this time is exceeded, the data is
eligible to be overwritten. See also “browse policy.”
144 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide
Glossary
S
save NetWorker command that backs up client files to backup media volumes and makes
data entries in the online index.
save set Group of files or a file system that has been backed up on storage media.
save stream Data and save set information that is written to a storage volume during a backup. A
save stream originates from a single save set.
scheduled backup Type of backup that is configured to start automatically at a specified time for a group
of one or more NetWorker clients. A scheduled backup generates a bootstrap save set.
storage node Computer with NetWorker software installed whose primary purpose is to receive a
backup stream from one or more backup clients and then write to save sets on storage
media.
T
trap Unsolicited notification sent from the SNMP agent to the network manager’s SNMP
event manager.
V
volume 1. Unit of physical storage medium, such as a magnetic tape, optical disk, or file
system used to store data. Backup data must be stored on a backup volume and
cannot be stored on an archive volume or a clone volume.
2. Identifiable unit of data storage that may reside on one or more computer disks.
volume ID (volid) Internal identification that NetWorker software assigns to a backup volume.
volume name Name that you assign to a backup volume when it is labeled. See also “label.”
VTL Virtual tape library. Software emulation of a physical tape library storage system.
EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide 145
Glossary
146 EMC NetWorker Cloning Release 7.6 Service Pack 2 Integration Guide