Adding a selection list entry

The Add Selection List Entry menu provides choices for adding and removing TSA resources, directories, and files from the backup. You display this menu by typing a (Add Selection List Entry) at the Target Selection List Configuration menu.

When you initially define a target, it includes all major TSA resources, directories, and files. If you specify to exclude an entry, then everything except the excluded entries are included. If you specify to include an entry, then only the entries marked for inclusion are included in the backup.

To add a selection list entry

  • On the Target's Main Menu, type t to go to the Target Configuration menu.
  • On the Target Configuration menu, type s to go to the Target Selection List Configuration menu.
  • Type a. The Add Selection List Entry menu displays.
  • Select an entry from the list of selection types. The following selection types are available (although this list may differ, depending on the TSA selected):
1) Exclude major TSA resources 
2) Include major TSA resources 

Options 1 and 2 allow you to exclude or include specific Target Service Agent resources. For example, this allows you to set the Target Resource on the NetWare file server to back up the entire NetWare File System, and then exclude the SYS resource.

3) Exclude directories (full path) 
4) Include directories (full path) 

Options 3 and 4 allow you to exclude or include specific directories on the NetWare file server from the backup. For example, you could exclude SYS:/VISTA/ from the backup.

5) Exclude files 
6) Include files 

Options 5 and 6 allow you to exclude or include specific files from the backup. For example, you could exclude all files with the extension .BAK and .TMP by specifying *.TMP and *.BAK.

7) Exclude path/files 
8) Include path/files 

Options 7 and 8 allow you to exclude or include specific files under specific directories on the NetWare file server from the backup. For example, you could exclude SYS:/TMP/*.TMP from the backup.

  • Specify the Name Space Type to which the include or exclude list is to apply.

Name spaces include areas such as DOS and LONG. Type the number corresponding to the entry in the displayed list of name space types.

NetBackup will use the namespace to name the objects in the backup in the NetBackup database. The actual backup image will contain information pertaining to all the namespaces that exist for the file (i.e. namespaces installed on the volume).

Tip: Select a namespace that exists on all the volumes that are included in the target and exists on volumes to which the files might be restored.

For example:

The SYS volume has the DOS namespace and the LONG namespace installed and there is a file X where:

DOS namespace SYS:\THISISA.TXT

LONG namespace SYS::This is a long document name.txt

If the DOS namespace is selected for the target, then in the NetBackup database it would appear as /TGTNAME/SYS/THISISA.TXT. If you choose DOS, you do NOT lose long names.

If the LONG namespace is selected for the target, then in the NetBackup database it would appear as /TGTNAME/SYS/This is a long document name.txt.

When the file is deleted and then restored, the restored file will have:

DOS namespace SYS:\THISISA.TXT

LONG namespace SYS::This is a long document name.txt

This is because when the file is backed up, it contains information about what the file's name should look like in all of the namespaces that existed at the time of the backup.

Redirected restores to different targets are different. If you try to restore the backup to the target defined to use the DOS namespace on the SYS volume on machine B, you would get mixed results. Some files may get restored and some may not. Those original LONG names that are legal DOS names would get restored. But the original LONG names that are NOT legal DOS names would not get restored.

For example:

On machine A in the LONG namespace - SYS:\FILE.TXT

This file would get restored correctly using the target defined for machine B because this name is a valid DOS name.

On machine A in the LONG namespace - SYS:\FILE IS LONG AND NOT DOS VALID.TXT

This file would NOT get restored correctly using the target defined for machine B because this is not a valid DOS name.

  • Type selection items, one per line, associated with the selection type.

For example, if 7 (Exclude path/files) is selected for a DOS namespace, you could type SYS:/STUART/*.BAK to exclude files with a .BAK extension under the SYS:/STUART directory. Enter a blank line to end the list.

  • After all selection items have been entered, leave a blank line and press Enter to return to the Target Selection List Configuration menu.

More Information