newbie tar/tape backup questions
Im having some issues backing up tar to a tape drive, hoping someone can give me some info on seeing status of things. I have read a few howto's and man pages but can't find answers to the questinos below. if anyone has a link to certain docs that answer my ?'s id be very grateful. heres the skinny:
I have setup nonprofit with FC4 , a sony ait (ide) tape drive (40/104gb). i can do small backups/restores/compares just fine to /dev/st0
Once we started backing up all of the organizations (only about 20gb) Istarted getting inconsistant results.
My failures seem to be on the compare: certain files fail compare randonly, no one had the files open and tar is still running in the morning , so it looks like its actually getting hung up and not just failing the compare and moving on. Ive tried removing the files in question on occasion it still fails on random files. Last night it went fine however, after changing my scripts slightly. but I still had a couple of questions i cannot find the answer to and im hoping theyre easy:
from what ive read accessing the device as st0 autorewinds it after every access, is this true?
what is the default behavior of tar as to tape overwriting? I want the job to overwrite the tape each night, do i have to use mt to erase it prior or not? the backup command im using is "tar cf /dev/st0 /home/netshare"
I have tried the compression switches but had issues restoring, so for now its disabled. will this increase the backup speed (its taking many more hours than the same amount on a windows system with backup exec).
how do i know/set the tape capacity in linux with tar?
where/how to set compression, as in windows it appears a default setting , we always get more than the uncompressed capacity. does piping through gzip give similiar results, and is that the best approach to utilize compression?
I have the output of the tar df compare to a text file to see backup compare status, but since it occasionally fails at this stage, is there a more detailed log i can see? I see nothing in /var/log/messages, and the output of the file doesnt give much info either except what files failed (and the fact that tar is still active task in the am). last night i used tar dvf, doesnt tell me much more when it fails.
so, lotsa ?'s (sorry!). is there any docs that cover these issues? surely there are and ive had bad luck not finding them. thanks for any help!