Re: Another On(Tb)Tape Question
Posted in 1995
Ontape -a will overwrite the file/tape. You need a new file name/tape
for every execution of ontape. If you happen to dump the logs to
a file, and don't care if you overwrite what was there, be sure to
zero out the file (i.e., cat /dev/null > ontape.out) before doing so.
I've had times when Informix would read past the last log trailer and
complain that the log was corrupted because of leftover logs from before.
Ontape will not zero out files before it writes. If your file size was
20 Megs and you dump out 10 Megs of logs, your file will still be 20 Megs
in size.
#####################################################################
David Nguyen \\\\\\|||/// ----------
Internet: david_nguyen@notes.pw.com . ======= / Uh... \\
Price Waterhouse / \\| O O | / Just restore \\
3110 Fairview Park Dr \\ / \\v_'/ <- from tape. /
Suite 300 # _| |_ \\ /
Falls Church, VA 22042 (#) ( ) ----------
(703) 641-5597 #\\//|* *|\\\\
#\\/( * )/
# =====
Not responsible for my stupid # (\\ /)
mistakes. Blah, Blah, Blah. # || ||
.#---'| |----.
#----' -----'
#####################################################################