Loading...

Find Data - Linux File System

Table of Contents

Understanding the Find Options Window

The Find feature lets you search through backed-up data and restore it from the search results.

You can start a Find operation at the backup set or subclient level. The sub-levels shown on the Search Results tab are based on where you start the Find operation.

Using the Search Results Tab to Select Objects to Restore

The Search Results tab shows the results of a Find operation. Using Find, you can search through backed-up a file or folder information based on its metadata, such as name, modification date, size, or backup date. Data that is excluded by filtering does not appear in the search results.

Notes:
  • All selections of folders are recursive.
  • If you sort the Find results by clicking a column heading on the Search Results tab, any selections that you have made will be lost.

The selection icons indicate these conditions:

The object is not selected for restoration.
The object is selected for restoration. If the object is a folder, all child objects are selected also.

Find results work differently when a Content Indexing job has been run after the last backup job, as follows:

  • If Content Indexing is enabled on the client, and jobs are Content Indexed, Find results are displayed from Content Indexed data.
  • If Content Indexing is not enabled, Find results are displayed from backed-up file and folder metadata.

Find Files with Specific File Names

You can find files with specific names or name patterns. Wildcard expressions can be used to match specific file name patterns. This function provides the ability to find and restore files and/or folders/directories that have a common naming convention. For example, msde2.txt and msj4j.txt.

Note that a combination of wildcards in a single expression (e.g., access?.h*) can also be used. If the expression is specified by itself, without a path (*.txt), the system searches for and returns all data within the backup set that satisfies the expression. By preceding the expression with a path, the scope of the restored data can be narrowed. For example, specifying sys:\data\*.txt, would restore only those files and directories within the sys:\data directory with extensions of .txt.

If a wildcard pattern that matches the name of a directory was specified, the system restores the directory, but none of the directory's contents. For example, if the wildcard restore string is tem?, the system restores any and all data named with a four-character string starting with the letters t, e, and m. If a directory name satisfies the wild card condition (e.g., sys:\temp) then only the directory would be restored; however, none of the files or any subdirectories contained therein are restored.

See Supported Wildcard Characters for a list of wildcards supported.

Use the following steps to find files with specific name or name pattern:

  1. From the CommCell Browser, navigate to Client Computers | <Client> | File System
  2. Right-click a Backup Set and click All Tasks | Find.
  1. Click Add and select File Name filter from the Filters tab.
  2. Add a file name or name pattern in the box, e.g. *.doc or *.*.

    Multiple filters can be specified together using spaces in between.

    You may also specify additional options to run the Find Operation, e.g. Time Range, Copy Precedence, Starting Path, Page Size etc. For detailed information on these options, see the corresponding Browse and Restore page for your Agent.

  3. Click View Content.

Supported Wildcard Characters

Wildcards Description Examples
* Any number of characters.

This wildcard is used in the following scenarios:

  • Filter all files of a specific extension
  • Filter all files under a specific directory
  • Filter all files of a specific extension where the file name starts with a specific pattern.
*.doc will filter all files with the extension .doc (e.g., status.doc, mission.doc) on all partitions on the client computer.

/Test/*.doc will  filter all .doc files only in the /Test directory

a*.so will  filter all files with the extension .so (e.g., alsvc.so, advdcc.so) on the client computer which have the name beginning with "a".

/Finance/Test/* will  filter all the files and directories in the "Test" directory under the "Finance" directory on the / partition. Any sub-directories under the Test directory will not get backed up.

? Any one character.

This wildcard can be used in the following scenario:

All files (or directories) for which any one character in the file name or the directory name is variable.

/access? will  filter any directory or file on the machine for which the name begins with- "access" followed by any one character such as access1 or access5. However, access12 or access15 will not get backed up because the last two characters in the name are variable.

/Class/report? will  filter any directory or file under /Class directory for which the character in the place of ? is variable. For example: /Class/report1 and /Class/report2 will get backed up. However, /Class/report15 will not get backed up.

[] Set or range of characters. /[a-m]*.doc will  filter any file with .doc extension on the / partition for which the name begins with the letters "a" through "m”.

/[AEIOU]*.doc will  filter any file name that ends with .doc and begins with the letters A, E, I, O, or U.

/Finance/report[1-47-9] will  filter files report1, report2, report4, report7, report8, report9 under Finance directory.

/Department-[A-CS] will  filter files Department-A, Department-B, Department-C and Department-S.

[!] The negation of a set or range of characters. You can use the wildcard in the following scenario:

Filter all files in a directory except the files for which the name starts with any character from the specified set or range of characters.

/root/[!AEIOU]*.doc would filter all .doc files in the /root directory that start with a letter other than A, E, I, O, or U.
** Any number of characters across any number of path levels. /**/move.cpp - the file named move.cpp located at any directory level. (e.g., /root/newapp/move.cpp/opt/kde3/src/move.cpp)

/etc/** - will  filter all directories and files under /etc. All the sub-directories under these directories will also be included.

When you use wildcards to specify the subclient content, the content path appears in Italics.

If you want all the files with the file extension ".doc" to be  filtered from any level, then specify the content as *.doc. If any subclient content doesn’t start with /, then /**/ will be prefixed to the content to match at any level. E.g., *.doc will be /**/*.doc

If user wants to treat *, ?, [ ] as literals in the subclient content and not as wildcards, then the user can escape the wildcard by adding ‘\’ before the wildcard. E.g., /Report\[2011-2012\]/*.doc  filters all the .doc files under /Report[2011-2012]

More than one type of wildcard can be used when specifying subclient content (e.g., /Dcvol?/oracle[1-47]/**/*.log).

Find Files with Specific Modified Date

Use the following steps to find files with specific modification time:

  1. From the CommCell Browser, navigate to Client Computers | <Client> | File System
  2. Right-click a Backup Set and click All Tasks | Find.
  1. Click Add and select Modified Date filter from the Filters tab.
  2. Select a modification time from the drop down list, e.g. Last Month.

    You may also specify additional options to run the Find Operation, e.g. Time Range, Copy Precedence, Starting Path, Page Size etc. For detailed information on these options, see the corresponding Browse and Restore page for your Agent.

  3. Click View Content.

Find Files with Specific File Size

Use the following steps to find files that satisfy a specific file size:

  1. From the CommCell Browser, navigate to Client Computers | <Client> | File System
  2. Right-click a Backup Set and click All Tasks | Find.
  1. Click Add and select File Size filter from the Filters tab.
  2. Select an operator from the drop down list and enter the file size in the box provided, e.g. Greater than 2 MB.

    You may also specify additional options to run the Find Operation, e.g. Time Range, Copy Precedence, Starting Path, Page Size etc. For detailed information on these options, see the corresponding Browse and Restore page for your Agent.

  3. Click View Content.

Find Files That Were Stubs

Use the following steps to find files that existed as stubs when backed up:

  1. From the CommCell Browser, navigate to Client Computers | <Client> | File System
  2. Right-click a Backup Set and click All Tasks | Find.
  1. Click Add and select Stubbed Objects filter from the Filters tab.

    You may also specify additional options to run the Find Operation, e.g. Time Range, Copy Precedence, Starting Path, Page Size etc. For detailed information on these options, see the corresponding Browse and Restore page for your Agent.

  2. Click View Content.

Find Files with Specific Wording as Their Content

Use the following steps to find the backed  up files with specific wording in their content:

  1. From the CommCell Browser, navigate to Client Computers | <Client> | File System
  2. Right-click a Backup Set and click All Tasks | Find.
  1. Click Add and select Contains filter from the Filters tab.
  2. Enter the content of the file you want to find, e.g. file system.

    This filter will work only if the Content Indexing Engine is installed and a Content Indexing job has been run after the last backup job.

    You may also specify additional options to run the Find Operation, e.g. Time Range, Copy Precedence, Starting Path, Page Size etc. For detailed information on these options, see the corresponding Browse and Restore page for your Agent.

  3. Click View Content.

Restoring Items using the Selected Items List

Use these steps to add files or folders that appear on the Search Results tab to the list on the Selected Items tab, and then restore them:

  1. In the Find Options window, select one or more items.
  2. Add all currently selected items by right-clicking one selected item, then clicking Add to Selected List.
  3. Click the Selected Items tab, then right-click a selected item in the list.
  4. Click Restore.