Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Differences between cpio and tar
Name: unix newbie Date: August 15, 2002 at 21:20:43 Pacific
Comment:
Hi everyone, I'm a newbie to Unix and hope to know the differences between the backup command cpio and tar. Will i be able to backup all files using either commands? I need to do a root backup and do not know whether to use cpio or tar. Please advise. Thank you all.
Name: Frank Date: August 16, 2002 at 01:20:52 Pacific
Reply:
Here the differences I know:
CPIO was desined for speard data's. TAR is better used for sub directorys. CPIO is more efficent to put files on tape than TAR (I know it sounds unusally but it is true) CPIO is able to skip bad bolcks on a tape, TAR used stop. CPIO is able to handel more than on tape, some TAR implementations not.
No RISK no fun Frank
0
Response Number 2
Name: David Perry Date: August 16, 2002 at 04:34:35 Pacific
Reply:
Also bear in mind that tar will not give you a complete system backup unless you are in single user mode. You might consider dump or ufsdump which will right out a file system to a dump file or tape.
0
Response Number 3
Name: PaulS Date: August 16, 2002 at 17:27:30 Pacific
Reply:
If you interested in backing up an entire file system, I'd go for ufsdump as David suggested. Otherwise cpio would be my choice.
Summary: I don't know if this is the wright forum for this abstract question, but I hope someone can help me. Where can I find the (technical / implementation) differences between the Ext2 filesystem and the U...
Summary: Hi gurus, did anyone know the difference between using [ and [[ in if and while loops. I have seen some scripts using [ and others using [[. How these 2 are different while executing?. When should w...