tar package 1.16
Has anybody had problems with using the latest tar (1.16) package in 10.2.
At the weekend whilst verifying a backup using tar -dvvf backup.tar.gz . the comparison failed consistently in comparing a large db2 backup file. I repeated the backup several times with the same result the error was skipping to next header. Reverted back to tar 1.15 repeated the backup and compared successfully. Reinstalled tar 1.16 and the comparision failed again on the same file. Alex |
It might be a problem with the new tar, if the older version works ok, so...why did you update? "Don't fix a working thing" is a good thing to keep in mind. If the new tar doesn't provide you with something you really need (i.e. are ready to die for), don't update if your older version works. Especially if it's about backup. Use software you can trust, not software that shines.
Another opinion, though only personal, is that don't use tar for big backups, with long filenames or if you can, at all. It's nice, fancy, good etc. but compared to some others (like cpio) it's not error-free. I'd rather use cpio or something else if you've got big backups to do. |
The new tar was a security release so it's a good idea to install it. Unless it doesn't work of course.
|
I've downloaded 1.16.1, 1.15.91 and 1.15.90 from -
http://www.gnu.org/software/tar/ All exhibit this problem - First check version - Code:
279 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar --version Code:
280 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar -cvpz -f /tmp/db2bkup.tar.gz . Code:
./ Code:
281 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar -dvpz -f /tmp/db2bkup.tar.gz . Code:
./ Version 1.15.1 and previous versions don't exhibit this problem. check version Code:
283 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar --version Code:
285 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar -cvpz -f /tmp/db2bkup.tar.gz . Code:
./ Code:
286 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar -dvpz -f /tmp/db2bkup.tar.gz . Code:
./ Alex |
Have found that even though
Code:
/home/alex/Downloads/tar/usr/local/bin/tar -dvpz -f /tmp/db2bkup.tar.gz . Code:
/home/alex/Downloads/tar/usr/local/bin/tar -xvpz -f /tmp/db2bkup.tar.gz |
There is now a patch on bug-tar.
|
All times are GMT -5. The time now is 08:52 PM. |