IBM Tivoli Storage Manager, Version 7.1

Assign a management class to files

A management class defines when your files are included in a backup, how long they are kept on the server, and how many versions of the file the server should keep.

The server administrator selects a default management class. You can specify your own management class to override the default management class.

To assign a management class other than the default to directories, use the dirmc option in your options file.

You can assign a management class for a file or file group by using an include statement in your options file. You can also assign a management class by using an include statement in include-exclude file specified by the inclexcl option. Management class names are not case-sensitive.

Using the command-line client, to associate all files in the costs directory with the management class named budget, you would enter:

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems
   include /home/proj2/costs/* budget
Windows operating systems
   include c:\adsm\proj2\costs\* budget

To specify a management class named managall to use for all files to which you do not explicitly assign a management class, enter the following:

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems
   include /.../* managall
Windows operating systems
   include ?:\...\* managall

The following examples show how to assign a management class to files:

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems
   exclude /.../*.sno
   include /home/winter/.../*.ice      mcweekly
   include /home/winter/december/*.ice mcdaily
   include /home/winter/january/*.ice  mcmonthly
   include /home/winter/february/white.sno
Windows operating systems
   exclude ?:\...\*.sno
   include c:\winter\...\*.ice      mcweekly
   include c:\winter\december\*.ice mcdaily
   include c:\winter\january\*.ice  mcmonthly
   include c:\winter\february\white.sno

Processing follows these steps:

  1. The file white.sno in the february directory in the winter directory is backed up following bottom-up processing rules. Because you did not specify a management class on this statement, the file is assigned to the default management class.
  2. Any file with an extension of ice in the january directory is assigned to the management class named mcmonthly.
  3. Any file with an extension of ice in the december directory is assigned to the management class named mcdaily.
  4. Any other files with an extension of ice in any directory under the winter directory are assigned to the management class named mcweekly.
  5. Any file with an extension of sno in any directory is excluded from backup. The exception to this rule is white.sno in the february directory, which is in the winter directory.

To specify your own default management class mgmt_class_name for files that are not explicitly included, put the following statement at the top of your include list:

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems
   include /.../* mgmt_class_name
Windows operating systems
   include ?:\...\* mgmt_class_name

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems When you archive a file using the graphical user interface, you can select a different management class to override the management class assigned to the file.



Feedback