ArGest Backup User Guide

  1. Home
  2. Docs
  3. ArGest Backup User Guide
  4. Terminal Extract Files: The Restore Function
  5. Telling BRU To Restore: (-x)

Telling BRU To Restore: (-x)

STOP! Before you extract files from an archive, write-protect your tape (or other media). This will avoid data loss that can result from entering the wrong command. It’s easy to make a mistake, like entering bru -c instead of bru -x. The -x mode tells BRU that you want to extract files from an archive. It does not take a parameter. All uses of bru to extract files must begin with

bru -x

The command line shown above is the simplest extract command you can execute. It assumes two things: First, since it does not specify a device, it assumes that your /etc/brutab file has been set up to specify a default device. (See “Telling BRU What Device To Use: -f,” below; Chapter 4, “Setting Device Parameters: The brutab File “; and Appendix E, “A Sample brutab File.”) Second, it assumes you want to use BRU’s default value for files. When reading an archive, the default for BRU is to select all files in the archive. NOTE: By default, BRU will NOT overwrite files unless the file on the archive is newer than the file on disk (refer to the -u option).