Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Running a recovery job in troubleshoot mode by using nsrtask

Use the nsrtask command to run a recovery job that is created by the Recovery wizard, from a command prompt.

  1. On the NetWorker server, type: nsradmin.
  2. From the nsradmin prompt:
    1. Set the resource attribute to the Recover resource:

      . type: nsr recover

    2. Display the attributes for the Recover resource that you want to troubleshoot:

      print name:recover_resource_name

      where recover_resource_name is the name of the Recover resource.
    3. Make note of the values in the recover, recovery options, and recover stdin attributes. For example:

      recover command: recover;
      recover options: -a -s nw_server.corp.com -c mnd.corp.com -I - -i R;
      recover stdin:
      “<xml>
      <browsetime>
      May 30, 2013 4:49:57 PM GMT -0400
      </browsetime>
      <recoverpath>
      C:
      </recoverpath>
      </xml>”;

      where:

      • nw_server.corp.com is the name of the NetWorker server.

      • mnd.corp.com is the name of the source NetWorker client.

  3. Confirm that the nsrd process can schedule the recover job:
    1. Update the Recover resource to start the recover job:
      update: name: recover_resource_name ;start time: now
      where recover_resource_name is the name of the Recover resource.
    2. Exit the nsradmin application
    3. Confirm that the nsrtask process starts.
      If the nsrtask process does not start, the review the daemon.raw file on the NetWorker server for errors.
  4. To confirm that the NetWorker server can run the recover command on the remote host, on the NetWorker server type the following command:

    nsrtask -D3 -t ‘NSR Recover’recover_resource_name

    where recover_resource_name is the name of the Recover resource.
  5. When the nsrtask command completes, review the nsrtask output for errors.
  6. To confirm that the Recovery UI sends the correct recovery arguments to the recover process:
    1. On the destination client, open a command prompt.
    2. Run the recover command with the recover options that the Recover resource uses.
      For example:

      recover -a -s nw_server.corp.com -c mnd_corp.com -I - -i R

    3. At the Recover prompt, specify the value in the recover stdin attribute. Do not include the “ ,” or the ";" that appears with the recover stdin attribute.
      If the recover command appears to stop responding, then review the daemon.raw file for errors.
    4. When the recover command completes, review the recover output for errors. If the recover command fails, then review the values that are specified in the Recover resource for errors.
  7. To review the details of the Recover job, use the jobquery command. From a command prompt on the NetWorker server, type: jobquery
  8. From the jobquery prompt, perform one of the following steps:
    • Set the query to the Recovery resource and display the results of all recovery jobs for a Recovery resource:

      print name:  recover_resource_name

      where recover_resource_name is the name of the Recover resource.

    • Set the query to a particular jobid and display the results of the job.

      print job id: jobid

      Where jobid is the jobid of the Recover job that you want to review.

    NOTE:Review the daemon.raw file on the NetWorker server to obtain the jobid for the recovery operation.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\