Вы находитесь на странице: 1из 27

NDMP Overview

The Network Data Management Protocol (NDMP) is a


network protocol that specifies the data exchange method
between the various components of a backup solution.

bongo
bongo

NetWorker
Server

NAS Device

Backing Up NAS Devices without NDMP


NetWorker Server

Two choices:
1.

Tape dump

2.

NFS mount

Command

bongo

NFS mount

flute

NAS Device

Backup Data

Client

Tracking Data

soprano
Storage Node

What Does NDMP Do?


NetWorker Server

NDMP Command

bongo

Tracking Data

Backup Data

NAS Device

NetWorker Backup with NDMP


Host running NDMP
Backup Data

NAS Device

Tracking Data

Backup Data

Tracking Data
bongo
NetWorker Server

alto
NDMP Tape Service

NDMP Hosts: Data Management Application


Data Management
Application (DMA)

Data Service
Provider (DSP)

Backup or Recovery Request


Tracking Data

sonata

aria
Tracking Data

alto
NDMP Tape Service

Initiates backup or recovery request.

Receives data and tape information from NDMP data service provider
and NDMP tape service.

NDMP Hosts: Data Service Provider (DSP)


Data Service
Provider (DSP)

DMA

NDMP Tape Service

sonata

aria

alto

Reads from disk and produces NDMP data stream (backup).


Receives data stream and writes to disk (restore).

NDMP Hosts: Tape Service


Data Service
Provider (DSP)

DMA

NDMP Tape Service

sonata

aria

alto

Receives NDMP data stream and writes to tape (backup).

Reads data from tape and writes NDMP data stream (restore).

NDMP Backup Types: Local Example


DMA

DSP/NDMP Tape Service

aria

sonata

Enables backup and recovery using a


locally attached tape device or library.
Command Request
Tracking Data
Backup Data

NDMP Backup Types: Three Party Example


DMA

NDMP Tape Service

alto

sonata

Enables backup and recovery


between 2 NDMP servers.
One server is the Data Server.
The second is the Tape Server.
Command Request
Tracking Data
Backup Data

aria

DSP

The third party is the backup


software (DMA).

NDMP Backup Types: Remote Example


DMA + SnapImage
Enables NDMP backup and recovery using a
tape device connected to the DMA.

sonata

Command Request
Tracking Data
Backup Data

aria

DSP

NDMP Versions
Version

Description

Version 1

Supports local backups only

Version 2

Support for three-party, remote, and


MD5 authentication

Version 3

Tape to tape data movement (cloning),


disk to disk data movement (no file-type
device), NT Namespace support, DAR

Version 4

Improves session management and


security.

Configuring the Schedule Resource


Create an NDMP
schedule.
NDMP supports full
level and level 1-9
backups.

Configuring the NetWorker Client Resource


Remote user

Password

Backup command

NDMP

Application info

Configuring the NetWorker Client Resource

Remote access

Remote access will need to


include a user/system that will be
used to initiate a recovery.

Storage node

For a local backup at the


filer, the Storage nodes
list must include the
hostname of the filer.

Configuring Save Sets

Save set attribute

All - Backs up all filesystems.

Individual save sets can also be


specified.

Save sets are backed up


sequentially.

Configuring Remote User


Backup Command
nsrndmp_save must be used instead of
save
More parameters must set according to the
filers OS
Manufacturer

Backup Command

EMC

nsrndmp_save -T dump
nsrndmp_save -T pax

NetApp

nsrndmp_save -T dump

SnapImage

nsrndmp_save -T image

Configuring Remote User


Application Information
See the table below and the Administration Guide
NetApp

EMC

SnapImage

DDIMAGE=y

DDIMAGE=y

DDIMAGE=y

HIST=y

HIST=y

HIST=y

REMOTE=n

REMOTE=n

REMOTE=y

UPDATE=y

UPDATE=y

DIRECT=y

DIRECT=y
JB=cxtylz
TD=cxtylz

EMCFILES=./
OPTION=nt

DIRECT=y

You will find a


full description in
the NetWorker
Administrator's
Guide .

Application Parameters
DDIMAGE
- Defines whether you want to backup all but only the used blocks of a
partition.
Y
saves all blocks
N
saves used blocks only (sparse backup)
DIRECT
- Defines DAR support
Y
must be used if you want to use DAR recoveries later.
N
If you do not want to use DAR recoveries, set the value to n
.
HIST
- Defines whether Index data shall be saved as well. If missing, only full
recoveries can be made.
Y
saves index data at the end of the backup
N
does not save NetWorker index information

Application Parameters
REMOTE
- Defines whether local or remote tape drives (relative to the NetWorker
server) are used
N
Use drives attached at the NetWorker server
Y
Use drives at the filer or a remote storage node
UPDATE
- Defines whether the time stamp on the filer will be updated after the
backup
Y
must be used if this parameter is used

Media
File

64 K

Start Note

32 K

End of File

End of File

32 K

Label

NDMP Save
Set Data

NDMP Save
Set Data

End of File
File
End of
data
More

End of Media
End of Media

Media
File

End Note

Media Media
Record Record

NDMP Tape Format


Label

End of File
File
End of Chunk

Media Media
Record Record

Start Note

64 K

Volume
(Pool: Default)
(Name: Default.001)

End Note

32 K

Chunk

32 K

Label

End of File

NetWorker Tape Format Label

End of File

NDMP Tape Format

Storing NDMP Data in the Media Database

SS Flag

Description

Valid save set

NDMP save set

Finished backing up

Auto-detecting NDMP Devices: inquire

Scanning for an NDMP Device

NDMP filer needs


storage node resource

NDMP
Remote user
Password

NDMP Device Resource

Target sessions=1
Max sessions=1
NDMP = Yes
Remote user

Password

Starting the Backup


To start the backup, just start the group
The internal processes run in general pretty similar
compared to the standard backup
Just monitor your NetWorker server as usual
Or have a look at the savegroup completion report

Performing NDMP Recoveries

Recovery
Type

Interface

Command
Line

File-Level
(Browsable)

nwrecover (UNIX)
NetWorker User (Windows)

recover

Save Set

nwrecover (UNIX)
NetWorker User (Windows)

recover

Performing File-Level Recoveries: CLI


recover -d destination -s server -c client -a path

To:

Use this option:

Specify the NetWorker server hostname.

-s server name

Specify the name of the client that saved


the files.

-c client

Specify the destination directory to relocate -d destination


the recovered files to.
Specify automatic file recovery with no
browsing. The path specifies one or more
files or directories to be recovered.

-a path

Вам также может понравиться