ArGest Backup User Guide

  1. Home
  2. Docs
  3. ArGest Backup User Guide
  4. Terminal Advanced Uses
  5. Using Remote Devices (non-OS X)

Using Remote Devices (non-OS X)

BRU incorporates a special feature that is similar to that used in the remote dump rdump and remote restore rrestore programs. Instead of specifying the name of a local device to use as the archive, you can give the name of a device on another system connected to the local system via some high speed network such as ethernet.

In the example below the local system, the one running BRU is named myhost. The remote system, the system with the desired archive device attached is called remotehost, and the remote device is known as /dev/rmt0. To backup the files from the local system “myhost” and store them on the remote system “remotehost”, /dev/rmt0 device, you would run the command below on the local host “myhost”:

bru -c -vv -f remotehost:/dev/rmt0

To restore files from the same remote system you would run this command:

bru -x -vv -f remotehost:/dev/rmt0

You should also create an entry for the remote device in myhost’s brutab file. As long as you have the appropriate programs and permissions to be able to run a remote shell on remotehost, and you have the remote device server program /etc/rmt on remotehost, then BRU should be able to read and write the remote device /dev/rmt0. Note that some versions of the /etc/rmt program have a maximum I/O buffer size of 10K, which is smaller than the default I/O buffer size used by BRU. If you get an error using remote devices, try setting your I/O buffer size to 4K using the -b option. Using remote devices can sometimes be very slow. Once you have established that you can successfully read and write a remote device, you might try the double buffering option to increase the speed of remote reads and writes. NOTE: The /etc/rmt program is not furnished with certain versions of UNIX. If you cannot find a copy (source code can be found at many Internet sites), please contact OWC Group. A complete source code listing (and full explanation) can also be found in the following book for C programmers: UNIX Network Programming, W. Richard Stevens, Prentice-Hall, Englewood Cliffs, NJ, 1990, ISBN 0-13-949876-1.