Backing Up and Restoring Using the cpio Command in Linux and Unix

May 26th, 2006 david23 Posted in Books, Fedora Core, How-Tos, Libranet, Linspire, Lycoris, Mandrake, Simply Mepis, SuSE, Ubuntu, Xandros, Yoper No Comments »

The cpio command is one of the most commonly used Linux back up tools.

The cpio command has two unusual features

Unlike tar , in which the files to back up are typed in as part of the command, cpio reads the files to work with from the standard input (in other words, the screen).

This feature means that cpio must be used as part of a multiple command or with a redirection pipe. Examples of this usage are shown in the tables below.

cpio must always be used with one of three flags. Flags are options that set the mode in which the command runs. Only one flag can be used at a time, and it must come before any other options. In addition, the choice of flags limits the options that can be used. Each flag also has a gnu option that can used in its place. The gnu option gives a convenient name for each flag: extract, create, and pass- through.

Read Full article here

AddThis Social Bookmark Button

Taking backup using tar command in linux and unix

April 18th, 2006 david23 Posted in Fedora Core, How-Tos, Libranet, Linspire, Lycoris, Mandrake, Simply Mepis, SuSE, Ubuntu, Xandros, Yoper No Comments »

The tar backup program is an archiving program designed to store and extract files from an archive file known as a tarfile. A tarfile may be made on a tape drive; however, it is also common to write a tarfile to a normal file.

Read Full article here

AddThis Social Bookmark Button