next up previous contents index
Next: Restore a system no Up: How can I...? Previous: Exclude a directory tree

Restore my files manually?

Well, that is fairly simple. To restore from a tape, you can do this (assuming that `` /dev/tape '' is a link to your tape device):

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 TAR
The 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/fd0H1440
For 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:
-c ``umount /mnt ; echo Next Volume...; read ''
-C ``mount /dev/fd0 /mnt -t minix''


next up previous contents index
Next: Restore a system no Up: How can I...? Previous: Exclude a directory tree
Jens Ritter
1998-08-18