Peter Chubb wrote:
>
> >>>>> "George" == George Vieira <[EMAIL PROTECTED]> writes:
>
> George> Hi all,
> George> If my backups ran on a file system level (eg. below), is there a way to tell
> George> the `mt` command to forward to xxx possition which is the beginning of a
> George> certain backup.??
>
> George> cd /
> George> find ./ -mount -depth -print | cpio -ocvB -O /dev/nst0
> George> cd /usr/local
> George> find ./ -mount -depth -print | cpio -ocvB -O /dev/nst0
> George> cd /home
> George> find ./ -mount -depth -print | cpio -ocvB -O /dev/nst0
>
> George> How do I got about rewinding and telling `mt` to go to say /home backup? Is
> George> it possible?
>
> mt -f /dev/nst0 rewind
> mt -f /dev/nst0 fsf 2
>
> Each time you close the /dev/nst0 device you finish and create a new
> file.
>
> mt rewind goes to the start
> mt fsf n skips over n end-of-file markers.
>
> Peter C
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
FYI
Suggest you use/try apio, more stable than cpio.
cheers
--
Michael Sztachanski
Snr. Technical Engineer
Turbolinux Aust. Pty Ltd
Lvl1, 255 George Street,
SYDNEY NSW Australia 2000
Ph: +61 2 9252 6011
Fx: +61 2 9252 6022
++++++++++++++++++++++++++++++++++++++++++++++
+ On the Sixth Day the GODs created LINUX +
+ and on the Seventh Day they rested and +
+ surveyed what they had done and they saw +
+ that it was GOOD! +
++++++++++++++++++++++++++++++++++++++++++++++
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug