12.07.2015 Views

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

use this Preview comm<strong>and</strong> to make sure that you include <strong>and</strong> exclude the correctfiles. The following is a sample scenario <strong>for</strong> using the include-exclude previewfunction.Assume that you want to back up the files on your /Users/home file space. Youbring up the <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> Client Java GUI <strong>and</strong> open the <strong>Backup</strong> tree.You can see all of the directories <strong>and</strong> files that have been excluded by your optionsfile <strong>and</strong> other sources. You scroll down the tree <strong>and</strong> notice that all of the *.o filesin your /Volumes/home/mary/myobjdir will be backed up. You don’t want to backup these files, so you right click on a .o file, <strong>and</strong> choose ″View File Details″ fromthe popup menu. The dialog shows that these files are included. Click on the″Advanced″ button <strong>and</strong> create a rule to exclude all .o files from the /home filespace. A rule is created at the bottom of your options file. The current directory isrefreshed in the <strong>Backup</strong> tree, <strong>and</strong> the .o files have the red ’X’, meaning they areexcluded. When you look at other directories, they show the new excludes thatyou have added. Press ″<strong>Backup</strong>″ <strong>and</strong> back up the files on your /home file space.See “Preview” on page 439 <strong>for</strong> more in<strong>for</strong>mation about the Preview comm<strong>and</strong>.Processing include <strong>and</strong> exclude optionsThe <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> server can define include-exclude options using theinclexcl parameter in a client option set. The include-exclude statements specifiedby the server are evaluated along with those in the dsm.sys file. The serverinclude-exclude statements are always en<strong>for</strong>ced <strong>and</strong> placed at the bottom of theinclude-exclude list <strong>and</strong> evaluated be<strong>for</strong>e the client include-exclude statements.If the dsm.sys file include-exclude list contains one or more inclexcl options thatspecify include-exclude files, the include-exclude statements in these files areplaced in the list position occupied by the inclexcl option <strong>and</strong> processedaccordingly.When per<strong>for</strong>ming an incremental backup, <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> evaluates allexclude.fs <strong>and</strong> exclude.dir statements first, <strong>and</strong> removes the excluded file spaces,directories, <strong>and</strong> files from the list of objects available <strong>for</strong> processing. See“Excluding file spaces <strong>and</strong> directories” on page 60 <strong>and</strong> “Exclude options” on page246 <strong>for</strong> more in<strong>for</strong>mation about the exclude.fs <strong>and</strong> exclude.dir options.After evaluating all exclude.fs <strong>and</strong> exclude.dir statements, <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong>evaluates the include-exclude statements <strong>for</strong> controlling symbolic link processing(exclude.attribute.symlink <strong>and</strong> include.attribute.symlink) from the bottom up <strong>and</strong>stops if it finds an include or exclude statement that matches the file it isprocessing. After the include-exclude statements <strong>for</strong> controlling symbolic linkprocessing are processed, <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> evaluates the remaininginclude-exclude list from the bottom up <strong>and</strong> stops when it finds an include orexclude statement that matches the file it is processing. The order in which theinclude <strong>and</strong> exclude options are entered there<strong>for</strong>e affects which files are included<strong>and</strong> excluded. See Chapter 9, “Using processing options,” on page 169 <strong>for</strong> morein<strong>for</strong>mation about the order in which all options are processed.To display a list of all include-exclude statements in effect on your clientworkstation in the actual order they are processed, use the query inclexclcomm<strong>and</strong>. See “Query Inclexcl” on page 455 <strong>for</strong> more in<strong>for</strong>mation.The client program processes the list of include-exclude statements according tothe following rules:Chapter 2. Configuring <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> 65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!