SCSI Tape Device Append Issue
I have an external HP DDS-3 Device hanging off my Redhat 7.2 Box. I've spent a considerable amount of time developing an in-house backup system (script) because I refuse to use a proprietary package. Plus, this makes it easier to move files from one system to another.
Anyway, I using the st device drivers and the mt command to backup files. I'm able to do full backups using the automatic rewind device (/dev/stape/tape-rewind) but I'm having a hell of a time trying to append incrementals. Utilizing the following command...
# cat /tmp/files.tmp | cpio -oc | gzip -c > /dev/stape/tape-rewind
...I'm able to backup all files listed in the .tmp file, and restore them. cpio shoots back a response to stdout, indicating the number of blocks stored ####.
The problem is, cpio only reads one block on append. What could I do, hopefully keeping the current schema of commands, that would allow me to save incremental backups?