It is recommended that you perform a recovery operation of an archived
file after your first archive operation to understand the
process. Follow the steps given below to perform a restore of a file or multiple files
from a Unix terminal or console window.
1. |
- 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>
|
![](../../images/migration/file_system/unix_stub_recovery.gif) |
2. |
- You can track the progress of the job from the Job
Controller or Event Viewer window of the CommCell console.
- Multiple
stub recoveries are submitted to the Job Controller as one job called a Persistent
Recovery job.
|
![](../../images/migration/file_system/stub_recovery_unix_fsdm.gif) |
3. |
- Once job is complete, view the details of job from the
Recover History.
- Right-click the ArchiveSet and select View |
Recovery History.
- Click OK.
|
![](../../images/migration/file_system/restore_history01_1.gif) |
4. |
Right-click the job and select View Job Details. |
![](../../images/migration/file_system/restore_history02_1.gif) |
5. |
If the subclient is configured to create stubs, by choosing the option
Replace the File with a Stub, files that qualify the archiving rule
will get stubbed. You can restore stubs following the same steps
listed above (step 1 - step 4). |
![](../../images/migration/file_system/archive_unix_stub_rules.gif) |
6. |
After recovery, stubs are replaced by files in the location
specified.
|
Stubbed files:
![](../../images/migration/file_system/unix_after_stub.gif)
Recovered files:
![](../../images/migration/file_system/unix_before_stub.gif) |