The following TSA options are discussed in this section.
NOTE:The following options discuss NetWare specific paths; on SLES the NFS name space can be used to represent the same. The NFS name space on SLES takes the /directory/directory/filename format.
All backup types contain advanced options to allow you to customize your backup. These options allow you to perform the following tasks.
Choosing Subsets of Data to Back Up
You can choose specific subsets of a data set to exclude from or include in the backup session by selecting major resources, such as volumes, files, directories, or path.
You can specify how to scan what you are backing up.
Whenever you perform a custom backup or restore, you can use the exclude and include options to select subsets of what you want to back up.
Whether you use exclude or include usually depends on the size of the data you want to back up, compared to the size of the data you do not want to back up.
To back up most of the file system structure or Novell® eDirectory™ tree structure while omitting only a small part, use the Exclude option to omit the part you do not want to back up. Everything that you do not specifically exclude is included.
After you exclude part of the structure such as a volume, directory, or container, you cannot include any subdirectories, files, or objects beneath that excluded volume, directory, or container.
To back up a small part of the file system structure, use the Include option to specify the data you want. Everything you do not specifically include is excluded.
When you select only part of the file system structure to include (such as a volume), all directories, subdirectories, and files under that selection are included in the backup by default.
In the figure shown below, volume sys: is selected as an Include option. All other areas of the file system structure are excluded from the backup. You can exclude some subdirectories or files beneath your selection if necessary.
Figure A-1 Include option with a specific volume included, and all others excluded
The same principle applies when you specify a directory with the Include option. The figure below shows that all directories, subdirectories, and files under the NetUsers directory are included in the backup. All other areas of the file system structure are excluded from the backup.
Figure A-2 Include option with a specific directory included, and all others excluded
The reverse is true when you select a major TSA resource, a directory, or a file as an exclude option. All other areas of the file system structure are included in the backup.
By combining the include and exclude options, you can control what is backed up.
For example, the following command sequence results in volume home being included in the backup with the exception of the mary directory and the widget.exe file.
Include major TSA resources home:
Exclude directories (full path): home:netusers/mary
Exclude path/files home:netusers/karl/project/widget.exe
Figure A-3 Example combining SBCON Include and Exclude options
You can specify a different type of data set to be scanned.
A data set is a group of data that can be manipulated by SBCON. Each data set in the file system structure can be classified as a parent or a child, and each class includes different types of data items.
Within SBCON, a parent might be a server, eDirectory, a volume, or a directory. A child is a file, which is the lowest level of the directory structure.
The unit below a parent is not necessarily a child; it might be another parent, or the line might end with the parent. The unit above a child must always be a parent.
Figure A-4 Parent and child levels in a file system
Items in a data set for either a parent or child should be items that do not frequently change. You might choose to exclude from the backup session one or more items in the data set of your target.
SBCON allows you to overwrite all existing parents or children. Children can be overwritten only if the date on the data set on the hard disk is more recent than the date of the data set backup.
For a custom restore session, you can specify exactly which data to restore. Several options work together to allow you maximum flexibility in your restore session. These options allow you to do the following:
You can choose specific subsets of a backup session to include in or exclude from the restore session by selecting major resources (such as volumes, server-specific info, or containers) or minor resources (such as directories, paths, files, or objects).
For more information about including and excluding, see Backup Options.
Open mode options allows you to customize data for restore. File system data can either be included or excluded for the session. The speed of the restore depends on the options you set.
Be careful when you perform a selective restore and choose whether to overwrite existing parents or children, especially eDirectory objects. Objects such as groups and users have references to other objects in the eDirectory tree structure that will be affected by a selective restore.
For example, suppose a part of the eDirectory tree structure gets corrupted and several users are deleted from the tree. There is a group that contains those users, but when the users are gone, the group purges the membership list to remove those users; the group, however, continues to exist in the eDirectory tree structure.
If you perform a selective restore and choose not to overwrite existing objects, the group membership list remains empty even if you restore the users. You need to either add the users manually to the group membership list or restore the original group.