Tar Command

Hi All,

How we can do incremental copy to tape using the tar command. Usually I use

tar cvf /dev/rmt/0 <file_name>

It is overwrite the existing file in the tape so how can I copy the new file with out overwriting in existing one in the tape

Thanks and regards

Sijo

[366 byte] By [Sijo] at [2007-11-25 22:33:18]
# 1

If you really want to do this then there are two basic ways, depending on how and when you are doing it.

If you are doing the tar archives at the same time then just use the non-rewind device for all but the last tar command.

If the tape is being appended to at a later stage then you would need to 'keep track' of how many archives are on the tape, skip past them using mt (using the non-rewind device) then do your tar command,

SimonM at 2007-7-5 2:49:06 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...