Loading...

Recover - OnePass for UNIX File Systems

Recover Stubs

Use the following method to recover stubs of a file or multiple files from a UNIX terminal or console window.

  1. Any application accessing (read/write) the migrated data will trigger a recall. In order to manually perform a recall, follow the steps given below:
    • Open a Terminal or Console Window.
    • Perform an action that executes an open and read on an archived file to initiate the recovery operation. For example, you can use the vi or cat commands to do this:
      • vi<path><filename>
      • cat<path><filename>

        After you recycle the Client Manager Service (ClMgrS) services on the client computer or proxy computer, the first stub that you recall takes a long time, and you receive an "Access Denied" error. For more information, see Article ID: NSOP0001.

  2. You can track the progress of the job from the Job Controller window of the CommCell console.

    Multiple stub recoveries are submitted to the Job Controller as one job called a Persistent Recovery job. The default timeout for a persistent recovery job is 24 hours.

  3. Once job is complete, you can view the details of job from the Restore History:
    • Right-click the <Backup Set> and select View | Restore History.
    • Click OK.
  4. Right-click the job and select View Job Details.
  5. After recovery, stubs are replaced by files in the location specified.

    Recovered files:

    Stubbed files:

    Tip: You can set up recall throttling using stub recovery parameters. For more information, see Setting Up Recall Throttling Using Stub Recovery Parameters for OnePass Clients.

Recover Stubs on FreeBSD

To recover the stubs the user should be a sudo user and/or part of Galaxy Service Account group.

Follow the steps given below to recall a single stub:

  1. Open a Terminal or Console Window, navigate to the <Software_Installation_Directory>\Base directory and type the following:

    /StubRecaller <file> [-instance] <instance name> [-StatusOnConsole] <on / off>[-help]

    Where:

    • <file>is the full path of the file to be recalled.
    • <instance name> is specified in case there are more than one Commvault instances installed on the client computer.
    • StatusOnConsoleoption can be either Off or On.

      If you wish to see the status of successful /failed recalled files on console set this option to On.

      If you do not wish to see the status of successful /failed recalled files on console set this option to Off.

  2. If the StatusOnConsole is enabled then you will see recall status on the console.

    For example:

    Successfully recalled file /rpool/TempFil_00006.txt

    Note: The output of all the recall jobs can also be verified from the StubRecaller.log. This log is available at /var/log/<Software_Installation_Directory>/Log_Files/StubRecaller.log

Browse and Restore from CommCell Console

Use the following method to restore deleted files. Deleted stubs that are not yet aged, can also be recovered by performing a Browse and Restore.

  1. From the CommCell Console, navigate to Client Computers | <Client> | File System | defaultBackupSet.

    Right-click the Subclient and click Browse and Restore.

  2. Click View Content.
  3. Select the folder level under the backup set. The entire contents of the folder is automatically selected in the right pane.

    Click Recover All Selected.

  4. In the Restore Options for All Selected Items dialog box, click OK.

    If you want to restore the backed up data which may be stubbed, select the Restore data instead of stub check box.

  5. You can monitor the progress of the restore job in the Job Controller window of the CommCell Console.
  6. Once job is complete, you can view the details of job from the Restore History:
    • Right-click the <Backup Set> and select View | Restore History.
    • Click OK.
  7. Right-click the job and select View Job Details.

Congratulations -  You have successfully completed your first Archive and stub recovery.

If you want to further explore this feature read the Advanced Options section of this documentation.

Last modified: 1/18/2018 12:30:42 PM