networker ndmp backup

Upload: mansoor

Post on 05-Jul-2018

229 views

Category:

Documents


1 download

TRANSCRIPT

  • 8/15/2019 NetWorker NDMP Backup

    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.

    NAS Device

    bongo

    bongo

    NetWorker

    Server

  • 8/15/2019 NetWorker NDMP Backup

    2/27

    Command

    NetWorker Server

    bongo

    Client

    flute

    Storage Node

    soprano

    Backup Data

    Tracking Data

     NFS mount NAS Device

    Two choices:

    1. Tape dump

    2. NFS mount 

    Backing Up NAS Devices without NDMP

  • 8/15/2019 NetWorker NDMP Backup

    3/27

    What Does NDMP Do? 

    NDMP Command

    NetWorker Server

    bongo

    Backup Data

    Tracking Data

    NAS Device

  • 8/15/2019 NetWorker NDMP Backup

    4/27

    NDMP Tape Service

    alto

    NetWorker Backup with NDMP

    NetWorker Server

    bongo

    Backup DataTracking Data

    Host running NDMP

    NAS Device

    Tracking Data

    Backup Data

  • 8/15/2019 NetWorker NDMP Backup

    5/27

  • 8/15/2019 NetWorker NDMP Backup

    6/27

    NDMP Hosts: Data Service Provider (DSP)

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

    DMA

    sonata aria

    NDMP Tape Service

    alto

    Data Service

    Provider (DSP)

    Receives data stream and writes to disk (restore).

  • 8/15/2019 NetWorker NDMP Backup

    7/27

    NDMP Hosts: Tape Service

    sonata aria

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

    alto

    Data Service

    Provider (DSP)

    NDMP Tape Service

    DMA

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

  • 8/15/2019 NetWorker NDMP Backup

    8/27

    NDMP Backup Types: Local Example

    Enables backup and recovery using a

    locally attached tape device or library.

    DMA

    sonata aria

    DSP/NDMP Tape Service

    Command Request

    Tracking Data

    Backup Data

  • 8/15/2019 NetWorker NDMP Backup

    9/27

    NDMP Backup Types: Three Party Example

    Enables backup and recovery

    between 2 NDMP servers. One server is the Data Server.

     The second is the Tape Server.

     The third party is the backup

    software (DMA).

    DMA

    sonata

    DSP

    aria

    NDMP Tape Service

    alto

    Command Request

    Tracking Data

    Backup Data

  • 8/15/2019 NetWorker NDMP Backup

    10/27

    NDMP Backup Types: Remote Example

    DMA + SnapImage

    sonata

    DSP

    aria

    Enables NDMP backup and recovery using a

    tape device connected to the DMA.

    Command Request

    Tracking Data

    Backup Data

  • 8/15/2019 NetWorker NDMP Backup

    11/27

    NDMP Versions

    Version DescriptionVersion 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.

  • 8/15/2019 NetWorker NDMP Backup

    12/27

    Configuring the Schedule Resource

    Create an NDMPschedule.

    NDMP supports full

    level and level 1-9backups.

  • 8/15/2019 NetWorker NDMP Backup

    13/27

    Configuring the NetWorker Client Resource

    Remote user

    Password

    Backup command

    NDMP

    Application info

  • 8/15/2019 NetWorker NDMP Backup

    14/27

    Configuring the NetWorker Client Resource

    Storage node

    For a local backup at the

    filer, the Storage nodes 

    list must include thehostname of the filer.

     

    Remote access

    Remote access will need to

    include a user/system that will be

    used to initiate a recovery. 

  • 8/15/2019 NetWorker NDMP Backup

    15/27

    Configuring Save Sets

    All - Backs up all filesystems.

    Individual save sets can also bespecified.

    Save sets are backed up

    sequentially.

    Save set attribute

  • 8/15/2019 NetWorker NDMP Backup

    16/27

    Configuring Remote User

    Backup Command nsrndmp_save  must be used instead ofsave 

    More parameters must set according to the

    filer’s OS 

    Manufacturer Backup Command

    EMCnsrndmp_save -T dumpnsrndmp_save -T pax

    NetApp nsrndmp_save -T dump 

    SnapImage nsrndmp_save -T image 

  • 8/15/2019 NetWorker NDMP Backup

    17/27

    Configuring Remote User

    EMCFILES=./

    TD=cx t y lz

    UPDATE=yUPDATE=y

    DIRECT=yDIRECT=yDIRECT=y

    OPTION=nt

    JB=c x t y lz

    REMOTE=y REMOTE=nREMOTE=n

    HIST=yHIST=yHIST=y

    DDIMAGE=yDDIMAGE=yDDIMAGE=y

    NetApp EMC SnapImage

     Application InformationSee the table below and the Administration Guide 

    You will find a

    full description in

    the NetWorker Administrator's

    Guide . 

  • 8/15/2019 NetWorker NDMP Backup

    18/27

     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 fullrecoveries can be made.

    Y   saves index data at the end of the backup

    N   does not save NetWorker index information

  • 8/15/2019 NetWorker NDMP Backup

    19/27

    REMOTE

    - Defines whether local or remote tape drives (relative to the NetWorkerserver) 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 thebackup

    Y   must be used if this parameter is used

     Application Parameters

  • 8/15/2019 NetWorker NDMP Backup

    20/27

    Volume

    (Pool: Default)

    (Name: Default.001)

    Label

    32 K

    Label

    32 K

       E  n   d  o   f   F   i   l  e

       E  n   d  o   f   F   i   l  e

       C   h  u  n   k

       E  n   d  o   f   F   i   l  e

       E  n   d  o   f   M  e   d   i  a

    64 K

       E  n   d  o   f   F   i   l  e

       M  o  r  e   d  a   t  a … 

    Media

    Record

    Media

    File

    Media

    Record

    Media

    Record

    Media

    File

    Media

    Record

       E  n   d  o   f   F   i   l  e

       E  n   d  o   f   F   i   l  e

       C   h  u  n   kNetWorker Tape Format

    NDMP Tape Format

    Label

    32 K

    Label

    32 K

    64 K

       E  n   d  o   f   F

       i   l  e

       E  n   d  o   f   F

       i   l  e

       S   t  a  r   t   N  o   t

      e

       E  n   d   N  o   t  e

       S   t  a  r   t   N  o   t

      e

       E  n   d   N  o   t  e

       E  n   d  o   f   M  e

       d   i  a

    NDMP Save

    Set Data

    NDMP Save

    Set Data

    NDMP Tape Format

  • 8/15/2019 NetWorker NDMP Backup

    21/27

  • 8/15/2019 NetWorker NDMP Backup

    22/27

    Auto-detecting NDMP Devices: inquire 

  • 8/15/2019 NetWorker NDMP Backup

    23/27

    Scanning for an NDMP Device

    NDMP

    Remote user

    Password

    NDMP filer needs

    storage node resource

  • 8/15/2019 NetWorker NDMP Backup

    24/27

    NDMP Device Resource

    Target sessions=1

    NDMP = Yes

    Remote user

    Password

    Max sessions=1

  • 8/15/2019 NetWorker NDMP Backup

    25/27

  • 8/15/2019 NetWorker NDMP Backup

    26/27

    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

  • 8/15/2019 NetWorker NDMP Backup

    27/27