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

Performing a browsable recover by using the recover command

Use the recover command in interactive mode to access the client file index of the source client and recover individual files and folder from a command prompt. Interactive mode enables you to browse and select files and directories from a save set. NetWorker supports a local or directed browsable recovery from a command prompt. You cannot recover the Windows DISASTER_RECOVERY:\ save set in interactive mode.

The recover command requires specific privileges which are assigned based on session authentication. NetWorker supports two types of session authentication. Token-based authentication, which requires you to run the nsrlogin before you run the command and authenticates the user that runs the command against entries that are defined in the External Roles attribute of a User Group resource. Classic authentication, which is based on user and host information and uses the user attribute of a User Group resource to authenticate a user. Classic authentication does not require an authentication token to run the command. For example, if you run the command without first running nsrlogin, NetWorker assigns the privileges to the user based on the entries that are specified in the Users attribute of the User Group resource. When you use nsrlogin to log in as a NetWorker Authentication Service user, NetWorker assigns the privileges to the user based on the entries that are specified in the External Roles attributes of the user Group resource. The NetWorker Security Configuration Guide provides more information about privileges provides more information.

For Windows hosts only, to ensure that you use the NetWorker recover.exe command and not the Windows OS recover command, perform one of the following tasks:
  • Ensure that NetWorker_install_path\bin appears before %SystemRoot%\System32 in the $PATH environment variable.
  • When you start the recover command include the path to the binary. For example: NetWorker_install_path\bin\recover.exe.
Perform the following steps on the destination host in the data zone.
  1. Use the mminfo command to display information about the save set of the data that you want to recover. For example, type:

    mminfo -r volume,savetime,client,ssid,cloneid,name

    Output similar to the following appears:

    Table 1. Save set information
    volume date client ssid pool name
    backup.001 05/03/2015 bu_iddnwserver 3644194209 Default C:\ddlib
    clone.001 05/03/2015 bu_iddnwserver 3644194209 Default Clone C:\ddlib

    The mminfo command provides you with information that you require to recover the save set. For example, the name of the volume that contains the save set, the date that the save set was created and the name of the pool that contains the volume. NetWorker assigns each backup and clone save set the same save set ID (SSID) and unique clone ID (cloneid). To recover from a clone volume, the name of the clone pool is required.

  2. Ensure that the volume which contains the save set is available for a device in the datazone.
  3. Use the recover command to select and then to recover the data from the backup save set or the clone save set.
    For example, type:

    recover -t date -c source_host -R destination_host -b pool_name - i_recover_option

    where:

    • date is the date that NetWorker created the save set.
      NOTE:When you do not specify a date, the recover command displays the latest version of each file in the save set.
    • source_host is the original data host.
      NOTE:When you do not specify source host, NetWorker assumes that the source client is the host where you run the recover program.
    • destination_host is the host on which to recover the data.
    • pool_name is the name of the pool that contains the volume. Use this option when you want to recover data from a clone volume.
    • - i_recover_option specifies how NetWorker handles a naming conflict between a recovered file and an existing file.
      • iN does not recover the file when a conflict occurs.
      • iY overwrites the existing file when a conflict occurs.
      • iR renames the file when a conflict occurs. The recover process appends a .R to each recovered file name.
      NOTE:The recover command requires the -i option when you use the -R option to perform a directed recovery.

    For example, to recover the data from a clone volume from a clone operation that was performed on July 20, 2015, type:

    recover -t 07/20/2015 -b Default Clone

    The Recover prompt appears.
  4. Select the files or directories and perform the recover:
    1. Specify the directory to browse:

      recover> cd path

      For example: cd /var/adm
    2. Select the file or directory for recovery:

      recover> add file_name

      For example: add system.log

      NOTE:On Windows, to recover files or directories that begin with a dash (-) such as -Accounting, try one of the following options:
      • Type add ./-Accounting to recover the -Accounting file or directory and its contents.
      • Use the cd command to change directories to -Accounting. Type add . to add the current directory and the directory contents for recovery.
      • When the current directory is /temp and -Accounting resides in the /temp directory, type add /temp/Accounting. This input adds -Accounting and the contents of the directory to the recovery list.
    3. To view the files or directory that you marked for recovery, type:

      recover> list

    4. To view the list of the volumes that NetWorker requires to recover the data, type:

      recover> volumes

    5. To recover the files to a location that differs from the original location, type:

      recover> relocate path

  5. To start the recovery operation, type:

    recover> recover

    When the recovery process completes, messages similar to the following appear:

    Received 1 file(s) from NSR server `bu-idd-nwserver2'
    Recover completion time: Tue Aug 21 08:33:04 2015
    recover>

  6. To close the recover program, type Quit.

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: <>()\