I am starting to use linux tar to program backups to tape drives. I dont understand how to make successive backups of different directories on the tape. It seems like only the last tar stays on tape. For example, if I do
tar cvf /dev/tape /home
tar cvf /dev/tape /etc
only the files archived in the last tar (/etc) show up when I generate a list with
tar tvf /dev/tape
as if the first tarred files (/home) were overwritten. I was expecting to see the files from /etc and /home as well in the tape archive. What am I doing wrong or not understanding? I also tried the A and r options (append) instead of c (create) but that did not work either. Any help would be greatly appreciated.