2017KS Dick-Disaster Recovery Using NetWorker and Data Domain
2017KS Dick-Disaster Recovery Using NetWorker and Data Domain
Michael Dick
Principal Solutions Architect
Dell EMC
[email protected]
Disclaimer: The views, processes or methodologies published in this article are those of
the author. They do not necessarily reflect Dell EMC’s views, processes or
methodologies.
We can restore the complete NetWorker server using a bootstrap backup (if the
bootstrap backup is available), or we can just restore a single (or more clients) by
scanning in the cloned save sets to a new or existing NetWorker server. The method of
DR depends on the cause of the failure. If the main data center will be down for a long
time, it makes sense to bootstrap the NetWorker server in the remote location. If the
main data center is only unreachable for a short amount of time (hours or days), it may
be more efficient to only restore certain clients or save sets if needed. This paper will
introduce methodologies to recover client data in a DR data center without having to
completely rebuild the NetWorker server. We will discuss recovering single files,
complete save sets, and application data (SQL, Oracle, etc.) to clients residing in a DR
data center. Other uses for this methodology include:
Client migrations between NetWorker servers without losing the ability to execute
file level recoveries
Restore/DR Tests in isolated environments
The diagram above shows the basic premise. A NetWorker server (NSR001) has
backups in the production data center and clones in the DR data center. The clone
devices can be fast copied to the mtree owned by the DR NetWorker server (NSR002).
NSR002 can now scan the fast copied device and make use of the data on this device. If
we have separation of index and backup data then we need to fast copy both the data
clone and the index clone device.
1. Install new NetWorker server and configure a Device on the DR Data Domain
(this will create the default NetWorker DDBoost storage unit).
2. Fast copy device(s) from the originating NetWorker server mtree to the new
NetWorker server mtree. The Devices are folders beneath the mtree.
3. Create the NetWorker device(s) using GUI or command line.
4. Create the client to be recovered on the NetWorker DR server. This client must
use the same client ID as the client on the originating server.
5. Scan the device using scanner –i –c <clientname> <devicename>. This will scan
the save sets of this device into the media database and recreate the client
indexes on the DR NetWorker server.
6. Create the client definition to be recovered to if this is a directed recovery.
Please note: If the methodology described is used to affect test restores in an isolated
environment, it is recommended to clone the savesets needed to a separate clone
device and to fast copy this clone device. This will speed up the scanning process
needed. An example clone command to clone all backups since yesterday to a separate
device is below:
This command will copy all savesets for a client from yesterday to a specific pool. This
pool can then be fast copied to the DR storage unit.
In this case, the new NetWorker server is installed as a completely self-contained unit
which can be deleted after the recoveries are complete. After installing the packages,
complete the configuration of authc and NMC before starting and using NetWorker.
Where <scrname> and <destname> are the source and destination mtree respectively.
Devices are merely folders beneath the mtree. To copy a device, use the command
below.
Where <srcname> and <destname> are the source and destination folders and <folder>
is the device folder beneath the mtree.
The screenshot below shows the command to create a fast copy of CloneDevice1 in the
DR NetWorker storage unit
It is recommended to use the original device name when copying device folders only.
Only the device(s) holding the actual client backups need to be scanned in. The save
sets on this device will be used to recreate the CFI for the client to be recovered.
Open the device properties window and add the device name and device access
information in the General tab (it is recommended to keep the device name the same as
the original device)
Click on the configuration tab and add the ddboost user name and password.
The example below shows the command to find the client id for a client with the name
linclient1.vlab.local
The example below shows the command to find volume and pool information
We now can use this information to determine how many clients we have on this volume
and the client IDs for these clients
Once we have this information we can use mminfo to acquire the client names, client
ID’s, and pool names by querying the volume instead of the pool.
If the client is reachable, we can use the client properties window to recreate the client
definition on the DR NetWorker server. Ensure that the GUI is in Diagnostic Mode. Go to
Protection and right click on Clients. Choose New, which will open the Create Client
window. Add the client name in the General section.
Click on Globals 1 of 2 and add the discovered Client ID for the client to be created.
It must be noted that adding *@* into the remote access field allows any user from any
client to access the backups of this client. This is NOT a best practice and should NOT
be done on a production client because of data security reasons. It is done here
because it is assumed that we are in a DR situation where ease of recovery overrides
data security.
If the client to be created is not reachable from the DR NetWorker server, or if there are
no DNS entries for this client in the DR data center, the client definition must be created
Run the create type: command to create the client definition offline. The example below
creates the client with name win2012-01.vlab.local and client id of d9607099-00000004-
57aca84a-57aca849-00085000-691c0156
After the client is created, we can leave nsradmin and restart NetWorker.
The example below shows the rebuilding of the index for linclient1.vlab.local from device
CloneDevice1.
Using nsrck –L7 would only be possible if the DR NetWorker server uses the same
hostname and client ID as the originating NetWorker server.
Once we have the saveset and clone ID, we can execute the recovery.
Once the client file index has been created, we can recover specific files. Please be
aware that command line must be used to recover files.
We can now set up the client to do backups on the new data zone. Any shorter term
retentions can be recovered from the old data zone, while all new backups and long term
retentions can be recovered from the new data zone.
Dell EMC believes the information in this publication is accurate as of its publication
date. The information is subject to change without notice.
Use, copying and distribution of any Dell EMC software described in this publication
requires an applicable software license.
Dell, EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries.