- To: George Vieira <georgev@xxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [SLUG] CPIO
- From: Peter Chubb <peterc@xxxxxxxxxx>
- Date: Fri Nov 17 12:03:00 2000
- Cc: "Sydney Linux Users Group in Sydney (E-mail)" <slug@xxxxxxxxxxx>
>>>>> "George" == George Vieira <georgev@xxxxxxxxxxxxxxxxxxxxxx> 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