Filter basics
Filters allow you to include or exclude files and directories from your backup or restore jobs. For example, you could create a filter to exclude all files that were backed up before a certain date. You could also filter a job to exclude files from a particular directory. Use the filters to help focus on the files you want.
For backup jobs, filtering is performed on a per host basis, meaning you can include a directory from one host, and exclude the same directory from another host. This makes it easy for you to create a job that best suits your needs, one that contains only the data that you want.
One thing you should be aware of is that exclusions will always take precedence over inclusions. For example, if in the File Pattern filter you select to include only files that have a .doc extension, and in the Directory Pattern filter you select to exclude your /work directory, all .doc files in the /work directory will be excluded.
Specifying to ``Include'' files will result in a backup or restore containing only those files which satisfy the filter specifications. For example, suppose in the source area you selected to back up your entire local hard drive, and you then set up a Directory Pattern filter to include files in the /bin directory. The result would be that SCO ARCserve/Open would only back up files from your /bin directory. No other files would be backed up.
If you don't specify any filters for a job, SCO ARCserve/Open will include all files that are on the selected source.
You have the option of including and excluding files based on the following criteria:
- specific file names or patterns
- specific directory names or patterns
- files created, modified, or last accessed before, on, or after a specific date or within a date range
- file attributes (hidden, system, etc.) - valid for NetWare servers only
Below is a brief description of the filters that you can use:
-
The File Pattern filter allows you to select specific file names to include or exclude from your job. If you don't know the specific file name, you can provide as much of the file name as you know, then use wildcards (*,?) to fill in the blanks.
-
The Directory Pattern filter allows you to exclude or include files in entire directories. As with the File Pattern filter, you can enter an entire directory name, or provide a pattern that the directory name follows. For example, setting a filter to include the /user directory will include all of the files in the /user directory with your job. If you enter use*, all directories that begin with the letters use will be included with your job (user, users, userdoc, etc.).
-
The Date filter allows you to filter files based on a threshold date or date range. Specify a date range and whether to include or exclude files that were created, modified, or last accessed on or between this date range.
For threshold, specify a threshold date and whether to include or exclude files that were created, modified, or last accessed on or before / on or after this date.
-
The File Attributes filter allows you to filter files based on whether they are hidden, system, archive, read only, or any combination of the four.
Next topic:
Applying filters - the basic steps
Previous topic:
Filtering your Jobs
© 1997 The Santa Cruz Operation, Inc. All rights reserved.