Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Verifying CPIO backup 1

Status
Not open for further replies.

sharper

MIS
Sep 4, 2001
109
IE
Hi,

I use cpio to backup my SCO Openserver 5.07 server. After the backup is complete it runs a verify command:

cpio -ictv -I/dev/rStp0

Now the previous sysadmin would write the number of blocks that this verify command would display into a book. I would like to automate the collection of this.

Is there a way to collect the "blocks" that is displayed on the console to a file? If I just redirect the output of the above command I, of course, just get a file with a listing of all the files without the total blocks count.

Any help would be greatly appreciated.

regards,

S.
 
What about this ?
cpio -ictv -I/dev/rStp0 2>/path/to/tempfile

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top