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 save set recover from the command prompt

Use the recover command in non-interactive mode to perform a save set recover data from a command prompt. Non-interactive mode enables you to recover a directory or file immediately, without browsing the client file index for file information. Use non-interactive mode to recover data when you know the path to recover and you do not need to browse through the directory contents of the save set. NetWorker only supports a local save set recover. You cannot perform directed recover by using a save set recover.

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

  1. Connect to the target host with the root account on UNIX or the Administrator on Windows.
  2. Use the mminfo command to display information about the save set of the data that you want to recover.
    For example, type: mminfo -av -r volume,savetime,client,ssid,cloneid,name

    Output similar to the following appears:

    Table 1. Save set information
    volume date client ssid clone id name
    backup.001 05/03/2015 bu_iddnwserver 3644194209 1362492833 C:\ddlib
    clone.001 05/03/2015 bu_iddnwserver 3644194209 1362493448 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 and the date that the save set was created. NetWorker assigns each backup and clone save set the same save set ID (SSID) and unique clone ID (cloneid).
  3. Ensure that the volume which contains the save set is available for a device in the datazone.
  4. Use the recover command to recover the data from the backup save set or the clone save set.
    NOTE:To perform concurrent recoveries from an advanced file type by either using multiple -S options to identify multiple save sets, or starting multiple recover commands.
    • To recover the all the data from a backup save set, type the following command:

      recover -S ssid - i_recover_option

      where:

      • ssid is the SSID of the backup save set.
      • - 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.

      For example:

      recover -S 3644194209 -iR

    • To recover the all the data from a clone save set, type the following command:

      recover -S ssid/cloneid

      where:

      • ssid is the SSID of the backup save set.
      • clonied is the cloneid of the clone save set.

      For example:

      recover -S 3644194209/1362493448
      NOTE:When you do not specify the cloneid of the save set, the recover command recovers the data from the backup save set.
    • To recover a single directory from the clone save set and relocate the data to a new directory location, type the following command:

      recover -S ssid/cloneid -d destination_dir original_dir

      where:

      • ssid is the SSID of the backup save set.
      • cloneid is the cloneid of the clone save set.
      • destination_dir is the location to which you want to recover the data.
      • original_dir is the directory that is contained in the save set that you want to recover.

      For example, to recover the directory /var/adm on the backup save set to the /usr/mnd directory, type the following command:

      recover -S 3644194209/1362493448 -d /usr/mnd /var/adm
    • To recover data that was encrypted with the current AES pass phrase, no special action is required. However, to recover data that was encrypted with an AES pass phrase that is different than the current pass phrase,start the recover command specify the -p pass_phrase. To enter multiple pass phrases with the -p option, type: recover -p pass_phrase1 -p pass_phrase2 -p pass_phrase3.
      NOTE:When an incorrect pass phrase or no pass phrase is entered, encrypted data is not recovered. Instead, the file names are created without data. However, if unencrypted data is also selected for recovery, it is recovered.

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