ArGest Backup User Guide

  1. Home
  2. Docs
  3. ArGest Backup User Guide
  4. Terminal Advanced Uses
  5. Turning Off Error Checking: (-F)

Turning Off Error Checking: (-F)

DO NOT USE THIS OPTION! If that didn’t scare you off … running BRU with the -F option disables calculation and checking of error-sensing values. You’ll generally only use this option when you are absolutely sure that the archive media is essentially perfect; that there is no chance for an error to occur in the recording process.

If you record an archive with the -F option, you must read it back with the same option. NOTE: That some of BRU’s automatic features, such as AUTOSCAN and byte swapping (mentioned in the Introduction), are not functional if error checking is disabled.

The option is provided primarily to facilitate the output of one BRU (perhaps that creates an archive) to be piped into the input of a second BRU, that extracts data from an archive. In this case, BRU becomes a fancy copy program. For example, to copy all of the files from /usr/u1 to /usr/u2, the following command could be given:

$ (cd /usr/u1; bru -cFf -) | (cd /usr/u2; bru -xFf -)

Note that in this case, the “-” at the end of each of the two parts of the command follows the use of the -f option. In this case, the “-” does NOT mean that BRU should look for a file list to be provided by reading the standard input as explained for the “-” option in an earlier chapter. Instead, the hyphen is the file path (see the -f option explanation). It may look a little confusing, but BRU knows the difference. If you want a file list to be provided from stdin, just make sure the -f option does not appear on the command line with a conflicting “-” usage. This option can also be used to transfer files to a different system. As long as BRU is installed on both machines. In the example below we are using the rsh command. This command may be different on different UNIX platforms.

$ bru -cFf - | rsh hostname “(cd /tmp; bru -xFf -)”