A/UX : Backup and Restore Functions


Is special software required to back up A/UX drives? If files are restored, does UNIX need to be notified in any way?

All versions of A/UX come with software utilities, such as "dump.bsd" and "restore", to back up and/or restore A/UX file systems from a disk drive to a tape backup device. Third-party tape drives can be used if they support the tape driver.

You run the "rdump" and "rrestore" utilities to back up and restore a remote
UNIX file system to and from the tape drive. Other utilities, like "cpio",
"tar", and "dd", can also be used to back up or restore individual file(s) in
different formats.

To create a backup:

        tar cvbf 16 /dev/rmt/tc<#> <filename>

where <#> is the SCSI id number of the tape device and <filename> is the name of the directory or file to backup.  Or use:

        dump.bsd 0ubf 16 /dev/rmt/tc<#> /dev/dsk/c0d0s0

where <#> is the SCSI id number of the tape device and an entire filesystem is specified.

Note that the tar command uses a filename specification while the dump.bsd command uses a device name specification.

To check what is on a tar backup, you can get a "table of contents" with


    tar tvf /dev/floppy0
or
    tar tvf /dev/rmt/tc#

where # is the SCSI id of the tape device.

To extract files from a tar backup:

    cd <dir where you want files to go>
    tar xvf /dev/rmt/tc#

When files are restored, they are automatically restored to the original
format, depending on the command option(s) used.

For more information on the backup and restore functions, please refer to
manual pages rdump(1M), dump.BSD(1M), restore(1M), rrestore(1M), tar(1),
cpio(1), and dd(1).
Published Date: Feb 18, 2012