First, the programs "pax" "tar" and "cpio" are all the same executable
on tomsrtbt, and the "pax" syntax can produce either "tar" or "cpio"
archive formats.

Tomsrtbt includes the "manual" page for cpio.

You can type:

        man cpio

To read about it.

Cpio has a better archive format than tar in my opinion, but its options
are somewhat cryptic.

Common would be something along the lines of:

find -xdev -depth / /boot /export | cpio -o | gzip > file.gz

gzip -d < file.gz | cpio -iuvmd


-Tom

On Thu, 16 Jan 2003, Angelini Giuseppe wrote:

> Date: Thu, 16 Jan 2003 16:05:16 +0100
> From: Angelini Giuseppe <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [tomsrtbt] ssystem recovery strategy
>
>
> Hello,
>
>
> I would like to setup a system recovery strategy on our linux system
> (RedHat 7.2).
> I am really familar with dump/restore but apparently it is not
> recommended with linux.
> My idea was to put a dedicated local IDE disk and run a script invoking
> CPIO to save the system
> (/ /boot /export) every week on this disk.
> The problem is that I do'nt know CPIO enough.
> Can somebody advice me or send me an example of CPIO for doing both
> backup and restore.
>
> Any other suggestion will be welcome.
>
>
> Best Regards.
>
> Giuseppe Angelini
>

Reply via email to