working difference between tar, cpio, and pax ?

What is the working difference between the tar,cpio and pax ? Under which circumstances we should use one over other ?
Can someone please explain me the working difference ?
beer9Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

omarfaridCommented:
all are backup tools / commands that are used to backup files and directories. the difference is mostly in the way the backup is created.

Brian UtterbackPrinciple Software EngineerCommented:
They have slightly different attributes and capabilities. The tar format is probably the most widely used. However, the portable tar format used (USTAR) has some limitations that has resulted in various extensions being made to the format, which are not always compatible across platforms. The cpio program is less used, but generally handles special files better than tar does. It can also handle larger UID numbers than tar can in a standard manner, and is more portable than tar, except that cpio may not be available at all. The pax is the most capable of all, but also the least used. It can also read and write its own native standard format as well as tar and cpio. Pax also can do some interesting conversions on the fly, like renaming the files being extracted.  

In general, you should probably stick to tar unless you have some specific issues with it. Not because it is particularly better, but because the expertise is more common.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TintinCommented:
If you are wanting to do system backups on a Solaris server, then ufsdump is probably your best option.
beer9Author Commented:
Got this article, basic concept got cleared. :)

http://docs.sun.com/app/docs/doc/817-5093/6mkisoqms?l=Ja&a=view
beer9Author Commented:
Excellent!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.