Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Tar and weak compression, tar -cvjf
zolteckx6
post May 25 2014, 09:03 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 25-May 14
Member No.: 18,726



I have been using tar for quite a while but not for any Dir backups. Now I am trying to back up a Dir full of instrustional videos with tar -cvjf and the tarball I get back is the same size as the Dir without compression. Even if I omit the -j compression type the archive is the same size....Is this normal behavior for a dir full of mp4 files? Also (and I know tar may not be the best for backups ) but I was warned about using bz2 compression because "if the archive gets currupt anywhere in the archive I will not be able to open the archive from the point of corruption; However with regular tar compression I could save most of the archive except the block that is currupt "...Is this correct?

Thankyou for any input smile.gif

I did find this:
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

so that answers the bz2 question but the man seemed pretty concerned about using this function on a tape drive...
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post May 26 2014, 03:57 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Welcome to LinuxHelp.

Yes it is normal. Binary files really can not be compressed much if at all. In fact it is possible that the compressed binary file could be bigger then the original.
With writing binary data to tape you could dump the entire file to hard drive and then run the recover program but since you are- not going to save any space anyway I would not bother using compression.

For error recovery check out this URL.
/www.bzip.org/1.0.3/html/recovering.html
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 11:12 PM