Saturday, November 7, 2015

Saveset Recover to restore NDMP data with following command

Saveset Recover to restore NDMP data with following command

  nsrndmp_recover  -s <networker_server_name> -c <client_name>  -S <ssid> -v off  -m <hostname::/path_to_recover_to> <path_to be_recovered>

  Where:     -s <networker_server_name> is the hostname of the NetWorker server,
                   -c <client_name> is the client hostname (NDMP server: filer/datamover ) that this data originated from
                 -m option uses for new destination either on the same NDMP server but different directory, or the different NDMP server
                    <hostname::/path_to_recover_to> hostname of the NDMP server (filer/datamover) you are recovering to followed by 2 colons and
                               the full path starting with the mountpoint down to the directory you would like to recover this data to
                   The directory in path-to-recover-to MUST be existence on the host.

                 <path_to_be_recovered> is the full path name starting at the mountpoint down to the directory you would like to restore.


−c client Client is the name of the machine that saved the files. 

−F This option specifies that a file level recovery is going to be performed. This option should only be specified by nwrecover(8) or recover(8). 

−m mount point The mount point of the raw device specified by the -r option. The filesystem will be unmounted for the recover operation and mounted after the operation is complete. 

−r raw device Specifies the pathname of the raw device the data is to be recovered to. This option is mandatory for destructive recovers. 

−s server Selects which NetWorker server to use. 

−S ssid This mandatory option is used to specify save set recover mode. This mode can be used to implement fast batch file recovery without requiring the NetWorker file index entries. Ssid specifies the save set id for the save set to be recovered. NDMP generated save sets cannot be cloned, so no cloneid applies as it does for the standard recover(8) command.

Thursday, November 5, 2015

EMC Networker Recovery Command Line


·         Run  the below commands from backup server where client resides.

recover -c "source client name" -R "destination client name" -iR

y - overwrite the file, continue to prompt if more duplicates are found
Y - overwrite the file, do not continue to prompt
n - do not overwrite, continue to prompt
N - do not overwrite the file, do not continue to prompt
r - rename recovered file, continue to prompt
R - rename recovered file, do not continue to prompt

·         If your source and destination is same e.g abc.com

recover -c abc.com -R abc.com -iR

·         If your source and destination diffrent e.g source : abc.com, Destination: xyz.com ( but here you should check server file entry as well as remote host entry)

recover -c abc.com -R xyz.com -iR

·         then go to required save set path with cd command (e.g c:\data\vd\path1)

recover -c abc.com -R abc.com -iR

·         you will get the prompt

recover>cd c
recover>cd data
recover>cd vd
recover>cd path1

·         you can directly go to actual path cd "c:\data\vd\path1"

check the version if you want to browse the old version.

recover>version

·         select version which you want. (e.g 08/30/2015)

recover>changetime 08/30/2015

·         select which file you want to restore or if you restore all files.


recover> add *

·         if you want to restore on original location run command recover

recover> recover

·         if you wan to restore other location

recover> relocate
6479:recover: <return> will recover files into their original location
New destination directory:c:\data\vd\restored

recover> recover


Tuesday, November 3, 2015

Basic trouble shooting steps

Basic trouble shooting steps:

We have assumed below details for backup server and client name:

abcbackupserver.com=  Backup Server
xyzclient.com =            Client name


On Client:
  • Ensure networker client package is installed:

  • Ensure networker services are running on client:

  • Networker requires that both forward and reverse FQDN resolution is working fine.  Nslookup should be checked from both backup server and client (Both reverse and forward lookup):

         nslookup  abcbackupserver.com
         nslookup  "IP address" {Reverse Lookup}
  • Check and update the hosts file entries on the client and backup server if you have DNS issue.

        Unix/Linux : /etc/hosts
        Windows : C:\Windows\System32\drivers\etc

  • You should check if your client/backup server can contact each other.

From client :
tracert  or traceroute  abcbackupserver.com


From Backup server:

  • ping -a  xyzclient.com
  • rpcinfo -p xyzclient.com
    program vers proto   port  service
    100000    2   tcp   7938  portmapper
    100000    2   udp   7938  portmapper
    390436    1   tcp   9842
    390435    1   tcp   9164
    390113    1   tcp   7937  nsrexecd

  • Networker requires that both forward and reverse FQDN resolution is working fine.  Nslookup should be checked from both backup server and client (Both reverse and forward lookup):

        nslookup  xyzclient.com
        nslookup  "IP address" {Reverse Lookup}

  • If networker client services are running fine even though you are getting failed error like nothing to save or not properly configured, then you should check nslookup as well as below command and check for any canonical name or any aliases name for failed clients. If found, they should be added to the Aliases entry.

        nsradmin -s  xyzclient.com  -p 390113

bash-4.1$ nsradmin -s xyzclient.com  -p 390113
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> p
                        type: NSRLA;
                        name: xyzclient.com ;
  • Here you will also get the any virtual or cluster configuration IP associated with failed client in IP address section. If you observed different IP’s, nslookup them and add those in Remote Access entry.

        IP address: x.x.x.x, y.y.y.y, z.z.z.z
  • If you are getting connection refused or backup server not present in client server file. Also check your backup server's entry should present in client server file which is located

       Unix: /nsr/res/servers
       Windows: C:\\installation directory\\Legato\\nsr\\res\\ servers

  • You should check if your client/backup server can contact each other.

From Backup Server :

  • tracert  or traceroute  xyzclient.com  

  • If you are getting connection refused or Time out error make sure below port range should open Bi-Directional

  • Need to allow bi-directional TCP traffic on ports 7937-9936 to backup data from the Client to the Backup Server

  • Need to allow bi-directional TCP traffic on ports 7937-9936 to backup data from the Client to the Storage Node




Monday, November 2, 2015

EMC NetWorker Snapshot Management for NAS Configuration, Backup, and Rec...

EMC NetWorker 8.1 for Oracle Video

Protecting NAS Systems with EMC NetWorker Snapshot Management

Networker Command mminfo output details meaning

mminfo output and Meaning of saveset flags:

The save set ssflags summary are as follows: CvrENiRPKIFk

C = Continued
v = valid
r = purged (recoverable)
E = Eligible for recycling
N = NDMP generated
i = incomplete
R = Raw (not for savesets backed up using rawasm)
P = snapshot
K = cover
I = In-progress
F = Finished (ended)
k = checkpoint restart enabled

The save set sumflags field summary are as follows:

The first flag in the sumflags field shows which part of the saveset resides on the specified tape. The possible values are:

c = Complete (the entire saveset resides on this tape volume)
h = Head (the head, or start of the saveset resides on this tape volume)
m = Middle (the middle of the saveset resides on this tape volume)
t = Tail (the end of the saveset resides on this volume)

The second flag byte shows the status of the saveset. We will not be using this flag in our cloning script, the possible values for this flag byte are:

b = Browsable
r = Recoverable
a = Saveset was aborted
I = Saveset is still in progress
E = Eligible for recycling
S = Saveset was scanned in
i = Incomplete saveset

The clone's clflags summary are as follows: aios

a = aborted
i = incomplete
o = opaque (NDMP clone of regular NetWorker savesets)
s = suspect (read error)
The volume's volflags summary are as follows: dr
d = dirty (in use)
r = scan and read-only


NDMP and NDMP-DSA flags:

cbN/:
         c Complete
         b Browsable
         N NDMP generated

cbNs:
        c Complete
        b Browsable
        N NDMP generated
        s NDMP-DSA

Query the media database to determine which save sets are NDMP save sets and the status of an NDMP save set in the media database. NDMP save set status information is
important when performing NDMP recoveries.

  • To perform a browseable NDMP recover, the ssflags (fl) field for an NDMP save set must contain a (b). The b value denotes a brows able save set.

  • To perform a save set recover from the NetWorker User program, the ssflags (fl) field for an NDMP save set must contain either (r) or (b).

  • An NDMP save set contains an N attribute in the ssflags (fl) field.

  • An NDMP-DSA save set contains an s attribute in the ssflags (fl) field.

In the following example, the NDMP save set status is recoverable (r). To recover the data, you can only perform a save set recovery from a command line.

Capture.JPG.jpg

In the following example, the NDMP-DSA save set status is brows able (b). Recover the data by using the NetWorker User program, or from the command line. A browseable NDMP-DSA save set supports brows able and save set recoveries.

Capture2.JPG.jpg

The volume's state summary are as follows: EMXA

E = Eligible for recycling
M = Manually-recyclable
X = Both
A = Archive or migration volumes. 

Slow backup Issue

Networker slow backup issue We are facing slow backup issue many times or previously added clients suddenly slow backup issue occurs. ...