KB Logo

TOLIS Group Knowledge Base

Browse KB by category:
Go to KB #:
Glossary
Email   Bookmark



Important changes made to the 'bruxpat' file declaration in version 17.0.1.4.6 and higher.

Views: 13207
Votes: 0
Posted: 27 Dec, 2007

The bruxpat flag changed in build 1.4.6: This version of BRU has been modified in the way that the utilization of the bruxpat setting is defined. This change is incompatible with the previous implementation. In previous versions, utilizing the -X flag instructed BRU to match files against the /etc/bruxpat file. However, because of a large number of user requests for command line exclusion capabilities, we have modified the -X flag to allow the insertion of exclusion patterns on the command line. Therefore, to access the /etc/bruxpat file, you should modify any command scripts to use -QX.

The following examples explain how to use the new -X syntax:

This will backup the entire root volume excluding everything in /etc:

$ bru -cvf /dev/rmt/0n -X /etc/ /

This will backup the users' home directories excluding all mp3 files:

$ bru -cvf /dev/rmt/0n -X "*/*.mp3" /export/home

This will exclude the mp3 files as above, but will also add in the processing of the /etc/bruxpat file.

$ bru -cvf /dev/rmt/0n -X "*/*.mp3" -QX /export/home

Note: The wildcard patterns are enclosed within quotes ("") so that expansion is performed by BRU instead of your shell (this is a shell thing, not a BRU thing). Other than quoting the wildcards on the command line, the same rules apply to the new command line exclusions that apply to the contents of the "xs" entries in the bruxpat file. Also, multiple -X "path" entries may be made on the same command line, while only one -QX may (or should) be used.

Others in this Category
document How to use BRU with Autoloaders
document Disable/Enable Hardware Compression When Using BRU
document Is it possible to use BRU to copy data between systems?
document Sample BRUTAB Settings
document Setting up an Autoloader to work with BRU - Method 1
» More Articles



RSS
Powered by KnowledgebasePublisher
Page Load Time: 0.027325 seconds / 27.325 milliseconds.
Page File Size: 21169 bytes.