Find Data - Linux File System

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.

imagesklzzwxh:0003indklzzwxh:0004ind_unix.png

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:

not_selected

The object is not selected for restoration.

full_selection

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 the "Supported Wildcard Characters" section on this page for a list of supported wildcards.

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.

  3. Click Add and select File Name filter from the Filters tab.

  4. Add a file name or name pattern in the box, e.g. *.doc or *.*.

    Multiple filters can be specified together using spaces in between.

    Tip

    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.

  5. Click View Content.

file_name

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 filters all files with the extension .doc, for example "status.doc" and "mission.doc," on all partitions on the client computer.

    /Test/*.doc filters all .doc files only in the /Test directory.

  • a*.so filters all files with the extension .so, for example "alsvc.so" and "advdcc.so" on the client computer which have the name beginning with "a".

  • /Finance/Test/* filters all the files and directories in the "Test" directory under the "Finance" directory on the / partition. Any sub-directories under the Test directory are 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? filters 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" are not backed up because the last two characters in the name are variable.

  • /Class/report? filters any directory or file under the /Class directory where the character in place of the question mark (?) is variable. For example: "/Class/report1" and "/Class/report2" are backed up. However, "/Class/report15" is not backed up.

[]

Set or range of characters.

  • /[a-m]*.doc filters any file with .doc extension on the / partition for which the name begins with the letters "a" through "m”.

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

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

  • /Department-[A-CS] filters 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 filters all .doc files in the /root directory that start with a letter other than A, E, I, O, or U.

**

Matches any directory level.

  • /**/move.cpp filters the file named move.cpp located at any directory level. For example: /root/newapp/move.cpp/opt/kde3/src/move.cpp.

  • /etc/** filters all directories, sub-directories, and files under the /etc directory.

***

Matches any directory level, including the parent directory

  • /etc/*** filters all directories, sub-directories, and files under the /etc directory, and the /etc directory itself.

  • To filter all directories, sub-directories, and files under the /etc directory, specifying /etc/*** instead of /etc/** improves performance because /etc/*** filters the /etc directory itself. This is especially useful if you have a large subset of the file system under the /etc directory.

Notes:

  • 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 does not start with a forward slash (/), then "/**/" will be prefixed to the content to match at any level. For example: "*.doc" will become "/**/*.doc".

  • If you wants to treat the asterisk (*), question mark (?), and square brackets ([ ]) as literal, and not as wildcards, then add a forward slash (\) before the wildcard. For example: /Report\[2011-2012\]/*.doc will filter all the .doc files under /Report[2011-2012]

  • More than one type of wildcard can be used when specifying subclient content. For example: /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.

  3. Click Add and select Modified Date filter from the Filters tab.

  4. Select a modification time from the drop down list, e.g. Last Month.

    Tip

    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.

  5. Click View Content.

modified_date

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.

  3. Click Add and select File Size filter from the Filters tab.

  4. Select an operator from the drop down list and enter the file size in the box provided, e.g. Greater than 2 MB.

    Tip

    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.

  5. Click View Content.

file_size

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.

  3. Click Add and select Stubbed Objects filter from the Filters tab.

    Tip

    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.

  4. Click View Content.

stubbed_objects

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.

  3. Click Add and select Contains filter from the Filters tab.

  4. Enter the content of the file you want to find, e.g. file system.

    Tip

    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.

  5. Click View Content.

contains

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.

Loading...