First you have to ``cd '' to the directoy to where you want to restore the files. Then:
mt rewind # to rewind your tape cat /dev/tape # this will show you the archive header cat /dev/tape >/dev/null # this will skips the contents directory
Depending on whether you used AFIO or TAR format, do one of the following (using double buffering and decompression):
multibuf -r -h /dev/tape | dd obs=4096k | afio -i -vzZk - # for AFIO multibuf -r -h /dev/tape | dd obs=4096k | tar -xzvf - # for TARThe options for afio(1) and tar(1) depend on whether you used compression or not. See their manpages for details.
For floppy disks, using afio(1) is rather simple, just type:
afio -i -vF -s 1440 -G /dev/fd0H1440For higher capacity floppy formats, you need to adjust the numbers; without compression, drop the ``-G'' option.
For mountable block devices, this is tricky. You can restore them manually. It goes like this:
multibuf -r -h -F -c ``...'' -C ``...'' /mnt/Archive | afio -i -vzZ -The arguments to the ``-c'' and ``-C'' must be set to mount and unmount the volume at ``/mnt '', for example like this: