ArGest Backup User Guide

  1. Home
  2. Docs
  3. ArGest Backup User Guide
  4. Terminal Extract Files: The Restore Function
  5. Where To Put the Files: Pathnames

Where To Put the Files: Pathnames

The placement of extracted files is largely determined by the way in which files and directories were specified when the archive was created. Archived files may have been stored using either relative pathnames (pathnames that begin with a “./” or an alphanumeric character) or absolute pathnames (pathnames that begin with a “/” character). An absolute pathname always begins at the root of the system.

If the archive was created by specifying an absolute pathname, for example, /usr/me/myfile, then the files will be restored in that exact location.

If the file specification at the time of archive creation, did not begin with the “/” character, for example:




then the files will be restored in the current directory when BRU is run to extract them. In the above case, if /tmp is the current directory, then the file will be restored as


If you specify a relative path when you back files up, then the BRU archive tape can be used to restore a filesystem to a different device than the device used to create it. An entire directory can be moved from one machine to another without first determining that there is enough space on a particular filesystem to install it. You simply have to choose a filesystem where there is enough space and issue the command to extract the directory from a location in that filesystem. The relative pathnames of the files assure that the installation occurs in the “current directory.”

There are no particular advantages to specifying absolute pathnames when creating a BRU archive, and in general, absolute pathnames should be avoided.

NOTE: When trying to match filenames,


is NOT equivalent to


The filename must be specified in exactly the same way as the name of the file stored in the archive. You can use

bru -tv

to see how the name is stored. See Appendix C, “The BRU Manual Page,” for a description of the -t option.