>We have an external DAT drive 1.3MB (+ compression) that I can use for
>backing up my Linux box.
[posted after mailing to the poster]
Quote:>My question is, how do you make multiple backups on the same tape in such
>a way you don't have to redo everything when/if you want to update a
First, you need 'mt' so you can do 'mt /dev/nrmt0 fsf 1' (not having
a tape, I don't recall the exact syntax) to forward space to the
end of record (think vcr's that have index seek buttons on them).
That will forward the tape so that you can write the next archive.
For backing up, I suggest you do a full backup first (which it
looks like you did) then make incrementals until you run out of
tape. I did that (in DOS) for a long time - I had two tapes, but
had a lot of room on the second tape after a backup, so I did
a daily backup on the second tape until there wasn't room left, and
then I did a full backup, starting the cycle over.
The easiest way (using tar) to do incrementals is to touch a file
such as /etc/last.backup, at the end of a full backup. This file
doesn't have to even take up any disk space, but it will serve
as an indication of when the last backup was done. Then just
find all files newer than it:
$ find / -newer /etc/last.backup
Then use that as arguments to tar:
tar cf /dev/rmt0 `find / -newer /etc/last.backup`
And when complete, touch /etc/last.backup. As long as you remember to
always retouch this file after a backup, you won't have to backup any
files that haven't changed.
>Macintosh / Unix / Win (aaargghh) programmer - System Administrator
>Microsoft philosophy since 1984: Why innovate when you can immitate
--
------------------------------------------------------------------------
David E. Fox Tax Thanks for lettimg me
-----------------------------------------------------------------------